public class ActiveMLAlgorithm extends AMLAlgorithm
| Modifier and Type | Field and Description |
|---|---|
static MLImplementationType |
ML_IMPLEMENTATION_TYPE |
| Constructor and Description |
|---|
ActiveMLAlgorithm(Class<? extends ACoreMLAlgorithm> clazz) |
| Modifier and Type | Method and Description |
|---|---|
MLResults |
activeLearn() |
MLResults |
activeLearn(AMapping oracleMapping) |
AMapping |
getNextExamples(int size) |
asActive, asSupervised, asUnsupervised, getMl, getName, getParameters, init, predict, setMl, setParameterpublic static final MLImplementationType ML_IMPLEMENTATION_TYPE
public ActiveMLAlgorithm(Class<? extends ACoreMLAlgorithm> clazz) throws UnsupportedMLImplementationException
clazz - the CoreMLAlgorithm classUnsupportedMLImplementationException - if ML implementation is not supportedpublic AMapping getNextExamples(int size) throws UnsupportedMLImplementationException
size - number of examples to returnUnsupportedMLImplementationException - if ML implementation is not supportedpublic MLResults activeLearn() throws UnsupportedMLImplementationException
UnsupportedMLImplementationException - Exceptionpublic MLResults activeLearn(AMapping oracleMapping) throws UnsupportedMLImplementationException
oracleMapping - mapping from the oracleUnsupportedMLImplementationException - if ML implementation is not supportedCopyright © 2018. All rights reserved.