public class IterativeStreamingDataStreamer extends BaseSource implements IReceptor<double[][]>
Constructor and Description |
---|
IterativeStreamingDataStreamer(int features,
OperationMode operationMode) |
IterativeStreamingDataStreamer(int features,
OperationMode operationMode,
boolean isDummy,
BinaryBatchModel binaryBatchModel) |
IterativeStreamingDataStreamer(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 |
dummyDataStreamer()
This method is used to deal with dummy data based data stream generation
Here data points are generated using a Gaussian Distribution and labels are assigned
+1 or -1 randomly for a given data point.
|
void |
execute()
Execute without an incoming message
|
void |
realDataStreamer()
This method is used to retrieve real data from
Data Source Task
|
void |
streamData() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, getReceivableNames
public IterativeStreamingDataStreamer(OperationMode operationMode)
public IterativeStreamingDataStreamer(int features, OperationMode operationMode)
public IterativeStreamingDataStreamer(int features, OperationMode operationMode, boolean isDummy, BinaryBatchModel binaryBatchModel)
public void execute()
ISource
public void add(java.lang.String name, DataObject<?> data)
IReceptor
public void dummyDataStreamer() throws InputDataFormatException
InputDataFormatException
public void realDataStreamer()
public void streamData()