Class BoundaryKernelClassifier

java.lang.Object
weka.classifiers.AbstractClassifier
weka.classifiers.SingleClassifierEnhancer
weka.classifiers.functions.SingleClassifierEnhancerBoundary
weka.classifiers.functions.BoundaryKernelClassifier
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, weka.tools.GlobalInfoHandler
Direct Known Subclasses:
BoundaryKernelClassifierWithPlaneProjectionsAbstract, BoundaryKernelClassifierWithPlaneProjectionsGauss, BoundaryKernelClassifierWithPlaneProjectionsNB, BoundaryKernelClassifierWithPlaneProjectionsNB2

public class BoundaryKernelClassifier extends SingleClassifierEnhancerBoundary implements weka.tools.GlobalInfoHandler
Since:
2.2.0
Version:
2.3.0
Author:
pawel trajdos
See Also:
  • Constructor Details

    • BoundaryKernelClassifier

      public BoundaryKernelClassifier(ClassifierWithBoundaries nearestCentroidBoundary)
    • BoundaryKernelClassifier

      public BoundaryKernelClassifier()
  • Method Details

    • buildClassifier

      public void buildClassifier(weka.core.Instances data) throws Exception
      Specified by:
      buildClassifier in interface weka.classifiers.Classifier
      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
    • 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
    • getEstimProto

      public weka.estimators.density.DensityEstimator getEstimProto()
      Returns:
      the estimProto
    • setEstimProto

      public void setEstimProto(weka.estimators.density.DensityEstimator estimProto)
      Parameters:
      estimProto - the estimProto to set
    • estimProtoTipText

      public String estimProtoTipText()
    • globalInfo

      public String globalInfo()
      Specified by:
      globalInfo in interface weka.tools.GlobalInfoHandler
    • isNormalize

      public boolean isNormalize()
      Returns:
      the normalize
    • setNormalize

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

      public String normalizeTipText()
    • isUsePriorProbs

      public boolean isUsePriorProbs()
      Returns:
      the usePriorProbs
    • setUsePriorProbs

      public void setUsePriorProbs(boolean usePriorProbs)
      Parameters:
      usePriorProbs - the usePriorProbs to set
    • usePriorProbsTipText

      public String usePriorProbsTipText()
    • isPreNormalize

      public boolean isPreNormalize()
      Returns:
      the preNormalize
    • setPreNormalize

      public void setPreNormalize(boolean preNormalize)
      Parameters:
      preNormalize - the preNormalize to set
    • preNormalizeTipText

      public String preNormalizeTipText()