public abstract class AMLAlgorithm extends Object
| Constructor and Description |
|---|
AMLAlgorithm() |
| Modifier and Type | Method and Description |
|---|---|
ActiveMLAlgorithm |
asActive() |
SupervisedMLAlgorithm |
asSupervised() |
UnsupervisedMLAlgorithm |
asUnsupervised() |
ACoreMLAlgorithm |
getMl() |
String |
getName() |
List<LearningParameter> |
getParameters() |
void |
init(List<LearningParameter> lp,
ACache source,
ACache target)
Initialize the ML Algorithm.
|
AMapping |
predict(ACache source,
ACache target,
MLResults mlModel)
Predict new links.
|
void |
setMl(ACoreMLAlgorithm ml) |
void |
setParameter(String par,
Object val) |
public String getName()
public ACoreMLAlgorithm getMl()
public void init(List<LearningParameter> lp, ACache source, ACache target)
lp - learning parameterssource - the source cachetarget - the target cachepublic AMapping predict(ACache source, ACache target, MLResults mlModel)
source - the source cachetarget - the target cachemlModel - the ML model generated by the learning phasepublic SupervisedMLAlgorithm asSupervised()
public UnsupervisedMLAlgorithm asUnsupervised()
public ActiveMLAlgorithm asActive()
public List<LearningParameter> getParameters()
public void setMl(ACoreMLAlgorithm ml)
ml - the core ML algorithmCopyright © 2018. All rights reserved.