public static class IncrementalLearningSkeleton.Predictor extends Object implements org.apache.flink.streaming.api.functions.co.CoMapFunction<Integer,Double[],Integer>
By defaults emits the Integer 0 for every newData and the Integer 1 for every model update.
| Constructor and Description |
|---|
Predictor() |
| Modifier and Type | Method and Description |
|---|---|
protected Double[] |
getBatchModel() |
Integer |
map1(Integer value) |
Integer |
map2(Double[] value) |
protected Integer |
predict(Integer inTuple) |
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.