Package org.apache.nemo.examples.beam
Class MultinomialLogisticRegression.UpdateModel
- java.lang.Object
-
- org.apache.beam.sdk.transforms.PTransform<inputT,outputT>
-
- org.apache.nemo.compiler.frontend.beam.transform.LoopCompositeTransform<org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<java.lang.Integer,java.util.List<java.lang.Double>>>,org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<java.lang.Integer,java.util.List<java.lang.Double>>>>
-
- org.apache.nemo.examples.beam.MultinomialLogisticRegression.UpdateModel
-
- All Implemented Interfaces:
java.io.Serializable
,org.apache.beam.sdk.transforms.display.HasDisplayData
- Enclosing class:
- MultinomialLogisticRegression
public static final class MultinomialLogisticRegression.UpdateModel extends LoopCompositeTransform<org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<java.lang.Integer,java.util.List<java.lang.Double>>>,org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<java.lang.Integer,java.util.List<java.lang.Double>>>>
+ Composite transform that wraps the transforms inside the loop. + The loop updates the model in each iteration.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<java.lang.Integer,java.util.List<java.lang.Double>>>
expand(org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<java.lang.Integer,java.util.List<java.lang.Double>>> model)
-
-
-
Method Detail
-
expand
public org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<java.lang.Integer,java.util.List<java.lang.Double>>> expand(org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<java.lang.Integer,java.util.List<java.lang.Double>>> model)
- Specified by:
expand
in classorg.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<java.lang.Integer,java.util.List<java.lang.Double>>>,org.apache.beam.sdk.values.PCollection<org.apache.beam.sdk.values.KV<java.lang.Integer,java.util.List<java.lang.Double>>>>
-
-