Class BinnableDataset.ClassValueBinValueExtractor

    • Field Detail

      • m_Index

        protected int m_Index
        the column index.
    • Constructor Detail

      • ClassValueBinValueExtractor

        public ClassValueBinValueExtractor​(int index)
        Initializes the extractor.
        Parameters:
        index - the index (0-based) of the class column
    • Method Detail

      • extractBinValue

        public double extractBinValue​(DataRow object)
        Extracts the numeric value to use for binning from the object.
        Specified by:
        extractBinValue in interface Wrapping.BinValueExtractor<DataRow>
        Parameters:
        object - the object to process
        Returns:
        the extracted value