Class MultiLabelRule

    • Constructor Detail

      • MultiLabelRule

        public MultiLabelRule​(LearningLiteral learningLiteral)
      • MultiLabelRule

        public MultiLabelRule()
      • MultiLabelRule

        public MultiLabelRule​(int id)
    • Method Detail

      • getRuleNumberID

        public int getRuleNumberID()
      • setRuleNumberID

        public void setRuleNumberID​(int ruleNumberID)
      • getOutputsCovered

        public int[] getOutputsCovered()
      • getInputsCovered

        public int[] getInputsCovered()
      • getDescription

        public void getDescription​(StringBuilder out,
                                   int indent)
        Description copied from interface: MOAObject
        Returns a string representation of this object. Used in AbstractMOAObject.toString to give a string representation of the object.
        Parameters:
        out - the stringbuilder to add the description
        indent - the number of characters to indent
      • getStaticOutput

        protected String getStaticOutput()
      • updateChangeDetection

        public boolean updateChangeDetection​(MultiLabelInstance instance)
      • updateAnomalyDetection

        public boolean updateAnomalyDetection​(MultiLabelInstance instance)
      • getWeightSeenSinceExpansion

        public double getWeightSeenSinceExpansion()
      • getCurrentErrors

        public double[] getCurrentErrors()
      • getAnomalyScore

        public double getAnomalyScore()
      • tryToExpand

        public boolean tryToExpand​(double splitConfidence,
                                   double tieThresholdOption)
      • getNewRuleFromOtherBranch

        public MultiLabelRule getNewRuleFromOtherBranch()
      • getNewRuleFromOtherOutputs

        public MultiLabelRule getNewRuleFromOtherOutputs()
      • setChangeDetector

        public void setChangeDetector​(ChangeDetector changeDetector)
      • setAnomalyDetector

        public void setAnomalyDetector​(AnomalyDetector anomalyDetector)
      • setRandomGenerator

        public void setRandomGenerator​(Random random)
      • setAttributesPercentage

        public void setAttributesPercentage​(double attributesPercentage)
      • hasNewRuleFromOtherOutputs

        public boolean hasNewRuleFromOtherOutputs()
      • setInstanceTransformer

        public void setInstanceTransformer​(InstanceTransformer instanceTransformer)
      • clearOtherOutputs

        public void clearOtherOutputs()