Uses of Class
weka.classifiers.evaluation.output.prediction.AbstractOutput
Packages that use AbstractOutput
-
Uses of AbstractOutput in weka.classifiers.evaluation.output.prediction
Subclasses of AbstractOutput in weka.classifiers.evaluation.output.predictionModifier and TypeClassDescriptionclass
Outputs the predictions as CSV.class
Outputs the predictions in HTML.class
* Stores the predictions in memory for programmatic retrieval.
* Stores the instance, a prediction object and a map of attribute names with their associated values if an attribute was defined in a container per prediction.
* The list of predictions can get retrieved using the getPredictions() method.
* File output is disabled and buffer doesn't need to be supplied.class
Suppresses all output.class
Outputs the predictions in plain text.class
Outputs the predictions in XML.
The following DTD is used:
<!DOCTYPE predictions
[
<!ELEMENT predictions (prediction*)>
<!ATTLIST predictions version CDATA "3.5.8">
<!ATTLIST predictions name CDATA #REQUIRED>
<!ELEMENT prediction ((actual_label,predicted_label,error,(prediction|distribution),attributes?)|(actual_value,predicted_value,error,attributes?))>
<!ATTLIST prediction index CDATA #REQUIRED>
<!ELEMENT actual_label ANY>
<!ATTLIST actual_label index CDATA #REQUIRED>
<!ELEMENT predicted_label ANY>
<!ATTLIST predicted_label index CDATA #REQUIRED>
<!ELEMENT error ANY>
<!ELEMENT prediction ANY>
<!ELEMENT distribution (class_label+)>
<!ELEMENT class_label ANY>
<!ATTLIST class_label index CDATA #REQUIRED>
<!ATTLIST class_label predicted (yes|no) "no">
<!ELEMENT actual_value ANY>
<!ELEMENT predicted_value ANY>
<!ELEMENT attributes (attribute+)>
<!ELEMENT attribute ANY>
<!ATTLIST attribute index CDATA #REQUIRED>
<!ATTLIST attribute name CDATA #REQUIRED>
<!ATTLIST attribute type (numeric|date|nominal|string|relational) #REQUIRED>
]
>Methods in weka.classifiers.evaluation.output.prediction that return AbstractOutputModifier and TypeMethodDescriptionstatic AbstractOutput
AbstractOutput.fromCommandline
(String cmdline) Returns a fully configured object from the given commandline. -
Uses of AbstractOutput in weka.gui.explorer
Methods in weka.gui.explorer with parameters of type AbstractOutputModifier 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.