- First create an object:
- Specify RMSE metric in training options:
- in “trainnet()” function set the loss function by specifying “mae”:
- Similar to RMSE first create an object:
- Specify the MAPE metric in the training options.
- RMSE: https://www.mathworks.com/help/deeplearning/ref/deep.metric.rmsemetric.html
- MAE: https://www.mathworks.com/help/deeplearning/ref/mae.html
- MAPE: https://www.mathworks.com/help/deeplearning/ref/deep.metric.mapemetric.html


