Package adams.data.binning
Class BinnableDataset.ClassValueBinValueExtractor
- java.lang.Object
-
- adams.data.binning.BinnableDataset.ClassValueBinValueExtractor
-
- All Implemented Interfaces:
Wrapping.BinValueExtractor<DataRow>
,Serializable
- Enclosing class:
- BinnableDataset
public static class BinnableDataset.ClassValueBinValueExtractor extends Object implements Wrapping.BinValueExtractor<DataRow>, Serializable
Uses the specified class value as bin value.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected int
m_Index
the column index.
-
Constructor Summary
Constructors Constructor Description ClassValueBinValueExtractor(int index)
Initializes the extractor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
extractBinValue(DataRow object)
Extracts the numeric value to use for binning from the object.
-
-
-
Method Detail
-
extractBinValue
public double extractBinValue(DataRow object)
Extracts the numeric value to use for binning from the object.- Specified by:
extractBinValue
in interfaceWrapping.BinValueExtractor<DataRow>
- Parameters:
object
- the object to process- Returns:
- the extracted value
-
-