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

invalid 'times' argument when running neuralnet #33

Open
kencheung2 opened this issue Jul 7, 2019 · 2 comments
Open

invalid 'times' argument when running neuralnet #33

kencheung2 opened this issue Jul 7, 2019 · 2 comments

Comments

@kencheung2
Copy link

i have been running into the following error message with the function neuralnet:

Error in rep(" ", (max(nchar(stepmax), nchar("stepmax")) - nchar(step))) :
invalid 'times' argument

in one of the examples, i set threshold at 0.05 and stepmax at 5e+07. When it achieved the threshold (at steps between 1094000 and 1096000), the error occurred.

the problem seems to occur only when i have more than one layer.

i also had a warning message:

package ‘neuralnet’ was built under R version 3.5.2

wondered if it's related

@mnwright
Copy link
Member

mnwright commented Jul 9, 2019

Could you please provide a reproducible example?

@kencheung2
Copy link
Author

kencheung2 commented Jul 9, 2019 via email

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

2 participants