| Package | Description |
|---|---|
| weka.classifiers | |
| weka.classifiers.evaluation | |
| weka.classifiers.meta | |
| weka.gui.explorer |
| Modifier and Type | Method and Description |
|---|---|
static CostMatrix |
CostMatrix.parseMatlab(String matlab)
creates a matrix from the given Matlab string.
|
| Constructor and Description |
|---|
AggregateableEvaluation(Instances data,
CostMatrix costMatrix)
Constructs a new AggregateableEvaluation object
|
CostMatrix(CostMatrix toCopy)
Creates a cost matrix that is a copy of another.
|
Evaluation(Instances data,
CostMatrix costMatrix) |
| Modifier and Type | Method and Description |
|---|---|
ConfusionMatrix |
ConfusionMatrix.makeWeighted(CostMatrix costs)
Makes a copy of this ConfusionMatrix after applying the supplied CostMatrix
to the cells.
|
| Constructor and Description |
|---|
AggregateableEvaluation(Instances data,
CostMatrix costMatrix)
Constructs a new AggregateableEvaluation object
|
Evaluation(Instances data,
CostMatrix costMatrix)
Initializes all the counters for the evaluation and also takes a cost
matrix as parameter.
|
| Modifier and Type | Method and Description |
|---|---|
CostMatrix |
CostSensitiveClassifier.getCostMatrix()
Gets the misclassification cost matrix.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CostSensitiveClassifier.setCostMatrix(CostMatrix newCostMatrix)
Sets the misclassification cost matrix.
|
| Modifier and Type | Method and Description |
|---|---|
CostMatrix |
ClassifierPanel.getCostMatrix()
Get the cost matrix (if any)
|
| Modifier and Type | Method and Description |
|---|---|
static Evaluation |
ClassifierPanel.setupEval(Evaluation eval,
Classifier classifier,
Instances inst,
CostMatrix costMatrix,
ClassifierErrorsPlotInstances plotInstances,
AbstractOutput classificationOutput,
boolean onlySetPriors)
Configures an evaluation object with respect to a classifier, cost matrix,
output and plotting.
|
static Evaluation |
ClassifierPanel.setupEval(Evaluation eval,
Classifier classifier,
Instances inst,
CostMatrix costMatrix,
ClassifierErrorsPlotInstances plotInstances,
AbstractOutput classificationOutput,
boolean onlySetPriors,
boolean collectPredictions)
Configures an evaluation object with respect to a classifier, cost matrix,
output and plotting.
|
Copyright © 2020 University of Waikato, Hamilton, NZ. All rights reserved.