public class MLAlgorithmFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ML_ALGORITHM |
static String |
DRAGON |
static String |
EAGLE |
static String |
EUCLID_BOOLEAN |
static String |
EUCLID_LINEAR |
static String |
EUCLID_MESH |
static String |
LION |
static org.slf4j.Logger |
logger |
static String |
SUPERVISED_ACTIVE |
static String |
SUPERVISED_BATCH |
static String |
UNSUPERVISED |
static String |
WOMBAT_COMPLETE |
static String |
WOMBAT_SIMPLE |
| Constructor and Description |
|---|
MLAlgorithmFactory() |
| Modifier and Type | Method and Description |
|---|---|
static AMLAlgorithm |
createMLAlgorithm(Class<? extends ACoreMLAlgorithm> clazz,
MLImplementationType mlType) |
static Class<? extends ACoreMLAlgorithm> |
getAlgorithmType(String name) |
static MLImplementationType |
getImplementationType(String name) |
public static final String EAGLE
public static final String WOMBAT_SIMPLE
public static final String WOMBAT_COMPLETE
public static final String LION
public static final String EUCLID_LINEAR
public static final String EUCLID_BOOLEAN
public static final String EUCLID_MESH
public static final String DRAGON
public static final String SUPERVISED_ACTIVE
public static final String SUPERVISED_BATCH
public static final String UNSUPERVISED
public static final String DEFAULT_ML_ALGORITHM
public static final org.slf4j.Logger logger
public static Class<? extends ACoreMLAlgorithm> getAlgorithmType(String name)
name - algorithm namepublic static MLImplementationType getImplementationType(String name)
name - implementation type as stringpublic static AMLAlgorithm createMLAlgorithm(Class<? extends ACoreMLAlgorithm> clazz, MLImplementationType mlType) throws UnsupportedMLImplementationException
clazz - the core ML algorithm classmlType - the implementation typeUnsupportedMLImplementationException - ExceptionCopyright © 2018. All rights reserved.