org.apache.lens.ml
Interface MLDriver

All Known Implementing Classes:
SparkMLDriver

public interface MLDriver

The Interface MLDriver.


Method Summary
 MLTrainer getTrainerInstance(String trainer)
          Gets the trainer instance.
 List<String> getTrainerNames()
           
 void init(LensConf conf)
          Inits the.
 boolean isTrainerSupported(String trainer)
          Checks if is trainer supported.
 void start()
          Start.
 void stop()
          Stop.
 

Method Detail

isTrainerSupported

boolean isTrainerSupported(String trainer)
Checks if is trainer supported.

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

getTrainerInstance

MLTrainer getTrainerInstance(String trainer)
                             throws LensException
Gets the trainer instance.

Parameters:
trainer - the trainer
Returns:
the trainer 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

getTrainerNames

List<String> getTrainerNames()


Copyright © 2014 Apache Software Foundation. All rights reserved.