Class MeanSquaredError

  • All Implemented Interfaces:
    java.io.Serializable

    public class MeanSquaredError
    extends Loss
    Mean squared error loss.
    See Also:
    Serialized Form
    • Constructor Detail

      • MeanSquaredError

        public MeanSquaredError()
    • Method Detail

      • getLoss

        public double getLoss​(java.util.ArrayList<Matrix> out,
                              java.util.ArrayList<Matrix> y)
        Description copied from class: Loss
        Get the loss.
        Specified by:
        getLoss in class Loss
        Parameters:
        out - output of network
        y - correct output
        Returns:
        the loss