void |
Distribution.add(int bagIndex,
Instance instance) |
Adds given instance to given bag.
|
void |
Instances.add(Instance instance) |
Adds one instance to the end of the set.
|
void |
Distribution.addWeights(Instance instance,
double[] weights) |
Adds given instance to all bags weighting it according to given weights.
|
protected static java.lang.String |
Evaluation.attributeValuesString(Instance instance,
Range attRange) |
Builds a string listing the attribute values in a specified range of indices,
separated by commas and enclosed in brackets.
|
protected void |
Filter.bufferInput(Instance instance) |
Adds the supplied input instance to the inputformat dataset for
later processing.
|
boolean |
Instances.checkInstance(Instance instance) |
Checks if the given instance is compatible
with this dataset.
|
static void |
Discrimination.checkSAValue(Instance inst) |
sets the value of SA when SA is not a part of test set
called from ClassifierPanel.java
|
double |
Classifier.classifyInstance(Instance instance) |
Classifies the given test instance.
|
double |
ClassifierSplitModel.classifyInstance(Instance instance) |
Classifies a given instance.
|
double |
ClassifierTree.classifyInstance(Instance instance) |
Classifies an instance.
|
double |
J48.classifyInstance(Instance instance) |
Classifies an instance.
|
double |
J48WithNDCs.classifyInstance(Instance instance) |
Classifies an instance.
|
double |
BinC45Split.classProb(int classIndex,
Instance instance,
int theSubset) |
Gets class probability for instance.
|
double |
C45Split.classProb(int classIndex,
Instance instance,
int theSubset) |
Gets class probability for instance.
|
double |
ClassifierSplitModel.classProb(int classIndex,
Instance instance,
int theSubset) |
Gets class probability for instance.
|
double |
ClassifierSplitModel.classProbLaplace(int classIndex,
Instance instance,
int theSubset) |
Gets class probability for instance.
|
protected void |
Filter.copyStringValues(Instance instance,
boolean instSrcCompat,
Instances srcDataset,
int[] srcStrAtts,
Instances destDataset,
int[] destStrAtts) |
Takes string values referenced by an Instance and copies them from a
source dataset to a destination dataset.
|
protected void |
Filter.copyStringValues(Instance instance,
boolean instSrcCompat,
Instances srcDataset,
Instances destDataset) |
Takes string values referenced by an Instance and copies them from a
source dataset to a destination dataset.
|
void |
Distribution.del(int bagIndex,
Instance instance) |
Deletes given instance from given bag.
|
static void |
Discrimination.discCalculation(Instance instance,
java.lang.Double pred) |
|
double[] |
Classifier.distributionForInstance(Instance instance) |
Predicts the class memberships for a given instance.
|
double[] |
ClassifierTree.distributionForInstance(Instance instance,
boolean useLaplace) |
Returns class probabilities for a weighted instance.
|
double[] |
J48.distributionForInstance(Instance instance) |
Returns class probabilities for an instance.
|
double[] |
J48WithNDCs.distributionForInstance(Instance instance) |
Returns class probabilities for an instance.
|
double[] |
NaiveBayesSimple.distributionForInstance(Instance instance) |
Calculates the class membership probabilities for the given test instance.
|
double[][] |
Classifier.doDistributionForInstance(Instance instance) |
|
double[][] |
ClassifierTree.doDistributionForInstance(Instance instance,
boolean useLaplace) |
|
double[][] |
J48WithNDCs.doDistributionForInstance(Instance instance) |
|
double[] |
Evaluation.doEvaluateModelOnce(Classifier classifier,
Instance instance) |
|
boolean |
Instance.equalHeaders(Instance inst) |
Tests if the headers of two instances are equivalent.
|
double |
Evaluation.evaluateModelOnce(double[] dist,
Instance instance) |
Evaluates the supplied distribution on a single instance.
|
void |
Evaluation.evaluateModelOnce(double prediction,
Instance instance) |
Evaluates the supplied prediction on a single instance.
|
double |
Evaluation.evaluateModelOnce(Classifier classifier,
Instance instance) |
|
boolean |
Filter.input(Instance instance) |
Input an instance for filtering.
|
boolean |
PrefrentialSamplingFilter.input(Instance instance) |
Input an instance for filtering.
|
boolean |
RemoveSAFilter.input(Instance instance) |
Input an instance for filtering.
|
Instance |
Instance.mergeInstance(Instance inst) |
Merges this instance with the given instance and returns
the result.
|
Instance |
SparseInstance.mergeInstance(Instance inst) |
Merges this instance with the given instance and returns
the result.
|
static void |
Discrimination.prepareResult(Instance instance,
java.lang.String sav,
java.lang.Double pred) |
|
protected void |
Filter.push(Instance instance) |
Adds an output instance to the queue.
|
void |
Distribution.shift(int from,
int to,
Instance instance) |
Shifts given instance from one bag to another one.
|
void |
Distribution.sub(int bagIndex,
Instance instance) |
Subtracts given instance from given bag.
|
void |
UpdateableClassifier.updateClassifier(Instance instance) |
Updates a classifier using the given instance.
|
void |
Evaluation.updatePriors(Instance instance) |
Updates the class prior probabilities (when incrementally
training)
|
protected void |
Evaluation.updateStatsForClassifier(double[] predictedDistribution,
Instance instance) |
Updates all the statistics about a classifiers performance for
the current test instance.
|
protected void |
Evaluation.updateStatsForPredictor(double predictedValue,
Instance instance) |
Updates all the statistics about a predictors performance for
the current test instance.
|
double[] |
BinC45Split.weights(Instance instance) |
Returns weights if instance is assigned to more than one subset.
|
double[] |
C45Split.weights(Instance instance) |
Returns weights if instance is assigned to more than one subset.
|
abstract double[] |
ClassifierSplitModel.weights(Instance instance) |
Returns weights if instance is assigned to more than one subset.
|
double[] |
NoSplit.weights(Instance instance) |
Always returns null because there is only one subset.
|
int |
BinC45Split.whichSubset(Instance instance) |
Returns index of subset instance is assigned to.
|
int |
C45Split.whichSubset(Instance instance) |
Returns index of subset instance is assigned to.
|
abstract int |
ClassifierSplitModel.whichSubset(Instance instance) |
Returns index of subset instance is assigned to.
|
int |
NoSplit.whichSubset(Instance instance) |
Always returns 0 because only there is only one subset.
|