Clear Filters
Clear Filters

lstm regression (Initial learning rate and training options)

4 views (last 30 days)
Hello everyone,
I have used this code and found an error as shown in the attached screenshot image regarding Intial Learning Rate and Training Options.
Please, help me to solve this problem.
Thanks in advance

Accepted Answer

Mohith Kulkarni
Mohith Kulkarni on 8 Oct 2020
The parameter is 'InitialLearnRate' and not 'InitialLearningRate'.
check Solver Options section of the trainingOptions function documentation for more information.
Ahmed Elbeltagi
Ahmed Elbeltagi on 8 Oct 2020
Edited: Ahmed Elbeltagi on 8 Oct 2020
Thanks for your help. It is working. I have received another error (see the attached screenshot). How to solve it.
Waiting for your reply
Mohith Kulkarni
Mohith Kulkarni on 8 Oct 2020
Make sure you are using the right input. I think you are supposed to use trainNetwork(X,Y,layers,Opts) instead of trainNetwork(Y,Y,layers,Opts)

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!