This project has retired. For details please refer to its Attic page.
TableTrainingSpec.GetLabeledPoint (Lens 2.0.1-beta-incubating API)

org.apache.lens.ml.spark
Class TableTrainingSpec.GetLabeledPoint

java.lang.Object
  extended by org.apache.lens.ml.spark.TableTrainingSpec.GetLabeledPoint
All Implemented Interfaces:
Serializable, org.apache.spark.api.java.function.Function<TableTrainingSpec.DataSample,org.apache.spark.mllib.regression.LabeledPoint>
Enclosing class:
TableTrainingSpec

public static class TableTrainingSpec.GetLabeledPoint
extends Object
implements org.apache.spark.api.java.function.Function<TableTrainingSpec.DataSample,org.apache.spark.mllib.regression.LabeledPoint>

The Class GetLabeledPoint.

See Also:
Serialized Form

Constructor Summary
TableTrainingSpec.GetLabeledPoint()
           
 
Method Summary
 org.apache.spark.mllib.regression.LabeledPoint call(TableTrainingSpec.DataSample v1)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableTrainingSpec.GetLabeledPoint

public TableTrainingSpec.GetLabeledPoint()
Method Detail

call

public org.apache.spark.mllib.regression.LabeledPoint call(TableTrainingSpec.DataSample v1)
                                                    throws Exception
Specified by:
call in interface org.apache.spark.api.java.function.Function<TableTrainingSpec.DataSample,org.apache.spark.mllib.regression.LabeledPoint>
Throws:
Exception


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