public static class LinearRegression.SubUpdate extends RichMapFunction<LinearRegression.Data,scala.Tuple2<LinearRegression.Params,Object>>
Constructor and Description |
---|
SubUpdate() |
Modifier and Type | Method and Description |
---|---|
scala.Tuple2<LinearRegression.Params,Object> |
map(LinearRegression.Data in)
The mapping method.
|
void |
open(Configuration parameters)
Reads the parameters from a broadcast variable into a collection.
|
close, getIterationRuntimeContext, getRuntimeContext, setRuntimeContext
public void open(Configuration parameters)
open
in interface RichFunction
open
in class AbstractRichFunction
parameters
- The configuration containing the parameters attached to the contract.Configuration
public scala.Tuple2<LinearRegression.Params,Object> map(LinearRegression.Data in)
MapFunction
map
in interface MapFunction<LinearRegression.Data,scala.Tuple2<LinearRegression.Params,Object>>
map
in class RichMapFunction<LinearRegression.Data,scala.Tuple2<LinearRegression.Params,Object>>
in
- The input value.Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.