Questions tagged [convergence]
303 questions
0
votes
2 answers
Understanding code wrt Logistic Regression using gradient descent
I was following Siraj Raval's videos on logistic regression using gradient descent :
1) Link to longer video :
https://www.youtube.com/watch?v=XdM6ER7zTLk&t=2686s
2) Link to shorter video :…

chi
- 35
- 8
0
votes
1 answer
CNN model on image classification is not convergent, which is based on Tensorflow
I try to train a CNN model, 2 classes, which is based on tensorflow to do the image classification.
I have tried much modification about epochs, learning rate, batch size and the CNN size, but nothing works.
about data
86(label: 0) + 63(label: 1)…

Tozz
- 256
- 1
- 5
- 19
0
votes
1 answer
problems with model convergence: Error in ans.ret[meth, ] <- c(ans$par, ans$value, ans$fevals, ans$gevals,
I'm using lme4 to build a collaborative filter and running into convergence issues. Trying to solve via the following resources and getting a new error:
Error in ans.ret[meth, ] <- c(ans$par, ans$value, ans$fevals, ans$gevals, :
number of…

alexwhitworth
- 4,839
- 5
- 32
- 59
0
votes
1 answer
Can I use sympy to solve for convergence?
Hello I am writing a program that determines if a series is convergent or not, and discovered sympy. I have written almost all of the tests, just have a few hard ones to write, but I now wonder if their is a built in sympy method to solve it. I have…

Thomas Brian Tierney III
- 303
- 1
- 2
- 10
0
votes
0 answers
TensorFlow convergence is stuck to a high value
I was playing around with TensorFlow and I was looking at the tutorial from:
https://github.com/aymericdamien/TensorFlow-Examples/tree/0.11/examples/3_NeuralNetworks
Because I did not want to do the MNINST database, I changed the script with some…

Joesmaker
- 111
- 1
- 8
0
votes
1 answer
Convergence in Logistic Regression in distributed tensorflow
I'm trying to develop logistic regression in distributed tensorflow and I want to integrate a convergence check in my algorithm apart from the upper bound of iterations. The convergence criteria I am about to use is
||prevW - currW|| < E
where prevW…

nikosprov
- 1
- 2
0
votes
1 answer
Calculating the rate of convergence of the code using newton method
My task is to write a program which calculates the rate of convergence of a method. I had to use the newton method to make an approximation of the root. This part of the code is ok and works well, but I will inculde it.
x0 : start value
F:…

Yalom
- 113
- 1
- 8
0
votes
1 answer
How to allow the genetic algorithm to run to convergence (Matlab)
I am running genetic algorithm using global optimization toolbox in Matlab. I want to allow the algorithm to run until the difference between the best value is <=10^{-15}. I tried to use ftol and ctol for this purpose but the algorithm terminates at…

Lucky
- 347
- 6
- 15
0
votes
1 answer
Test Kitchen: Chef don't restart after reboot
I have a problem during testing my chef cookbooks using Kitchen.
I use Vagrant as a driver and Virtual Box as virtualization system. They running on Linux platform.
I have create a test recipe to reboot my machine.
This is the code:
#
# Author::…

AleZucchelli
- 55
- 1
- 12
0
votes
2 answers
Geometric proof of Convergence of Perceptron Algorithm
I have a question considering Geoffrey Hinton's proof of convergence of the perceptron algorithm: Lecture Slides.
On slide 23 it says:
Every time the perceptron makes a mistake, the squared distance to all of these generously feasible weight…

R. Downey
- 1
- 1
0
votes
0 answers
logistic regression gradient descent not converging
I am trying to implement logistic regression using gradient descent to find the weights of a multivariate function given some data. So far I have come up with the following and the gradientDescent() function works using the meanSquareError() input…

dinamix
- 651
- 8
- 22
0
votes
0 answers
dlib network doesn't converge
I'm working on character recognition using dlib on linux. When I train my network on 1000 characters the network converges until it reaches 100% of accuracy but when I try training it with 10,000 or 100,000 characters it is not converging anymore to…

landa
- 1
- 2
0
votes
1 answer
GLMNet convergence issue for penalized regression
I am working on network models for political networks. One of the things I am doing is penalized inference. I am using an adaptive lasso approach by setting a penalty factor for glmnet. I have various parameters in my model: alphas and phis. The…

Frank
- 1
- 8
0
votes
0 answers
Improve computation time of numerous binomial processes in hierachical model (openbugs/winbugs)
I am currently developing a hierarchical bayesian model in Openbugs that involves a lot (about 6000 sites) of binomial processes. It describes successive removal electric fishing events/pass and the general structure is as follow:
N_tot[i]<-d[i] *…

Guillaume Dauphin
- 11
- 3
0
votes
1 answer
Kalman Filter of a straight line doesn't converge
I'm trying to write an algorithm that estimates and tracks a straigh line:
y[k]=b1*x[k]+b2[k].
In the real physical system I work with, I can only measure y[k], and to control it the input is x[k] (I enter x[k] and expect to get a specific…

Shaked
- 1
- 2