org.apache.lens.ml.spark
Class FeatureValueMapper
java.lang.Object
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
FeatureValueMapper
public FeatureValueMapper()
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.