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

Class MCTreeNode

  • java.lang.Object
    • ai.libs.jaicore.ml.classification.multiclass.reduction.MCTreeNode
    • Field Detail

      • cacheRetrievals

        public static java.util.concurrent.atomic.AtomicInteger cacheRetrievals
    • Constructor Detail

      • MCTreeNode

        public MCTreeNode(weka.classifiers.Classifier left,                  weka.classifiers.Classifier right,                  java.lang.String baseClassifier)
      • MCTreeNode

        public MCTreeNode(java.util.List<java.lang.Integer> containedClasses)
      • MCTreeNode

        public MCTreeNode(java.util.List<java.lang.Integer> containedClasses,                  EMCNodeType nodeType,                  java.lang.String classifierID)           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • MCTreeNode

        public MCTreeNode(java.util.List<java.lang.Integer> containedClasses,                  EMCNodeType nodeType,                  weka.classifiers.Classifier baseClassifier)
    • Method Detail

      • addChild

        public void addChild(MCTreeNode newNode)
      • getChildren

        public java.util.List<MCTreeNode> getChildren()
      • getContainedClasses

        public java.util.Collection<java.lang.Integer> getContainedClasses()
      • isCompletelyConfigured

        public boolean isCompletelyConfigured()
      • 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 ITreeClassifier
        Specified by:
        classifyInstance in interface weka.classifiers.Classifier
        Throws:
        java.lang.Exception
      • distributionForInstance

        public void distributionForInstance(weka.core.Instance instance,                                    double[] distribution)                             throws java.lang.Exception
        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
      • clearCache

        public static void clearCache()
      • getClassifierCache

        public static java.util.Map<java.lang.String,weka.classifiers.Classifier> getClassifierCache()
      • getClassifier

        public weka.classifiers.Classifier getClassifier()
      • setBaseClassifier

        public void setBaseClassifier(weka.classifiers.Classifier classifier)
      • setNodeType

        public void setNodeType(EMCNodeType nodeType)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toStringWithOffset

        public java.lang.String toStringWithOffset()
      • toStringWithOffset

        public java.lang.String toStringWithOffset(java.lang.String offset)
      • iterator

        public java.util.Iterator<MCTreeNode> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<MCTreeNode>


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