Questions tagged [convergence]

303 questions
0
votes
1 answer

Optimizing CTR (click through rate) with VowpalWabbit: How to choose suitable parameters?

I am trying to optimize the click rate of some article or advertisement (action) given a device type (context) with VowpalWabbit (following this article vw tutorial). However, I am not able to make it converge to the optimal actions reliably. I…
0
votes
1 answer

How can I check for convergence in Sobol' sensitivity indices, using sensobol?

I would like to check the convergence of Sobol' sensitivity indices, using the sensobol library, by re-computing the sensitivity indices using sub-samples of decreasing size extracted from the original sample. Here, I present an example code using…
0
votes
1 answer

Is there a way to display the last part of my code ? The output of the last code lines doesn't appear

I am trying to execute a code using the gfortran compiler. In order to compile, I use : gfortran -O3 hecese_seq.f90 In order to execute, I use : ./a.out The code is below: compteur_tempo=0 do while (.not.fin) …
hakimo2
  • 143
  • 12
0
votes
1 answer

nlminb in R returns a value of -Inf for the objective function

Note Unfortunately I'm not in a position to provide a reproducible example since I have a rather large code segment. I don't think it's a good idea to paste 300+ lines of code so I have provided a skeleton and some pseudo-code to try and explain the…
NM_
  • 1,887
  • 3
  • 12
  • 27
0
votes
1 answer

How to check for convergence in JAGS

I've estimated a huge and complex time-varying hierarchical model in JAGS for time series of hundreds of individuals. I estimate time-varying parameters for individuals leading to 80 parameters per person. The parameters are random effects that…
0
votes
1 answer

How do I make my python code for summing much faster?

The code below is for a sum of the defined function from the lower limit 2 and I vary the upper limit of the sum because I want to find out where the sum converges. I found that the bigger the upper limit the slower the code runs. How do I make this…
Thando
  • 23
  • 4
0
votes
1 answer

Use variable X to find maximum value of Y

Let's say I have inputs 'A' and 'B' for my function, which outputs 'C'. For each value of A, I would like to find what value of B results in the maximum value of C; I would then like to record values B and C. Is there a function that can perform…
Deemo
  • 131
  • 1
  • 1
  • 10
0
votes
1 answer

How to capture specific warning without raising error in python

I am running different sets of data to identify best modeling algorithm for each dataset. I loop through each datasets to check various algorithms and select the best models based on test score. I know that some of my datasets not going to converge…
Shahin Shirazi
  • 371
  • 3
  • 14
0
votes
1 answer

Can't create a class from module in React

my purpose to create a collaborative editor with Monaco editor and Convergence. I'm following these repo and…
dungreact
  • 442
  • 1
  • 9
  • 22
0
votes
2 answers

Training Loss Improving but Validation Converges Early

I am creating a CNN using TensorFlow and when training, I find that the training dataset is still improving (i.e. loss still decreasing), while the test/validation dataset has converged and is no longer improving. (Learning Curve Plot attached…
0
votes
1 answer

python root finding in integers

Is there tools for optimization in python, where I can choose target value for function and get best parameters, that will be integers? Example, my function is: f(x) = 4*A + B So If choose 5 as a target value it will return me A=1 and B=1
0
votes
2 answers

How to resolve dependency convergence error in jasperreports with commons-logging library?

Environment: JBoss7.2 Java 11 Maven dependency: ... net.sf.jasperreports jasperreports ${jasperReport.version}
Joe
  • 7,749
  • 19
  • 60
  • 110
0
votes
1 answer

If/break test for convergence triggering too early in python

I'm trying to use an if statement to check when the approximated values converge, but it keeps returning that it converges after 2 iterations, which it shouldn't since removing the if-break statement and setting it to 1000 iterations gets very…
Scott
  • 1
  • 1
0
votes
0 answers

Model failed to converge (lme4)

I would like to achieve the following task. Using a linear mixed model, I would like to check whether "Month" (see dat table) has a significant effect on the "Response" variable. As for some of the tanks, data comes from different months, I included…
ABiologist
  • 43
  • 6
0
votes
1 answer

convergence code 1 (glmer model, lme4 package)

I'm running a glmer model with a three-way interaction, which causes me to receive the following warning: Warning: In optwrap(optimizer, devfun, start, rho$lower, control = control, : convergence code 1 from nlminbwrap The warning is not there…
Elinguist
  • 65
  • 6