public class SupervisedMLAlgorithm extends AMLAlgorithm
| Modifier and Type | Field and Description |
|---|---|
static MLImplementationType |
ML_IMPLEMENTATION_TYPE |
| Constructor and Description |
|---|
SupervisedMLAlgorithm(Class<? extends ACoreMLAlgorithm> clazz) |
| Modifier and Type | Method and Description |
|---|---|
MLResults |
learn(AMapping trainingData) |
asActive, asSupervised, asUnsupervised, getMl, getName, getParameters, init, predict, setMl, setParameterpublic static final MLImplementationType ML_IMPLEMENTATION_TYPE
public SupervisedMLAlgorithm(Class<? extends ACoreMLAlgorithm> clazz) throws UnsupportedMLImplementationException
clazz - the core ML algorithm classUnsupportedMLImplementationException - Exceptionpublic MLResults learn(AMapping trainingData) throws UnsupportedMLImplementationException
trainingData - training dataUnsupportedMLImplementationException - ExceptionCopyright © 2018. All rights reserved.