|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

public interface Classifier
Interface for classifiers.
| Method Summary | |
|---|---|
PredictionResult |
classify(Activity activity)
Does classify the given sample |
void |
fromPMMLModelElements(List<ModelElement> modelElements,
ActivityMinerExtension extension)
Method to create the classifier model from PMML model elements. |
String |
getDescription(Context context)
Getter for a significant description of the configured classifier. |
List<ModelElement> |
toPMMLModelElements(Context context,
DataDictionary dataDictionary)
Getter for the PMML model elements. |
void |
train(Set<? extends Activity> trainingSet)
Does initialize and train the classifier (internal model creation) |
| Method Detail |
|---|
void train(Set<? extends Activity> trainingSet)
trainingSet - the training setPredictionResult classify(Activity activity)
activity - the activity to classify
String getDescription(Context context)
context - the context
List<ModelElement> toPMMLModelElements(Context context,
DataDictionary dataDictionary)
mining schema
and the output fields can be ignored, they will be
overridden by the calling
instance based on the actual configuration.
context - the contextdataDictionary - the data dictionary
void fromPMMLModelElements(List<ModelElement> modelElements,
ActivityMinerExtension extension)
modelElements - the model elements to build model fromextension - the activity mine specific extensions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||