Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No warning from make.acmap or optimizeMap when maxit is too low #121

Open
drserajames opened this issue Mar 24, 2022 · 0 comments
Open

No warning from make.acmap or optimizeMap when maxit is too low #121

drserajames opened this issue Mar 24, 2022 · 0 comments

Comments

@drserajames
Copy link
Member

It might be useful to have a specific warning when the number of iterations is equal to maxit in optimizeMap(map). I don't know if this happens often with the default setting of 1000.

In the code below, I set maxit=1, and got the generic warning about instability.

> library(Racmacs)
> packageVersion("Racmacs")
[1] ‘1.1.35’
> set.seed(850909)
> dat <- matrix(10*2^round(10*runif(100)), ncol=10)
> map <- make.acmap(dat, options = list(maxit=1))
Performing 100 optimizations
============================================================================================================
Optimization runs complete
Took 0.05 secs

Warning message:
In optimizeMap(map = map, number_of_dimensions = number_of_dimensions,  :
  There is some variation (12.23 AU for one point) in the top runs, this may be an indication that more optimization runs could help achieve a better optimum. If this still fails to help see ?unstableMaps for further possible causes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant