Package adams.data.binning
Class BinnableInstances.ClassValueBinValueExtractor
- java.lang.Object
-
- adams.data.binning.BinnableInstances.ClassValueBinValueExtractor
-
- All Implemented Interfaces:
adams.data.binning.operation.Wrapping.BinValueExtractor<weka.core.Instance>
,Serializable
- Enclosing class:
- BinnableInstances
public static class BinnableInstances.ClassValueBinValueExtractor extends Object implements adams.data.binning.operation.Wrapping.BinValueExtractor<weka.core.Instance>, Serializable
Uses the class value as bin value.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClassValueBinValueExtractor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
extractBinValue(weka.core.Instance object)
Extracts the numeric value to use for binning from the object.
-
-
-
Method Detail
-
extractBinValue
public double extractBinValue(weka.core.Instance object)
Extracts the numeric value to use for binning from the object.- Specified by:
extractBinValue
in interfaceadams.data.binning.operation.Wrapping.BinValueExtractor<weka.core.Instance>
- Parameters:
object
- the object to process- Returns:
- the extracted value
-
-