loss
Description
computes loss between the predicted states and the actual states while training the Motion
Planning Networks (MPNet). The function calculates the loss value by computing the weighted
mean square distance between the actual states and the predicted states. When training the
network, the goal is to minimize the loss between the predicted outputs and the actual
outputs. You can also use the L
= loss(mpnet
,statePred
,stateActual
)loss
function to check the accuracy
of a trained MPNet during testing.
Note
To run this function, you will require the Deep Learning Toolbox™.
Examples
Input Arguments
Output Arguments
References
[1] Qureshi, Ahmed Hussain, Yinglong Miao, Anthony Simeonov, and Michael C. Yip. “Motion Planning Networks: Bridging the Gap Between Learning-Based and Classical Motion Planners.” IEEE Transactions on Robotics 37, no. 1 (February 2021): 48–66. https://doi.org/10.1109/TRO.2020.3006716.
Extended Capabilities
Version History
Introduced in R2023b