- Accuracy - Class in de.tud.ke.mrapp.rulelearning.core.heuristics
-
A heuristic that calculates the accuracy of predictions based on a
ConfusionMatrix.
- Accuracy() - Constructor for class de.tud.ke.mrapp.rulelearning.core.heuristics.Accuracy
-
- add(ConfusionMatrix) - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Adds the elements of another confusion matrix to this confusion matrix.
- add(double, double, double, double) - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Adds specific values to the elements of the confusion matrix.
- add(Condition) - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.ConditionSet
-
- add(Rule) - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.RuleSet
-
- addAll(Collection<? extends Condition>) - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.ConditionSet
-
- addAll(Collection<? extends Rule>) - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.RuleSet
-
- addElement(ConfusionMatrix.Element) - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
- addElement(ConfusionMatrix.Element, double) - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
- addFalseNegative() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Adds a false negative with weight 1.
- addFalseNegative(double) - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Adds a false negative with a certain weight.
- addFalsePositive() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Adds a false positive with weight 1.
- addFalsePositive(double) - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Adds a false positive with a certain weight.
- addTrueNegative() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Adds a true negative with weight 1.
- addTrueNegative(double) - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Adds a true negative with a certain weight.
- addTruePositive() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Adds a true positive with weight 1.
- addTruePositive(double) - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Adds a true positive with a certain weight.
- aggregate(ConfusionMatrix, ConfusionMatrix) - Static method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Creates and returns a confusion matrix that results from element-wise aggregating two
existing confusion matrices.
- Attribute - Interface in de.tud.ke.mrapp.rulelearning.core.model
-
Defines the interface, a class that represents an attribute, i.e.
- AttributeHashMap - Class in de.tud.ke.mrapp.rulelearning.core.model
-
An
AttributeMap that uses a hash map for storing attribute-value mappings.
- AttributeHashMap() - Constructor for class de.tud.ke.mrapp.rulelearning.core.model.AttributeHashMap
-
Creates an empty attribute map.
- AttributeHashMap(int) - Constructor for class de.tud.ke.mrapp.rulelearning.core.model.AttributeHashMap
-
Creates an empty attribute map with a specific size.
- AttributeMap - Interface in de.tud.ke.mrapp.rulelearning.core.model
-
Defines the interface, a class that maps
Attributes to certain values, must implement.
- get(Attribute) - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.ConditionSet
-
Returns the condition that corresponds to a specific
Attribute, if such condition is
contained by the set.
- get(int) - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.ConditionSet
-
Returns the condition that corresponds to the
Attribute with a specific index, if
such condition is contained by the set.
- getAllMatches(AttributeMap) - Method in interface de.tud.ke.mrapp.rulelearning.core.model.rules.Proposition
-
Returns a set that contains all predicates of the proposition that match a specific example
(given as an
AttributeMap).
- getAttribute() - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.Condition
-
Returns the attribute, the condition corresponds to.
- getBeta() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.FMeasure
-
Returns the value of the beta-parameter.
- getBody() - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.Rule
-
Returns the body of the rule.
- getComparator() - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.NumericCondition
-
Returns the comparator that is used by the condition.
- getConfusionMatrix() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
- getConfusionMatrix() - Method in interface de.tud.ke.mrapp.rulelearning.core.heuristics.Measurable
-
Returns the confusion matrix that can be used to calculate the heuristic value of the
Measurable.
- getConfusionMatrix(Attribute) - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.Head
-
- getConfusionMatrix(int) - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.Head
-
- getConfusionMatrix() - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.Rule
-
Returns the confusion matrix that specifies how many true positives, false positives, true
negatives, and false negatives are predicted by the rule.
- getCorrectPredictions() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Returns the number of correct predictions.
- getDefaultPrediction() - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.RuleCollection
-
Returns the default prediction that is made, if no rule covers an example.
- getElement(ConfusionMatrix.Element) - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
- getFalseNegatives() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Returns the number of false negatives.
- getFalsePositives() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Returns the number of false positives.
- getFirstMatch(AttributeMap) - Method in interface de.tud.ke.mrapp.rulelearning.core.model.rules.Proposition
-
Returns the first predicate of the proposition that matches a specific example (given as an
AttributeMap), if such a predicate is part of the proposition.
- getGroundTruth() - Method in interface de.tud.ke.mrapp.rulelearning.core.model.Instance
-
Returns the ground truth of the instance.
- getGroundTruth() - Method in class de.tud.ke.mrapp.rulelearning.core.model.TrainingInstance
-
- getHead() - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.Rule
-
Returns the head of the rule.
- getIndex() - Method in interface de.tud.ke.mrapp.rulelearning.core.model.Attribute
-
Returns the (unique) index of the attribute.
- getM() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.MEstimate
-
Returns the value of the m-parameter.
- getName() - Method in interface de.tud.ke.mrapp.rulelearning.core.model.Attribute
-
Returns the (unique) name of the attribute.
- getNegativeExamples() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Returns the number of negative examples.
- getNegativePredictions() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Returns the number of negative predictions.
- getPositiveExamples() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Returns the number of positive examples.
- getPositivePredictions() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Returns the number of positive predictions.
- getTotalPredictions() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Returns the total number of predictions.
- getTrueNegatives() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Returns the number of true negatives.
- getTruePositives() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Returns the number of true positives.
- getValue(int) - Method in class de.tud.ke.mrapp.rulelearning.core.model.AttributeHashMap
-
- getValue(Attribute) - Method in interface de.tud.ke.mrapp.rulelearning.core.model.AttributeMap
-
Returns the value that is associated with a specific
Attribute, if available.
- getValue(int) - Method in interface de.tud.ke.mrapp.rulelearning.core.model.AttributeMap
-
Returns the value that is associated with the
Attribute with a specific index.
- getValue() - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.Condition
-
Returns the value of the condition.
- getValue(int) - Method in class de.tud.ke.mrapp.rulelearning.core.model.TrainingInstance
-
- getWeight() - Method in class de.tud.ke.mrapp.rulelearning.core.model.TrainingInstance
-
- getWeight() - Method in interface de.tud.ke.mrapp.rulelearning.core.model.Weighted
-
Returns the weight of the object.
- getWrongPredictions() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Returns the number of wrong predictions.
- GroundTruth - Interface in de.tud.ke.mrapp.rulelearning.core.model
-
Defines the interface, all classes that represent the ground truth of an
Instance, must
implement.
- Instance - Interface in de.tud.ke.mrapp.rulelearning.core.model
-
Defines the interface, all classes that represent instances (also referred to as "examples") must
implement.
- isConjunctive() - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.Body
-
- isConjunctive() - Method in interface de.tud.ke.mrapp.rulelearning.core.model.rules.Proposition
-
Returns, whether the proposition is conjunctive, or not.
- isConjunctive() - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.Rule
-
- isConjunctive() - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.RuleSet
-
- isCorrectPrediction() - Method in enum de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix.Element
-
Returns, whether the element represents a correct prediction, or not.
- isDisjunctive() - Method in interface de.tud.ke.mrapp.rulelearning.core.model.rules.Proposition
-
Returns, whether the proposition is disjunctive, or not.
- isEmpty() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Returns, whether the confusion matrix is empty, i.e.
- isEmpty() - Method in interface de.tud.ke.mrapp.rulelearning.core.model.AttributeMap
-
Returns, whether the map is empty, or not.
- isEmpty() - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.ConditionSet
-
- isEmpty() - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.RuleSet
-
- isGainMetric() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.Accuracy
-
- isGainMetric() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.FMeasure
-
- isGainMetric() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.HammingLoss
-
- isGainMetric() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.Heuristic
-
Returns, whether the heuristic is a gain metric, i.e.
- isGainMetric() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.JaccardIndex
-
- isGainMetric() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.Laplace
-
- isGainMetric() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.MEstimate
-
- isGainMetric() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.Precision
-
- isGainMetric() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.Recall
-
- isLossMetric() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.Heuristic
-
Returns, whether the heuristic is a loss metric, i.e.
- isNegativeExample() - Method in enum de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix.Element
-
Returns, whether the element corresponds to a negative example, or not.
- isNegativePrediction() - Method in enum de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix.Element
-
Returns, whether the element represents a negative prediction, or not.
- isNominal() - Method in interface de.tud.ke.mrapp.rulelearning.core.model.Attribute
-
Returns, whether the attribute is nominal, or not.
- isNumeric() - Method in interface de.tud.ke.mrapp.rulelearning.core.model.Attribute
-
Returns, whether the attribute is numeric, or not.
- isPositiveExample() - Method in enum de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix.Element
-
Returns, whether the element corresponds to a positive example, or not.
- isPositivePrediction() - Method in enum de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix.Element
-
Returns, whether the element represents a positive prediction, or not.
- isWrongPrediction() - Method in enum de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix.Element
-
Returns, whether the element represents a wrong prediction, or not.
- iterator() - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.ConditionSet
-
- iterator() - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.Rule
-
- iterator() - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.RuleSet
-
- Recall - Class in de.tud.ke.mrapp.rulelearning.core.heuristics
-
A heuristic that calculates the recall (also known as true positive rate) of predictions based on
a
ConfusionMatrix.
- Recall() - Constructor for class de.tud.ke.mrapp.rulelearning.core.heuristics.Recall
-
- remove(Object) - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.ConditionSet
-
- remove(Object) - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.Head
-
- remove(Object) - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.RuleSet
-
- removeAll(Collection<?>) - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.ConditionSet
-
- removeAll(Collection<?>) - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.RuleSet
-
- removeElement(ConfusionMatrix.Element) - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
- removeElement(ConfusionMatrix.Element, double) - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
- removeFalseNegative() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Removes a false negative with weight 1.
- removeFalseNegative(double) - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Removes a false negative with a certain weight.
- removeFalsePositive() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Removes a false positive with weight 1.
- removeFalsePositive(double) - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Removes a false positive with a certain weight.
- removeTrueNegative() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Removes a true negative with weight 1.
- removeTrueNegative(double) - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Removes a true negative with a certain weight.
- removeTruePositive() - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Removes a true positive with weight 1.
- removeTruePositive(double) - Method in class de.tud.ke.mrapp.rulelearning.core.heuristics.ConfusionMatrix
-
Removes a true positive with a certain weight.
- retainAll(Collection<?>) - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.ConditionSet
-
- retainAll(Collection<?>) - Method in class de.tud.ke.mrapp.rulelearning.core.model.rules.RuleSet
-
- Rule - Class in de.tud.ke.mrapp.rulelearning.core.model.rules
-
A rule that consists of a
Body and a
Head.
- Rule() - Constructor for class de.tud.ke.mrapp.rulelearning.core.model.rules.Rule
-
Creates a new conjunctive rule with an empty body and an empty head.
- Rule(Body) - Constructor for class de.tud.ke.mrapp.rulelearning.core.model.rules.Rule
-
Creates a new rule with a specific body and an empty head.
- Rule(Head) - Constructor for class de.tud.ke.mrapp.rulelearning.core.model.rules.Rule
-
Creates a new conjunctive rule with an empty body and a specific head.
- Rule(Body, Head) - Constructor for class de.tud.ke.mrapp.rulelearning.core.model.rules.Rule
-
Creates a new rule with a specific body and head.
- RuleCollection - Class in de.tud.ke.mrapp.rulelearning.core.model.rules
-
An abstract class for all classes that consist of several (ordered or unordered)
Rules.
- RuleCollection(Head) - Constructor for class de.tud.ke.mrapp.rulelearning.core.model.rules.RuleCollection
-
Creates an empty collection of rules.
- RuleSet - Class in de.tud.ke.mrapp.rulelearning.core.model.rules
-
A rule set that consists of several (unordered)
Rules.
- RuleSet(Head) - Constructor for class de.tud.ke.mrapp.rulelearning.core.model.rules.RuleSet
-
Creates an empty rule set.
- RuleSet(Head, Rule...) - Constructor for class de.tud.ke.mrapp.rulelearning.core.model.rules.RuleSet
-
Creates a rule set that contains several rules.
- RuleSet(Head, Iterable<? extends Rule>) - Constructor for class de.tud.ke.mrapp.rulelearning.core.model.rules.RuleSet
-
Creates a new rule set that contains several rules.