Class BinnableInstances.NumericClassGroupExtractor

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

    public static class BinnableInstances.NumericClassGroupExtractor
    extends Object
    implements adams.data.binning.operation.Grouping.GroupExtractor<weka.core.Instance>, Serializable
    Group extractor for numeric class attributes (using string representation of values).
    See Also:
    Serialized Form
    • Constructor Detail

      • NumericClassGroupExtractor

        public NumericClassGroupExtractor()
    • Method Detail

      • extractGroup

        public String extractGroup​(adams.data.binning.Binnable<weka.core.Instance> item)
        Extracts the group from the binnable object.
        Specified by:
        extractGroup in interface adams.data.binning.operation.Grouping.GroupExtractor<weka.core.Instance>
        Parameters:
        item - the item to extract the group from
        Returns:
        the extracted group