Class ComputeLogisticGradient

  • All Implemented Interfaces:
    java.io.Serializable

    public class ComputeLogisticGradient
    extends Compute<double[],​double[]>
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double[] aggregate​(double[] g1, double[] g2)
      Aggregates the output of the process() method to use in a group by
      double[] process​(double[] point, ML4allModel model)
      Performs a computation at the data unit granularity
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ComputeLogisticGradient

        public ComputeLogisticGradient()
    • Method Detail

      • process

        public double[] process​(double[] point,
                                ML4allModel model)
        Description copied from class: Compute
        Performs a computation at the data unit granularity
        Specified by:
        process in class Compute<double[],​double[]>
        Parameters:
        point - a data unit
      • aggregate

        public double[] aggregate​(double[] g1,
                                  double[] g2)
        Description copied from class: Compute
        Aggregates the output of the process() method to use in a group by
        Specified by:
        aggregate in class Compute<double[],​double[]>