org.apache.lens.ml
Interface MLDriver

All Known Implementing Classes:
SparkMLDriver

public interface MLDriver

The Interface MLDriver.


Method Summary
 MLAlgo getAlgoInstance(String algo)
          Gets the algo instance.
 List<String> getAlgoNames()
           
 void init(LensConf conf)
          Inits the.
 boolean isAlgoSupported(String algo)
          Checks if is algo supported.
 void start()
          Start.
 void stop()
          Stop.
 

Method Detail

isAlgoSupported

boolean isAlgoSupported(String algo)
Checks if is algo supported.

Parameters:
algo - the algo
Returns:
true, if is algo supported

getAlgoInstance

MLAlgo getAlgoInstance(String algo)
                       throws LensException
Gets the algo instance.

Parameters:
algo - the algo
Returns:
the algo instance
Throws:
LensException - the lens exception

init

void init(LensConf conf)
          throws LensException
Inits the.

Parameters:
conf - the conf
Throws:
LensException - the lens exception

start

void start()
           throws LensException
Start.

Throws:
LensException - the lens exception

stop

void stop()
          throws LensException
Stop.

Throws:
LensException - the lens exception

getAlgoNames

List<String> getAlgoNames()


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.