public static class LinearRegression.SubUpdate extends RichMapFunction<LinearRegression.Data,Tuple2<LinearRegression.Params,Integer>>
Constructor and Description |
---|
SubUpdate() |
Modifier and Type | Method and Description |
---|---|
Tuple2<LinearRegression.Params,Integer> |
map(LinearRegression.Data in) |
void |
open(Configuration parameters)
Reads the parameters from a broadcast variable into a collection.
|
close, getIterationRuntimeContext, getRuntimeContext, setRuntimeContext
public void open(Configuration parameters) throws Exception
open
in interface RichFunction
open
in class AbstractRichFunction
Exception
public Tuple2<LinearRegression.Params,Integer> map(LinearRegression.Data in) throws Exception
map
in interface MapFunction<LinearRegression.Data,Tuple2<LinearRegression.Params,Integer>>
map
in class RichMapFunction<LinearRegression.Data,Tuple2<LinearRegression.Params,Integer>>
Exception
Copyright © 2015 The Apache Software Foundation. All rights reserved.