Questions tagged [convergence]
303 questions
1
vote
1 answer
Convcode in optimx / Synth in R
I've been using the Synth package (which uses optimx for the optimization) and I can't find the answer to whether Synth gives a non-convergence error when it doesn't converge. I can see in the help file for optimx that, by default, it does not save…

Ainhoa
- 191
- 7
1
vote
0 answers
Convergence error for development version of lme4 - after R3.1.0
I am having the same problem as previous post from dmartin but the solution presented has not being working to my dataset.
trying to fit:
model<-glmer(nb~habitat*stigmatype+(1|sitecode/stigmaspecies),
family=Gamma(link=log))
Warning…

Carine
- 31
- 1
- 1
- 6
1
vote
1 answer
Recording non-convergence in SAS NLIN
I have a question about SAS-proc nlin.
I'm performing the procedure for 10000 simulations. Lots of them do not converge and give me wrong results.
I would like to add a binary variable to my output table that says that this itteration did not…

PerrySun
- 187
- 1
- 1
- 8
1
vote
1 answer
cannot test the convergence of neural network
I'm using Weka multilayer-perceptron classifier to do classifications. I want to know after exactly how many epochs the neural network converges (weights don't update any more).
I'm using its Java API, but I cannot figure out a way to get the weight…

J Freebird
- 3,664
- 7
- 46
- 81
1
vote
1 answer
Lessen degree of perspective in 3D grid (reduce convergence)
Please see the following image:
Which mathematical method or POV-Ray/OpenGL command will lessen the convergence of a grid like this? (The grid converges too quickly; theta should be 90 degrees, matching the center line, for this…

user2689489
- 21
- 2
1
vote
2 answers
Change perspective in POV-Ray? (less convergence)
Can you change the perspective in POV-Ray, so that convergence between parallel lines does not look so steep?
E.g. change this angle (the convergence of the checkered floor into the distance) here
To an angle like this
I want it to seem like you're…

user2689489
- 21
- 2
1
vote
0 answers
Finding a number iteratively - algorithm design
I'm trying to design an algorithm that will find a price for me given a set of rules.
Current Situation
We currently set the 'price' of all products to £0.01 and set a 'line_crossed' property to false. We calculate the margin at £0.01 and, while it…

Kali_89
- 617
- 2
- 7
- 21
1
vote
2 answers
Determine whether a recursive function converges
Consider the following recursive factorial function:
fact(n) =
if (n = 0) return 1
return n * fact(n - 1)
The above function converges for all positive integers including zero. However it doesn't converge for negative integers.
Next,…

Aadit M Shah
- 72,912
- 30
- 168
- 299
1
vote
0 answers
Is there a better mechanism for testing convergence?
I am calculating a value using Newton method, and I use a for loop to test if it is converged or not. But I feel like using a fix value inside the for loop is not a best way to do so. Any suggestion?
double startingRate = 0.1;
double…

user1701840
- 1,062
- 3
- 19
- 27
0
votes
0 answers
Understanding convergence proof (Momentum algorithm)
I am trying to understand the convergence analysis/derivation of the momentum algorithm, or the stochastic heavy ball algorithm, using the regret bound analysis from different research papers.
https://ieeexplore.ieee.org/document/7330562 -…

Ayushya Pare
- 11
- 3
0
votes
0 answers
Mixed linear model failed to converge in R
I have conducted a Mixed linear model in R and in the past, everything went well. But now, there is a weird warning message and I don't know how to fix it. Maybe you have got an idea what I should do next, thanks in advance!
Here is the warning…

seboe
- 13
- 3
0
votes
0 answers
Issue about mpi4py with MCMC autoemcee library
I am using a MCMC code (Monte-Carlo Markov-Chain) to test a model and see if it is validated.
I launch this MCMC with MPI for Python using 64 processors.
This MCMC is called automecee : https://johannesbuchner.github.io/autoemcee/index.html
Once…

guizmo133
- 11
- 3
0
votes
0 answers
Running club convegence approach with unbalanced panel data in stata
Hello Community Members,
I have data for Indian manufacturing industries from year 2000 to 2020. This data has been categorized as per manufacturing activities and across states.
Problem: Suppose I am checking for the club convergence for Iron and…
0
votes
0 answers
Why future prediction LSTM model converges so fast? Is there a solution?
I am new to LSTM model.
I used LSTM model to predict time-serial error of sales.
This is the plots of trained, validated and both.
enter image description here
I thought that the model predicted short-term fluctuation.
But when I predict future…

ILS
- 1
- 1
0
votes
0 answers
Why does the Python function not return the expected representation of the Pandas column?
I calculate the root search function in the dichotomy() equation using the dichotomy method and then output the values using the print_dichotomy() decorator. I believe that in the end I will see the columns root - the value of the function at the…

Alex_Kazantsev
- 167
- 9