public class CLIOnlineFileMinerPlugin extends OnlineFileMinerPlugin
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DATE_FORMAT_NOW
This field contains the date format for the logging text.
|
converter, miner, minerRunning| Constructor and Description |
|---|
CLIOnlineFileMinerPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
inc()
This method is called each time an event has been processed
|
void |
mine(OnlineMiningAlgorithm algorithm,
MinerConfiguration configuration)
This is the actual mining method
|
void |
notifyFinish()
This method is called when the stream connection is over
|
void |
onModelUpdate(java.lang.Object newModel)
This method is called when the algorithm generates a new model
|
void |
onNewFitnessValue(double newFitnessValue)
This method is called when the algorithm generates a new fitness value
|
void |
onNewPrecisionValue(double newPrecisionValue)
This method is called when the algorithm generates a new precision value
|
startstoppublic static final java.lang.String DATE_FORMAT_NOW
public void mine(OnlineMiningAlgorithm algorithm, MinerConfiguration configuration) throws OnlineException
algorithm - the mining algorithmconfiguration - the mining configurationMissingConfigurationExceptionWrongConfigurationExceptionOnlineExceptionpublic void inc()
OnlineMinerPlugininc in class OnlineMinerPluginpublic void notifyFinish()
OnlineMinerPluginnotifyFinish in class OnlineMinerPluginpublic void onModelUpdate(java.lang.Object newModel)
OnlineMinerPluginonModelUpdate in class OnlineMinerPluginnewModel - the new model generatedpublic void onNewFitnessValue(double newFitnessValue)
OnlineMinerPluginonNewFitnessValue in class OnlineMinerPluginnewFitnessValue - the new fitness valuepublic void onNewPrecisionValue(double newPrecisionValue)
OnlineMinerPluginonNewPrecisionValue in class OnlineMinerPlugin