Class LossHuberSmooth.Function

All Implemented Interfaces:
FunctionNtoS, LossFunction
Enclosing class:
LossHuberSmooth

public static class LossHuberSmooth.Function extends LossHuberSmooth implements LossFunction
Implementation of the smooth Huber loss function
  • Constructor Details

    • Function

      public Function(double threshold)
  • Method Details

    • process

      public double process(double[] input)
      Description copied from interface: FunctionNtoS
      Computes the output given an array of inputs.
      Specified by:
      process in interface FunctionNtoS
      Parameters:
      input - Array containing input values
      Returns:
      The output.