public class IterativePredictionDataStreamer extends BaseSource implements IReceptor<java.lang.Double>
Constructor and Description |
---|
IterativePredictionDataStreamer(int features,
OperationMode operationMode,
boolean isDummy,
BinaryBatchModel binaryBatchModel) |
IterativePredictionDataStreamer(OperationMode operationMode) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String name,
DataObject<?> data)
This method is called when the data is available
|
void |
compute() |
void |
execute()
Execute without an incoming message
|
void |
getData() |
void |
initializeBatchModel() |
void |
initializeBinaryModel(double[][] xy)
Binary Model is updated with received batch data
|
void |
realDataStreamer() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, getReceivableNames
public IterativePredictionDataStreamer(OperationMode operationMode)
public IterativePredictionDataStreamer(int features, OperationMode operationMode, boolean isDummy, BinaryBatchModel binaryBatchModel)
public void add(java.lang.String name, DataObject<?> data)
IReceptor
public void execute()
ISource
public void realDataStreamer()
public void getData()
public void initializeBatchModel()
public void initializeBinaryModel(double[][] xy)
xy
- data points included with label and featurespublic void compute()