|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Instance in net.sf.myra.datamining |
---|
Methods in net.sf.myra.datamining that return types with arguments of type Instance | |
---|---|
static java.util.List<Instance> |
Evaluator.filter(java.util.List<Instance> instances,
Term term)
Filters the specified list of instances according to the test represented by the term. |
static java.util.List<Instance> |
Evaluator.findCorrectCases(Rule rule,
Dataset dataset)
Returns the correct covered (the instance class value equals to the specified rule consequent) instances by the specified rule. |
static java.util.List<Instance> |
Evaluator.findCoveredCases(Rule rule,
Dataset dataset)
Returns the covered instances by the specified rule. |
static java.util.List<Instance> |
Evaluator.findCoveredCases(Rule rule,
java.util.List<Instance> instances)
Returns the covered instances by the specified rule. |
static java.util.List<Instance> |
Evaluator.findNotCoveredCases(Rule rule,
Dataset dataset)
Returns the not covered instances by the specified rule. |
static java.util.List<Instance> |
Evaluator.findNotCoveredCases(Rule rule,
java.util.List<Instance> instances)
Returns the not covered instances by the specified rule. |
static java.util.List<Instance> |
Evaluator.findPositiveCases(Rule rule,
Dataset dataset)
Returns the positive covered (the instance class value contains the specified rule consequent) instances by the specified rule. |
Methods in net.sf.myra.datamining with parameters of type Instance | |
---|---|
Label |
Model.classify(Instance instance)
Classifies the secified instance. |
boolean |
SequentialRule.isCovered(Instance instance)
|
boolean |
Rule.isCovered(Instance instance)
Checks if this rule covers the specified instance. |
boolean |
ProbabilisticSequentialRule.isCovered(Instance instance)
|
Method parameters in net.sf.myra.datamining with type arguments of type Instance | |
---|---|
static java.util.List<Instance> |
Evaluator.filter(java.util.List<Instance> instances,
Term term)
Filters the specified list of instances according to the test represented by the term. |
static java.util.List<Instance> |
Evaluator.findCoveredCases(Rule rule,
java.util.List<Instance> instances)
Returns the covered instances by the specified rule. |
static java.util.Set<java.lang.Integer> |
Evaluator.findIndexedCoveredCases(Rule rule,
java.util.List<Instance> instances)
Returns a set of indexes of the covered instances by the specified rule. |
static Label |
Evaluator.findMajorityClass(java.util.List<Instance> instances,
Metadata metadata)
Returns the majority class value among the specified instances. |
static Label |
Evaluator.findMajorityClass(java.util.List<Instance> instances,
Metadata metadata,
Label label)
Returns the majority class value among the specified instances. |
static Label |
Evaluator.findMajorityClassValue(java.util.List<Instance> instances,
int index)
Returns the majority class value among the specified instances. |
static Label |
Evaluator.findMajorityClassValue(java.util.List<Instance> instances,
int index,
Label label)
Returns the majority class value among the specified instances. |
static java.util.List<Instance> |
Evaluator.findNotCoveredCases(Rule rule,
java.util.List<Instance> instances)
Returns the not covered instances by the specified rule. |
static ConfusionMatrix |
Evaluator.getConfusionMatrix(Rule rule,
java.util.List<Instance> instances)
Returns the confusion matrix of the specified rule when used to classify the specified instances. |
static ConfusionMatrix |
Evaluator.getConfusionMatrix(Rule rule,
java.util.List<Instance> instances,
java.lang.String label)
Returns the confusion matrix of the rule when used to classify the specified instances, predicting a class label. |
static ConfusionMatrix |
Evaluator.getConfusionMatrix(Rule rule,
java.util.List<Instance> instances,
UsefulnessHelper helper)
Returns the confusion matrix of the specified rule when used to classify the specified instances. |
static Label |
Evaluator.getPresentLabel(java.util.List<Instance> instances)
Returns a label instance with all present class labels from from the specified instances active. |
static boolean |
Evaluator.sameLabel(java.util.List<Instance> instances)
Verifies if the the list of instances have the same class label. |
Uses of Instance in net.sf.myra.datamining.data |
---|
Methods in net.sf.myra.datamining.data that return Instance | |
---|---|
Instance |
Dataset.get(int index)
Returns the instance specified by the index. |
Instance |
Dataset.newInstance()
Returns a new Instance associated with this dataset. |
Methods in net.sf.myra.datamining.data that return types with arguments of type Instance | |
---|---|
java.util.List<Instance> |
Dataset.filter(java.lang.String... c)
Returns the list of instances that belongs to any of the specified class labels. |
java.util.List<Instance> |
Dataset.getInstances()
Returns the list of instances. |
java.util.List<Instance> |
Dataset.getInstances(Attribute attribute,
java.lang.String value)
Returns the list of instances that have the specified (attribute, value) combination. |
java.util.List<Instance> |
Dataset.getInstances(Label label)
Returns the list of instances that have the specified label. |
java.util.List<Instance> |
Dataset.getInstances(java.lang.String... c)
Returns the list of instances that belongs to the specified class. |
java.util.List<Instance> |
Dataset.getInstances(Term term)
Returns the list of instances that satisfy the specified term. |
java.util.Iterator<Instance> |
Dataset.iterator()
|
Methods in net.sf.myra.datamining.data with parameters of type Instance | |
---|---|
boolean |
Instance.equals(Instance o)
Compares the specified instance with this instance for equality. |
boolean |
Dataset.remove(Instance instance)
Removes the first occurrence in this dataset of the specified instance. |
Method parameters in net.sf.myra.datamining.data with type arguments of type Instance | |
---|---|
abstract int |
IntervalBuilder.count(java.util.List<Instance> instances,
ContinuousAttribute attribute)
Returns the number of candidate threshold values. |
int |
FunctionBasedBuilder.count(java.util.List<Instance> instances,
ContinuousAttribute attribute)
|
int |
AbstractEntropyBasedBuilder.count(java.util.List<Instance> instances,
ContinuousAttribute attribute)
|
int |
AbstractDistanceBasedBuilder.count(java.util.List<Instance> instances,
ContinuousAttribute attribute)
|
abstract IntervalBuilder.Interval[] |
IntervalBuilder.create(java.util.List<Instance> instances,
ContinuousAttribute attribute)
Returns the discrete intervals for the specified continuous attribute. |
IntervalBuilder.Interval[] |
FunctionBasedBuilder.create(java.util.List<Instance> instances,
ContinuousAttribute attribute)
|
IntervalBuilder.Interval[] |
AbstractEntropyBasedBuilder.create(java.util.List<Instance> instances,
ContinuousAttribute attribute)
|
IntervalBuilder.Interval[] |
AbstractDistanceBasedBuilder.create(java.util.List<Instance> instances,
ContinuousAttribute attribute)
|
abstract IntervalBuilder.Interval |
IntervalBuilder.createSingle(java.util.List<Instance> instances,
ContinuousAttribute attribute)
Returns an interval for the specified continuous attribute tailored for the specified instances. |
IntervalBuilder.Interval |
FunctionBasedBuilder.createSingle(java.util.List<Instance> instances,
ContinuousAttribute attribute)
|
IntervalBuilder.Interval |
AbstractEntropyBasedBuilder.createSingle(java.util.List<Instance> instances,
ContinuousAttribute attribute)
Returns an interval for the specified continuous attribute tailored for the specified instance. |
IntervalBuilder.Interval |
AbstractDistanceBasedBuilder.createSingle(java.util.List<Instance> instances,
ContinuousAttribute attribute)
|
abstract IntervalBuilder.Interval |
IntervalBuilder.createSingle(java.util.List<Instance> instances,
ContinuousAttribute attribute,
java.lang.String label)
Returns a discrete interval for the specified continuous attribute tailored for the specified instances and class value. |
IntervalBuilder.Interval |
FunctionBasedBuilder.createSingle(java.util.List<Instance> instances,
ContinuousAttribute attribute,
java.lang.String label)
|
IntervalBuilder.Interval |
AbstractEntropyBasedBuilder.createSingle(java.util.List<Instance> instances,
ContinuousAttribute attribute,
java.lang.String label)
Returns a discrete interval for the specified continuous attribute tailored for the specified instances and class value. |
IntervalBuilder.Interval |
AbstractDistanceBasedBuilder.createSingle(java.util.List<Instance> instances,
ContinuousAttribute attribute,
java.lang.String c)
|
double |
ContinuousAttribute.entropy(java.util.List<Instance> instances)
Returns the (expected) entropy of this attribute. |
double |
ContinuousAttribute.mean(java.util.List<Instance> instances)
Returns the mean value of this attribute. |
java.lang.String |
NominalAttribute.modal(java.util.List<Instance> instances)
Returns the most frequent (modal) value. |
boolean |
Dataset.remove(java.util.Collection<Instance> instances)
Removes all this dataset's instances that are contained in the specified collection. |
void |
Dataset.setInstances(java.util.List<Instance> instances)
Sets the dataset instances. |
static double |
DistanceContent.variance(java.util.List<Instance> instances)
Returns the variance of the list of instances' class labels. |
static double |
DistanceContent.variance(java.util.List<Instance> instances,
double[] mean)
Returns the variance of the list of instances and the mean class label array. |
Uses of Instance in net.sf.myra.datamining.function.hierarchical |
---|
Method parameters in net.sf.myra.datamining.function.hierarchical with type arguments of type Instance | |
---|---|
protected ConfusionMatrix |
LocalFunction.getConfusionMatrix(Rule rule,
java.lang.String label,
java.util.List<Instance> instances)
|
Uses of Instance in net.sf.myra.datamining.io |
---|
Methods in net.sf.myra.datamining.io with parameters of type Instance | |
---|---|
protected void |
ProbabilisticExporter.export(Instance instance,
double[] probability)
Writes the instance informations. |
protected void |
HierarchicalExporter.export(Instance instance,
Label predicted)
Writes the instance informations. |
protected void |
Exporter.export(Instance instance,
Label predicted)
Writes the instance informations. |
Uses of Instance in net.sf.myra.datamining.model |
---|
Methods in net.sf.myra.datamining.model with parameters of type Instance | |
---|---|
Label |
RuleSet.classify(Instance instance)
|
Label |
RuleList.classify(Instance instance)
|
Label |
ProbabilisticRuleModel.classify(Instance instance)
|
double[] |
ProbabilisticRuleSet.probabilities(Instance instance)
|
double[] |
ProbabilisticRuleList.probabilities(Instance instance)
|
double[] |
ProbabilisticModel.probabilities(Instance instance)
|
Uses of Instance in net.sf.myra.datamining.util |
---|
Methods in net.sf.myra.datamining.util that return types with arguments of type Instance | |
---|---|
java.util.List<Instance> |
FlatCrossValidation.Partition.getInstances()
Returns the partition instance list. |
Methods in net.sf.myra.datamining.util with parameters of type Instance | |
---|---|
void |
FlatCrossValidation.Partition.add(Instance instance)
Adds the specified instance to this partition. |
boolean |
C45Disc.Rule.isCovered(Instance instance)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |