Skip to content
Back to formatted view

Raw Message

Message-ID: <1709238116.929530.1616343703467@mail.yahoo.com>
Date: 2021-03-21T16:21:43Z
From: Baki UNAL
Subject: Rstudio crashed when I try to train a nnet model.

Hi,
I tried to train a neural network with following code:
nn2 <- nnet(TQ~.,data = train, size=c(15,15), linout=T, MaxNWts =4000, maxit=2000)

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, maxit=2000)

What could be the problem?

Best regards.


	[[alternative HTML version deleted]]