| Package | Description |
|---|---|
| weka.classifiers.evaluation.output.prediction | |
| weka.gui.explorer |
| Modifier and Type | Class and Description |
|---|---|
class |
CSV
Outputs the predictions as CSV.
|
class |
HTML
Outputs the predictions in HTML.
|
class |
InMemory
* 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 |
Null
Suppresses all output.
|
class |
PlainText
Outputs the predictions in plain text.
|
class |
XML
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> ] > Valid options are: |
| Modifier and Type | Method and Description |
|---|---|
static AbstractOutput |
AbstractOutput.fromCommandline(String cmdline)
Returns a fully configured object from the given commandline.
|
| 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 © 2019 University of Waikato, Hamilton, NZ. All rights reserved.