Class BoundaryAndCentroidClassifier

  • All Implemented Interfaces:
    Serializable, Cloneable, weka.classifiers.Classifier, weka.core.BatchPredictor, weka.core.CapabilitiesHandler, weka.core.CapabilitiesIgnorer, weka.core.CommandlineRunnable, weka.core.OptionHandler, weka.core.RevisionHandler

    public class BoundaryAndCentroidClassifier
    extends SingleClassifierEnhancerBoundary
    Since:
    2.0.0
    Version:
    2.4.0
    Author:
    pawel trajdos
    See Also:
    Serialized Form
    • Constructor Detail

      • BoundaryAndCentroidClassifier

        public BoundaryAndCentroidClassifier()
    • Method Detail

      • buildClassifier

        public void buildClassifier​(weka.core.Instances data)
                             throws Exception
        Throws:
        Exception
      • distributionForInstance

        public double[] distributionForInstance​(weka.core.Instance instance)
                                         throws Exception
        Specified by:
        distributionForInstance in interface weka.classifiers.Classifier
        Overrides:
        distributionForInstance in class weka.classifiers.AbstractClassifier
        Throws:
        Exception
      • globalInfo

        public String globalInfo()
      • getPrototypeProto

        public weka.classifiers.functions.nearestCentroid.IClusterPrototype getPrototypeProto()
        Returns:
        the prototypeProto
      • setPrototypeProto

        public void setPrototypeProto​(weka.classifiers.functions.nearestCentroid.IClusterPrototype prototypeProto)
        Parameters:
        prototypeProto - the prototypeProto to set
      • prototypeProtoTipText

        public String prototypeProtoTipText()
      • getPotFunction

        public PotentialFunction getPotFunction()
        Returns:
        the potFunction
      • setPotFunction

        public void setPotFunction​(PotentialFunction potFunction)
        Parameters:
        potFunction - the potFunction to set
      • potFunctionTipText

        public String potFunctionTipText()
      • getProportion

        public double getProportion()
        Returns:
        the proportion
      • setProportion

        public void setProportion​(double proportion)
        Parameters:
        proportion - the proportion to set
      • proportionTipText

        public String proportionTipText()
      • getEps

        public double getEps()
        Returns:
        the eps
      • setEps

        public void setEps​(double eps)
        Parameters:
        eps - the eps to set
      • epsTipText

        public String epsTipText()
      • isNormalize

        public boolean isNormalize()
        Returns:
        the normalize
      • setNormalize

        public void setNormalize​(boolean normalize)
        Parameters:
        normalize - the normalize to set
      • normalizeTipText

        public String normalizeTipText()
      • listOptions

        public Enumeration<weka.core.Option> listOptions()
        Specified by:
        listOptions in interface weka.core.OptionHandler
        Overrides:
        listOptions in class weka.classifiers.SingleClassifierEnhancer
      • setOptions

        public void setOptions​(String[] options)
                        throws Exception
        Specified by:
        setOptions in interface weka.core.OptionHandler
        Overrides:
        setOptions in class weka.classifiers.SingleClassifierEnhancer
        Throws:
        Exception
      • getOptions

        public String[] getOptions()
        Specified by:
        getOptions in interface weka.core.OptionHandler
        Overrides:
        getOptions in class weka.classifiers.SingleClassifierEnhancer
      • isUsePriors

        public boolean isUsePriors()
        Returns:
        the usePriors
      • setUsePriors

        public void setUsePriors​(boolean usePriors)
        Parameters:
        usePriors - the usePriors to set
      • usePriorsTipText

        public String usePriorsTipText()