org.apache.lens.ml
Class AlgoArgParser

java.lang.Object
  extended by org.apache.lens.ml.AlgoArgParser

public final class AlgoArgParser
extends Object

The Class AlgoArgParser.


Nested Class Summary
static class AlgoArgParser.CustomArgParser<E>
          The Class CustomArgParser.
 
Field Summary
static org.apache.commons.logging.Log LOG
          The Constant LOG.
 
Method Summary
static List<String> parseArgs(MLAlgo algo, String[] args)
          Extracts feature names.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.commons.logging.Log LOG
The Constant LOG.

Method Detail

parseArgs

public static List<String> parseArgs(MLAlgo algo,
                                     String[] args)
Extracts feature names. If the algo has any parameters associated with @AlgoParam annotation, those are set as well.

Parameters:
algo - the algo
args - the args
Returns:
List of feature column names.


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