Package org.aksw.limes.core.ml.algorithm
Class SupervisedMLAlgorithm
- java.lang.Object
-
- org.aksw.limes.core.ml.algorithm.AMLAlgorithm
-
- org.aksw.limes.core.ml.algorithm.SupervisedMLAlgorithm
-
public class SupervisedMLAlgorithm extends AMLAlgorithm
- Author:
- Tommaso Soru (tsoru@informatik.uni-leipzig.de)
-
-
Field Summary
Fields Modifier and Type Field Description static MLImplementationTypeML_IMPLEMENTATION_TYPE
-
Constructor Summary
Constructors Constructor Description SupervisedMLAlgorithm(Class<? extends ACoreMLAlgorithm> clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MLResultslearn(AMapping trainingData)-
Methods inherited from class org.aksw.limes.core.ml.algorithm.AMLAlgorithm
asActive, asSupervised, asUnsupervised, getMl, getName, getParameters, init, predict, setMl, setParameter
-
-
-
-
Field Detail
-
ML_IMPLEMENTATION_TYPE
public static final MLImplementationType ML_IMPLEMENTATION_TYPE
-
-
Constructor Detail
-
SupervisedMLAlgorithm
public SupervisedMLAlgorithm(Class<? extends ACoreMLAlgorithm> clazz) throws UnsupportedMLImplementationException
- Parameters:
clazz- the core ML algorithm class- Throws:
UnsupportedMLImplementationException- Exception
-
-
Method Detail
-
learn
public MLResults learn(AMapping trainingData) throws UnsupportedMLImplementationException
- Parameters:
trainingData- training data- Returns:
- wrap with results
- Throws:
UnsupportedMLImplementationException- Exception
-
-