ai.libs.jaicore.ml.classification.multiclass.reduction

Class ConstantClassifier

  • java.lang.Object
    • ai.libs.jaicore.ml.classification.multiclass.reduction.ConstantClassifier
  • All Implemented Interfaces:
    java.io.Serializable, weka.classifiers.Classifier


    public class ConstantClassifierextends java.lang.Objectimplements weka.classifiers.Classifier
    See Also:
    Serialized Form
    • Constructor Detail

      • ConstantClassifier

        public ConstantClassifier()
    • Method Detail

      • buildClassifier

        public void buildClassifier(weka.core.Instances data)                     throws java.lang.Exception
        Specified by:
        buildClassifier in interface weka.classifiers.Classifier
        Throws:
        java.lang.Exception
      • classifyInstance

        public double classifyInstance(weka.core.Instance instance)                        throws java.lang.Exception
        Specified by:
        classifyInstance in interface weka.classifiers.Classifier
        Throws:
        java.lang.Exception
      • distributionForInstance

        public double[] distributionForInstance(weka.core.Instance instance)                                 throws java.lang.Exception
        Specified by:
        distributionForInstance in interface weka.classifiers.Classifier
        Throws:
        java.lang.Exception
      • getCapabilities

        public weka.core.Capabilities getCapabilities()
        Specified by:
        getCapabilities in interface weka.classifiers.Classifier
      • clone

        public weka.classifiers.Classifier clone()
        Overrides:
        clone in class java.lang.Object


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14