[R] Rstudio crashed when I try to train a nnet model.
@zwj|08 @end|ng |rom gm@||@com
Sun Mar 21 17:35:19 CET 2021
Perhaps out of memory? Would you be able to run your code through the R
terminal? It probably can give us more information to debug the issue.
On Mon, Mar 22, 2021 at 12:23 AM Baki UNAL via R-help <r-help using r-project.org>
> I tried to train a neural network with following code:
> nn2 <- nnet(TQ~.,data = train, size=c(15,15), linout=T, MaxNWts =4000,
> When I executed the code R studio crashed with following error:
> "R Session Aborted
> R encountered a fatal error.
> The session was terminated.
> Start new session"
> When I set the hidden layer as c(15) as below the code works fine.
> nn2 <- nnet(TQ~.,data = train, size=c(15), linout=T, MaxNWts =4000,
> What could be the problem?
> Best regards.
> [[alternative HTML version deleted]]
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
More information about the R-help