Class Standardize

  • All Implemented Interfaces:
    Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, QuickInfoSupporter, SizeOfHandler, SpreadSheetFilter, TrainableSpreadSheetFilter, Serializable

    public class Standardize
    extends AbstractTrainableSpreadSheetFilter
    Standardizes numeric columns to mean 0.0 and standard deviation 1.0.

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
    -range <> (property: range)
        The column range to standardize.
        default: first-last
        example: A range is a comma-separated list of single 1-based indices or sub-ranges of indices ('start-end'); 'inv(...)' inverts the range '...'; column names (case-sensitive) as well as the following placeholders can be used: first, second, third, last_2, last_1, last; numeric indices can be enforced by preceding them with '#' (eg '#12'); column names can be surrounded by double quotes.
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_Indices

        protected int[] m_Indices
        the indices of the columns to process.
      • m_Numeric

        protected boolean[] m_Numeric
        whether a column is numeric.
      • m_Means

        protected double[] m_Means
        the means.
      • m_StdDevs

        protected double[] m_StdDevs
        the stddevs.
    • Constructor Detail

      • Standardize

        public Standardize()