public static class LinearRegression.Update extends Object implements MapFunction<Tuple2<LinearRegression.Params,Integer>,LinearRegression.Params>
Constructor and Description |
---|
Update() |
Modifier and Type | Method and Description |
---|---|
LinearRegression.Params |
map(Tuple2<LinearRegression.Params,Integer> arg0)
The mapping method.
|
public LinearRegression.Params map(Tuple2<LinearRegression.Params,Integer> arg0) throws Exception
MapFunction
map
in interface MapFunction<Tuple2<LinearRegression.Params,Integer>,LinearRegression.Params>
arg0
- The input value.Exception
- This method may throw exceptions. Throwing an exception will cause the
operation to fail and may trigger recovery.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.