Class MultinomialLogisticRegression.CombineFunctionForIterable

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.beam.sdk.transforms.ProcessFunction<java.lang.Iterable<java.util.List<java.lang.Double>>,​java.util.List<java.lang.Double>>, org.apache.beam.sdk.transforms.SerializableFunction<java.lang.Iterable<java.util.List<java.lang.Double>>,​java.util.List<java.lang.Double>>
    Enclosing class:
    MultinomialLogisticRegression

    public static final class MultinomialLogisticRegression.CombineFunctionForIterable
    extends java.lang.Object
    implements org.apache.beam.sdk.transforms.SerializableFunction<java.lang.Iterable<java.util.List<java.lang.Double>>,​java.util.List<java.lang.Double>>
    Combine Function for Iterable of gradients.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.Double> apply​(java.lang.Iterable<java.util.List<java.lang.Double>> gradients)  
      • Methods inherited from class java.lang.Object

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

      • CombineFunctionForIterable

        public CombineFunctionForIterable()
    • Method Detail

      • apply

        public java.util.List<java.lang.Double> apply​(java.lang.Iterable<java.util.List<java.lang.Double>> gradients)
        Specified by:
        apply in interface org.apache.beam.sdk.transforms.ProcessFunction<java.lang.Iterable<java.util.List<java.lang.Double>>,​java.util.List<java.lang.Double>>
        Specified by:
        apply in interface org.apache.beam.sdk.transforms.SerializableFunction<java.lang.Iterable<java.util.List<java.lang.Double>>,​java.util.List<java.lang.Double>>