Questions tagged [convergence]

303 questions
26
votes
1 answer

Convergence error for development version of lme4

I am attempting to do a power analysis for a mixed-effects model using the development version of lme4 and this tutorial. I notice in the tutorial that lme4 throws a convergence error: ## Warning: Model failed to converge with max|grad| = 0.00187101…
dmartin
  • 643
  • 1
  • 6
  • 14
16
votes
1 answer

How to monitor convergence of Gensim LDA model?

I can't seem to find it or probably my knowledge on statistics and its terms are the problem here but I want to achieve something similar to the graph found on the bottom page of the LDA lib from PyPI and observe the uniformity/convergence of the…
ZeferiniX
  • 500
  • 5
  • 18
13
votes
4 answers

neuralnet: overcoming the non convergence of algorithm

I want to train a neural network using the package "neuralnet" in R. The training data set is a data frame of 8 predictor variables (x1,x2,x3,...,x8) and 1 response variable (y). The data is given below: data x1 x2 x3 x4 x5 x6 …
Tunde Awosanya
  • 335
  • 2
  • 6
  • 16
12
votes
1 answer

Logoot CRDT: interleaving of data on concurrent edits to the same spot?

I want to implement Logoot for eventually-convergent P2P text editing and I've run into a bit of a problem. My understanding of Logoot is that the intervals between objects (lines of text in the original paper, but could be characters or words) can…
Archagon
  • 2,470
  • 2
  • 25
  • 38
9
votes
1 answer

Solving error message "step halving factor reduced below minimum in NLS step": adjusting nlsTols not working

I am trying to fit a logistic growth curve to some data using the gnls function. Data: structure(list(Nest = structure(c(1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L, 11L, 12L, 13L, 14L, 15L, 16L, 17L, 18L, 19L, 20L, 21L, 22L, 16L, 10L, 4L, 5L, 7L, 12L,…
Andrew
  • 516
  • 1
  • 6
  • 17
7
votes
2 answers

How to check the convergence when fitting a distribution in SciPy

Is there a way to check the convergence when fitting a distribution in SciPy? My goal is to fit a SciPy distribution (namely Johnson S_U distr.) to dozens of datasets as a part of an automated data-monitoring system. Mostly it works fine, but a few…
Vojta F
  • 534
  • 3
  • 17
7
votes
0 answers

ConvergenceWarning when trying to use ExponentialSmoothing to forecast

I use ExponentialSmoothing from statsmodels (Version: 0.10.1) to fit and perform forecast on some data. For ease of use when setting the configurations, I write a function exp_smoothing_forecast that takes in an np array of data, a list of…
Huy Tran
  • 1,770
  • 3
  • 21
  • 41
6
votes
1 answer

GSDMM Convergence of Clusters (Short Text Clustering)

I am using this GSDMM python implementation to cluster a dataset of text messages. GSDMM converges fast (around 5 iterations) according the inital paper. I also have a convergence to a certain number of clusters, but there are still a lot of…
simon
  • 83
  • 8
6
votes
0 answers

lme4 - maximum number of function evaluations exceeded

I run a simple GLMM with lme4 ... model1 <- glmer.nb(S ~ Days*Grazing*Biome + (Days|Site), data=mydata, verbose=T, control=ctrl) ...and run into the convergence code 1 from bobyqa: "bobyqa -- maximum number of function evaluations exceeded". So I…
Jens
  • 2,363
  • 3
  • 28
  • 44
6
votes
2 answers

Convergence criterion for (batch) SOM (Self-Organizing Map, aka "Kohonen Map")?

I like to stop the execution when Batch SOM becomes converged. What error function can I use to determine the convergence?
S.N
  • 379
  • 1
  • 5
  • 17
6
votes
2 answers

Why doesn't k-means give the global minima?

I read that the k-means algorithm only converges to a local minima and not to a global minima. Why is this? I can logically think of how initialization could affect the final clustering and there is a possibility of sub-optimum clustering, but I did…
5
votes
2 answers

Drop out in regression task for neural network

I have a neural network for regression prediction means that the output is a real value number in range 0 to 1. I used drop out for all layers and the errors suddenly increased and never converged. Is drop out usable for regression task? Because if…
Paniz
  • 594
  • 6
  • 19
5
votes
2 answers

R rugarch solver fails to converge

I would like to estimate the EGARCH model on two different time-series using the excellent rugarch package, but the solver fails to converge. I do not want to use the "hybrid" solver option because this introduces randomness when it cycles through…
user1491868
  • 596
  • 4
  • 15
  • 42
5
votes
0 answers

LBFGS taking forever to converge

I'm using the HCRF Library for a sequence prediction task . For learning the model parameters, I'm using LBFGS, although there are options to use CG and BFGS. I notice that it takes an awfully long time to converge. I've set the maximum number of…
meraxes
  • 541
  • 10
  • 23
5
votes
1 answer

Geotools distance calculation fails with no convergence exception for several lat lon points

I have a number of points which make getOrthodromicDistance method to fail with exception in geotools lib, while these points are valid lat lon points: Point which throws the exception (lat,lon): val p1= (5.318765,-75.786109) val p2=…
skonto
  • 91
  • 1
  • 7
1
2 3
20 21