Class WeightsUpdate

  • All Implemented Interfaces:
    java.io.Serializable

    public class WeightsUpdate
    extends UpdateLocal<double[],​double[]>
    See Also:
    Serialized Form
    • Constructor Detail

      • WeightsUpdate

        public WeightsUpdate()
      • WeightsUpdate

        public WeightsUpdate​(double stepSize,
                             double regulizer)
    • Method Detail

      • process

        public double[] process​(double[] input,
                                ML4allModel model)
        Description copied from class: UpdateLocal
        Computes the new value of the global variable
        Specified by:
        process in class UpdateLocal<double[],​double[]>
        Parameters:
        input - the ouput of the aggregate of the Compute