|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lens.ml.Algorithms
public class Algorithms
The Class Algorithms.
Constructor Summary | |
---|---|
Algorithms()
|
Method Summary | |
---|---|
MLAlgo |
getAlgoForName(String name)
Gets the algo for name. |
List<String> |
getAlgorithmNames()
|
boolean |
isAlgoSupported(String name)
Checks if is algo supported. |
void |
register(Class<? extends MLAlgo> algoClass)
Register. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Algorithms()
Method Detail |
---|
public void register(Class<? extends MLAlgo> algoClass)
algoClass
- the algo classpublic MLAlgo getAlgoForName(String name) throws LensException
name
- the name
LensException
- the lens exceptionpublic boolean isAlgoSupported(String name)
name
- the name
public List<String> getAlgorithmNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |