Class ComputeLogisticGradient

java.lang.Object
org.apache.wayang.ml4all.abstraction.api.LogicalOperator
org.apache.wayang.ml4all.abstraction.api.Compute<double[],double[]>
org.apache.wayang.ml4all.algorithms.sgd.ComputeLogisticGradient
All Implemented Interfaces:
Serializable

public class ComputeLogisticGradient extends Compute<double[],double[]>
See Also:
  • Constructor Details

    • ComputeLogisticGradient

      public ComputeLogisticGradient()
  • Method Details

    • 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[]>