Class BinnableInstances.GroupedClassValueBinValueExtractor

  • All Implemented Interfaces:
    adams.data.binning.operation.Wrapping.BinValueExtractor<adams.data.binning.BinnableGroup<weka.core.Instance>>, Serializable
    Enclosing class:
    BinnableInstances

    public static class BinnableInstances.GroupedClassValueBinValueExtractor
    extends Object
    implements adams.data.binning.operation.Wrapping.BinValueExtractor<adams.data.binning.BinnableGroup<weka.core.Instance>>, Serializable
    Uses the class value of the first instance in the group as bin value.
    See Also:
    Serialized Form
    • Constructor Detail

      • GroupedClassValueBinValueExtractor

        public GroupedClassValueBinValueExtractor()
    • Method Detail

      • extractBinValue

        public double extractBinValue​(adams.data.binning.BinnableGroup<weka.core.Instance> object)
        Extracts the numeric value to use for binning from the object.
        Specified by:
        extractBinValue in interface adams.data.binning.operation.Wrapping.BinValueExtractor<adams.data.binning.BinnableGroup<weka.core.Instance>>
        Parameters:
        object - the object to process
        Returns:
        the extracted value