public class MultiClassNaiveBayes extends ClassificationMethod
Constructor and Description |
---|
MultiClassNaiveBayes(WrappedBoolean interrupt,
ClassificationDataSpecification specification,
ClassificationConfigurationNaiveBayes config,
DataHandleInternal inputHandle)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
ClassificationResult |
classify(DataHandleInternal features,
int row)
Classify
|
void |
close()
Close
|
void |
train(DataHandleInternal features,
DataHandleInternal clazz,
int row)
Train
|
public MultiClassNaiveBayes(WrappedBoolean interrupt, ClassificationDataSpecification specification, ClassificationConfigurationNaiveBayes config, DataHandleInternal inputHandle)
interrupt
- specification
- config
- inputHandle
- public ClassificationResult classify(DataHandleInternal features, int row)
ClassificationMethod
classify
in class ClassificationMethod
public void close()
ClassificationMethod
close
in class ClassificationMethod
public void train(DataHandleInternal features, DataHandleInternal clazz, int row)
ClassificationMethod
train
in class ClassificationMethod