My code is very simple for one layer of 20 neurons:
FFNN = feedforwardnet(20);
FFNN_trained = train(FFNN,x,y);
This can result in a very good performance in a few hundreds of epochs. I want to reproduce it in Pytorch, so I need to know the details, e.g. learning rate, activation function, optimizer, batch size, when to stop, etc. Also, the data splitting for training/validation/testing seems to be random in feedforwardnet.
Where can I find these details for feedforwardnet? How to specify the training/validation/testing in feedforwardnet?
Thank you for the help. I realise that the levenberg-marquardt method is not available in Pytorch.