public interface LearningAlgorithm
Modifier and Type | Method and Description |
---|---|
LearningAlgorithm |
duplicate()
Creates a new instance of the LearningAlgorithm initialized with the same parameters
of the learningAlgorithm to be duplicated.
|
List<Label> |
getLabels()
Returns the labels representing the concept to be learned.
|
PredictionFunction |
getPredictionFunction()
Returns the predictionFunction learned during the training process
|
void |
learn(Dataset dataset)
It starts the training process exploiting the provided
dataset |
void |
reset()
Resets all the learning process, returning to the default state.
|
void |
setLabels(List<Label> labels)
Sets the labels representing the concept to be learned.
|
void |
setPredictionFunction(PredictionFunction predictionFunction)
Sets the predictionFunction learned during the training process.
|
void learn(Dataset dataset)
dataset
dataset
- the training datavoid setLabels(List<Label> labels)
labels
- the labels representing the concept to be learnedList<Label> getLabels()
LearningAlgorithm duplicate()
void reset()
PredictionFunction getPredictionFunction()
void setPredictionFunction(PredictionFunction predictionFunction)
Copyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.