Class ClassLabelFilter.Par

  • All Implemented Interfaces:
    Enclosing class:

    public static class ClassLabelFilter.Par
    extends java.lang.Object
    implements Parameterizer
    Parameterization class.
    Erich Schubert
    • Constructor Summary

      Constructor Description
    • Field Detail


        public static final OptionID CLASS_LABEL_INDEX_ID
        Optional parameter that specifies the index of the label to be used as class label, must be an integer equal to or greater than 0.

        public static final OptionID CLASS_LABEL_CLASS_ID
        Parameter to specify the class of occurring class labels.
      • classLabelIndex

        protected int classLabelIndex
        The index of the label to be used as class label, null if no class label is specified.
      • classLabelFactory

        private ClassLabel.Factory<?> classLabelFactory
        The class label factory to use.
    • Constructor Detail

      • Par

        public Par()
    • Method Detail

      • configure

        public void configure​(Parameterization config)
        Description copied from interface: Parameterizer
        Configure the class.

        Note: the status is collected by the parameterization object, so that multiple errors may arise and be reported in one run.

        Specified by:
        configure in interface Parameterizer
        config - Parameterization
      • make

        public ClassLabelFilter make()
        Description copied from interface: Parameterizer
        Make an instance after successful configuration.

        Note: your class should return the exact type, only this very broad interface should use Object as return type.

        Specified by:
        make in interface Parameterizer
        a new instance