0
$\begingroup$

Everytime we train the neural network in R (under neuralnet package) for the same data,it predicts different values which aren't the same as predicted earlier ... Any way to solve this issue ???

$\endgroup$

1 Answer 1

2
$\begingroup$

There is probably some randomization involved in initialization and/or training - you may want to read through the references provided in the documentation.

Try setting the random number generator's seed prior to training, by using set.seed(). (Just don't simply use set.seed(123) ;-).)

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.