Questions tagged [convergence]

303 questions
0
votes
1 answer

SGD convergence test using learning rates

Can anyone give an explanation for the convergence test presented int the 8th minute of this lecture by Hugo Larochelle ?
0
votes
1 answer

How to figure out when k means converges for tf idf?

I am fairly new with working with text data. I have a data frame of about 300,000 unique product names and I am trying to use k means to cluster similar names together. I used sklearn's tfidfvectorizer to vectorize the names and convert to a tf-idf…
collarblind
  • 4,549
  • 13
  • 31
  • 49
0
votes
1 answer

NO convergence in bidirectional-lstm of Tensorflow

I am training a bi-directional LSTM network, but when I train it, I got this as below: " Iter 3456, Minibatch Loss= 10.305597, Training Accuracy= 0.25000 Iter 3840, Minibatch Loss= 22.018646, Training Accuracy= 0.00000 Iter 4224, Minibatch Loss=…
Xuchen Liu
  • 141
  • 1
  • 1
  • 3
0
votes
0 answers

Minimize function in SciPy optimization difficulty in convergence

I'm trying to minimize multivariate function with SciPy optimization minimize function. The code I'm using to call the function: res = minimize(self.score_gradient, self.initialized_theta, (x,y),'newton-cg', jac = True, tol = 1e-6, options =…
0
votes
1 answer

Evaluate integral with convergence problems.

I want to evaluate an integral but python is complaining that the integrand becomes large at some point during the integration. The goal is to find the value of a variable called Sigma. Sigma is the outcome of the integral, but Sigma also appears…
Marnix
  • 719
  • 1
  • 6
  • 14
0
votes
0 answers

Triple integral converges to wrong number (TI-84)

I made a program for finding a triple integral of an f(x,y,z) function over a general region, but it's not working for some reason. Here's an excerpt of the program, for when the order of integration is dz dy…
user3932000
  • 671
  • 8
  • 24
0
votes
2 answers

How to test the convergence in bugs model?

I want to explain the convergence in a bugs model with the command plot(). An example of the output is in the follow figure I don't sure that I can read this output well, thanks to everyone :)
angeella
  • 126
  • 7
0
votes
1 answer

Creating basins of attraction from data file

How can Newton's basin of attraction be created from a data file? I got 10000 points in the range -2, 2 and their zeros for complex function z^3-1. I'd like to plot them with three different colors to create basin of convergence. Data I've…
xxxxx
  • 159
  • 9
0
votes
0 answers

Conditions of convergence of convex optimization

The problem description is here:
0
votes
1 answer

warning messages in lme4 for survival analysis that did not arise 3 years ago

I am trying to fit a generalized linear mixed-effects model to my data, using the lme4 package. The data can be described as follows (see example below): Survival data of fish over 28 days. Explanatory variables in the example data set are: …
Daniel Svozil
  • 85
  • 1
  • 1
  • 9
0
votes
1 answer

Labeling convergence plots in R

I am creating convergence plots for an RDS dataset in R and would like to label these plots. Right now, my x-axis is "# of observations" and my y-axis is the RDS estimates, and the plot itself is labeled "Convergence plot for clientcondom=1". Is…
sumatraed
  • 1
  • 1
0
votes
1 answer

Break if Newton's method is not convergent

I'm trying to implement Newton's method for polynomials to find zero of function. But I must predict case when function hasn't a root. I'm wondering how can I detect moment when the method becomes divergent and then stop procedure? Thank you in…
adolzi
  • 671
  • 2
  • 7
  • 15
0
votes
2 answers

Stopping the iteration of all the elements of a vector at convergence in matlab?

I want to iterate all of the elements in my matrix and want them to stop when the value converges of all the elements. I wrote the code (below) but its giving me wrong values and i dont think if values are actually going in the loop. probability =…
0
votes
2 answers

Iteration for convergence in Matlab without using a while loop

I have to iterate a process where I have an initial guess for the Mach number (M0). This initial guess will give me another guess for the Mach number by using two equations (Mn). Eventually, i want to iterate this process untill the error between M0…
Balraj Boyal
  • 155
  • 1
  • 2
  • 13
0
votes
1 answer

How to update node run_list using knife, during convergence

We have given scenario below, Our node has run_list with "role a" and "role b". Node gets converged and runs the run_list. During the node convergence run in step 1, we are trying to add another "role c" to the node run_list, using knife command.…
Saravanan G
  • 581
  • 1
  • 9
  • 26