Questions tagged [convergence]

303 questions
0
votes
0 answers

lmer Model failing to converge with random effects structure

I am trying to use intercept and slope effects in my random effects structure (best model fit) and I get the following errors when I do. MLM <- lmer((sqrt(degrees))~ Condition*CogLoad + (Video|Subject), data=dataset) Warning messages: 1: In…
0
votes
1 answer

R rugarch: $ operator invalid for atomic vectors?

I am trying to make a huge nested for loop (optimizations be left for later) to fit all of the GARCH models available from rugarch. This is my MWE that reproduces the error: library(rugarch) ## Small parameter space to search over AR_terms =…
Coolio2654
  • 1,589
  • 3
  • 21
  • 46
0
votes
1 answer

How to find the index of the value where vector elements converge?

Say I have a vector: A = [1.444, 1.425, 1.435, 1.438, 1.438, 1.436, 1.436, 1.436, 1.436, 1.436]; As can be seen, this vector A stabilises or converges at 1.436. How can I find the index of this value for example 1.436 in MATLAB? Edit: More…
Lamar
  • 63
  • 2
  • 9
0
votes
0 answers

DDPG - Actor Critic Network does not converge with continous Actionspace

I'm currently a bit confused. I implemented an Actor-Critic Network and depending on the setup ist either begins to converge a little but produces values far from right. Or it produces the nearly the same loss values over and over again but right…
0
votes
1 answer

Error in nonlinear least squeares in R - Logistic and Gompertz curves

I'm working on a model for variable y, in which I intend to use time as an explanatory variable. I've chosen a Gompertz and a logistic curve as candidates, but when I try to estimate the coefficients (using both nls and nls2), I end up getting…
Javier
  • 332
  • 1
  • 4
  • 14
0
votes
1 answer

Does ssdlite_mobilenet_v2_coco model learn anything at all?

I trained my dataset with "ssdlite_mobilenet_v2_coco" until 40k steps and its loss function still turn around 4. My dataset includes 500 images with 100 test images and each images has 750 * 300 resolution. what can I do with this high degree of…
Farshad
  • 41
  • 1
  • 1
  • 9
0
votes
1 answer

Logistic regression model does not converge using glmer() function

I tried to create mixed-effect logistic regression model using glmer() function, however the model does not converge. Firstly, I changed categorical variables to from vectors to factors. schwa_completed_2$Outcome <-…
phnlg
  • 51
  • 1
  • 6
0
votes
1 answer

Replacing do-while loops as convergence query in Fortran OpenMP

I have build a program that uses Differential Evolution to optimize atom positions in regard to their pair-wise potential and now want to parallelize it with OpenMP to which I am quite new. The Differential Evolution uses an overall do-while loop in…
Rainer Hohn
  • 53
  • 1
  • 6
0
votes
0 answers

python create genetic algorithm no convergence to maximum or minimum

Hello i need help for create genetic algorithme for converge to maximum or minimum value. I develop a code for found maximum sentence ascii sum, but my code not converge to maximum, my code make "yoyo" value like this picture : matploltib output i…
ilapasle
  • 349
  • 4
  • 16
0
votes
2 answers

Why isn't this centered fourth-order-accurate finite differencing scheme yielding fourth-order convergence for solving pdes

I am solving the dissipation equation using a finite differencing scheme. The initial condition is a half sin wave with Dirchlet boundary conditions on both sides. I insert an extra point on each side of the domain to enforce the Dirchlet boundary…
kilojoules
  • 9,768
  • 18
  • 77
  • 149
0
votes
0 answers

R: Convergence problems with numerical integration

Not sure if this numerical methods problem should really be here or in crossvalidated, but since I have a nice reproducible example I though I would start here. I am going to be estimating and fitting a bunch of distributions both to some large data…
0
votes
1 answer

Genetic Algorithm - Premature Convergence

I am trying to implement a Genetic Algorithm that solves a TSP. It works fine with a TSP of a small number of cities (say 10) and produces the optimal solution. However, when the number of cities is increased even to 50 cities, it converges…
CXB
  • 241
  • 5
  • 14
0
votes
2 answers

Algorithm to Make a Set of Random Outcomes Approach a Specific Percentage

Currently, I have a pool of basketball players where I have a projected total of points for each player. Additionally, I have a normal distribution function that gives me a random drawing from a normal distribution for each player. Currently, I have…
bballboy8
  • 400
  • 6
  • 25
0
votes
0 answers

Subset of regression models fit to bootstrap samples failed to converge - how to identify them in R lme4?

I've fitted the same regression model to a thousand bootstrap samples using the lmer package in R. The only output I saved were the inferential statistics for fixed and random effects. I did not save any output related to the performance to the…
Des Grieux
  • 520
  • 1
  • 5
  • 31
0
votes
0 answers

First neural net - weights don't converge

i just wrote my first implementation of a neural network for the game tic-tac-toe. I have 9 input neurons (1,0,-1 for the state), and 1 output neuron (from -1 to 1 - that's the value of the state). I use a simple reinforcement algorithm: The…
beinando
  • 477
  • 4
  • 18