org.apache.lens.ml.spark
Class FeatureValueMapper

java.lang.Object
  extended by org.apache.lens.ml.spark.FeatureValueMapper
All Implemented Interfaces:
Serializable, org.apache.spark.api.java.function.Function<Object,Double>
Direct Known Subclasses:
DoubleValueMapper

public abstract class FeatureValueMapper
extends Object
implements org.apache.spark.api.java.function.Function<Object,Double>, Serializable

Map a feature value to a Double value usable by MLLib.

See Also:
Serialized Form

Constructor Summary
FeatureValueMapper()
           
 
Method Summary
abstract  Double call(Object input)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureValueMapper

public FeatureValueMapper()
Method Detail

call

public abstract Double call(Object input)
Specified by:
call in interface org.apache.spark.api.java.function.Function<Object,Double>


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