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