You may use the neuralnet function from neuralnet package to fit the neural network model. Alternatively, you may use nnet function from nnet package. Which of the following statements is true?
1) We may use nnet function to fit the network with one or no hidden layers.
2) The neuralnet function does not allow specifying the number of nodes in the hidden layer.
3) The nnet function does not allow specifying the number of nodes in the hidden layer.
4) We cannot use neuralnet function to fit the network with more than one hidden layer.
5) We may use nnet function to fit the network with one or more hidden layers.