Questions tagged [convergence]

303 questions
1
vote
1 answer

nls convergence message in R

I am looking for a definition of the convergence messages from nls in R. In particular, what is the difference between relative convergence (4) and both X-convergence and relative convergence (5).
tony
  • 83
  • 1
  • 1
  • 7
1
vote
0 answers

Algorithm to converge two interrelated functions

I'm having trouble with a javascript app I am currently working on. It's a boat design thing used to calculate hydrostatics data of yacht hulls. The trouble I'm having is that I have two functions that are interrelated and both need to arrive at a…
jfoucher
  • 2,251
  • 2
  • 21
  • 29
1
vote
2 answers

SCIKIT FastICA Maximum Number of Iterations

I'm getting the following error: "FastICA did not converge. Consider increasing tolerance or the maximum number of iterations". So, considering the documentation here:…
swabygw
  • 813
  • 1
  • 10
  • 22
1
vote
1 answer

Does logistic regression always find global optimum, assuming that the optimisation converges?

I am uncertain if this is the case both in general: does logistic regression always find global optimum? and in particular does logistic regression always find global optimum when that the optimisation converges?
1
vote
0 answers

R: change tolerance limits in GenSA

I am trying to solve an optimization problem and using the package GenSA. I was looking for the tolerance limit defining parameters in this function but seems like that cannot be defined. I want the optimization to stop if the value of the objective…
1
vote
0 answers

Nesterov's bound between quadratic and strongly convex cases?

Are there some examples of simple & strongly convex functions for which the convergence bound of Nesterov’s Accelerated Gradient Method is better than Nesterov’s bound for strongly convex case (sqrt(1 - 1 / sqrt(k))) and worse than Nesterov’s…
1
vote
0 answers

why does optimx converge to non-optimal points

I am using optimx with BFGS method and differ initial points. I have objerved that it converges on points that they are not optima. Does anybody can explain to me how that problem is faced up? Thanks in advance for your time.
1
vote
0 answers

R Package 'ghyp' - fit.ghypuv not converging

I am using the function fit.ghypuv of pacage ghyp and it does not converge. It gives me the error code 1( as below) does anyone know what does this error mean and what could cause it? [error code] Thank you!
D.G
  • 11
  • 4
1
vote
1 answer

What determines whether my Python gradient descent algorithm converges?

I've implemented a single-variable linear regression model in Python that uses gradient descent to find the intercept and slope of the best-fit line (I'm using gradient descent rather than computing the optimal values for intercept and slope…
1
vote
1 answer

Convergence issues LME4 version 1.1-11

I was working with a student, running some models with GLMER and we found that, using the same code, the models would converge for me and not for him. i.e. he would get an error message like the following: Warning message: In checkConv(attr(opt,…
Carolyn
  • 11
  • 2
1
vote
1 answer

Gradient descent converging towards the wrong value

I'm trying to implement a gradient descent algorithm in C++. Here's the code I have so far : #include double X[] {163,169,158,158,161,172,156,161,154,145}; double Y[] {52, 68, 49, 73, 71, 99, 50, 82, 56, 46 }; double m, p; int n =…
pie3636
  • 795
  • 17
  • 31
1
vote
1 answer

How to avoid users accessing the Chef cookbooks in node cache directory

We have got a situation in which, we need to avoid users accessing Chef cookbooks in node cache directory. what is the best way to handle this? Can we delete the cookbook from cache path, at the end of cookbook execution? Is it possible to…
Saravanan G
  • 581
  • 1
  • 9
  • 26
1
vote
1 answer

Newton's method is divergent for some polynomials

I've tried to implement Newton's method for polynomials. Like: double xn=x0; double gxn=g(w, n, xn); int i=0; while(abs(gxn)>e && i<100){ xn=xn-(gxn/dg(w, n, xn)); gxn=g(w, n, xn); i++; } where g(w, n, xn) computes the value of the…
adolzi
  • 671
  • 2
  • 7
  • 15
1
vote
0 answers

I changed my reference group for a predictor and now my model won't run

I have a bit of a strange question. I ran the following model, which includes as one of the predictors 'Valence.c'. This is predictor coded as '0' or '1', representing 'positive' and 'negative'. The predictor was centered so is actually '-0.5'and…
1
vote
2 answers

Maven find dependency having a transitive dependency in a specific version in a remote repository

Edit: "Reverse Dependency analysis" would have been the keyword for what i searched - unfortunately I was not able to proper describe my question (maybe it has something to do with this not beeing a standard thing - i acctually dont even have a real…
JBA
  • 2,769
  • 5
  • 24
  • 40