Uses of Class
weka.classifiers.CostMatrix
Packages that use CostMatrix
Package
Description
-
Uses of CostMatrix in weka.classifiers
Methods in weka.classifiers that return CostMatrixModifier and TypeMethodDescriptionstatic CostMatrix
CostMatrix.parseMatlab
(String matlab) creates a matrix from the given Matlab string.Constructors in weka.classifiers with parameters of type CostMatrixModifierConstructorDescriptionAggregateableEvaluation
(Instances data, CostMatrix costMatrix) Constructs a new AggregateableEvaluation objectCostMatrix
(CostMatrix toCopy) Creates a cost matrix that is a copy of another.Evaluation
(Instances data, CostMatrix costMatrix) -
Uses of CostMatrix in weka.classifiers.evaluation
Methods in weka.classifiers.evaluation with parameters of type CostMatrixModifier and TypeMethodDescriptionConfusionMatrix.makeWeighted
(CostMatrix costs) Makes a copy of this ConfusionMatrix after applying the supplied CostMatrix to the cells.Constructors in weka.classifiers.evaluation with parameters of type CostMatrixModifierConstructorDescriptionAggregateableEvaluation
(Instances data, CostMatrix costMatrix) Constructs a new AggregateableEvaluation objectEvaluation
(Instances data, CostMatrix costMatrix) Initializes all the counters for the evaluation and also takes a cost matrix as parameter. -
Uses of CostMatrix in weka.classifiers.meta
Methods in weka.classifiers.meta that return CostMatrixModifier and TypeMethodDescriptionCostSensitiveClassifier.getCostMatrix()
Gets the misclassification cost matrix.Methods in weka.classifiers.meta with parameters of type CostMatrixModifier and TypeMethodDescriptionvoid
CostSensitiveClassifier.setCostMatrix
(CostMatrix newCostMatrix) Sets the misclassification cost matrix. -
Uses of CostMatrix in weka.gui.explorer
Methods in weka.gui.explorer that return CostMatrixMethods in weka.gui.explorer with parameters of type CostMatrixModifier and TypeMethodDescriptionstatic 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.