public class XML extends AbstractOutput
-p <range> The range of attributes to print in addition to the classification. (default: none)
-distribution Whether to turn on the output of the class distribution. Only for nominal class attributes. (default: off)
-decimals <num> The number of digits after the decimal point. (default: 3)
-file <path> The file to store the output in, instead of outputting it on stdout. Gets ignored if the supplied path is a directory. (default: .)
-suppress In case the data gets stored in a file, then this flag can be used to suppress the regular output. (default: not suppressed)
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATT_INDEX
the index attribute.
|
static java.lang.String |
ATT_NAME
the "name" attribute.
|
static java.lang.String |
ATT_PREDICTED
the predicted attribute.
|
static java.lang.String |
ATT_TYPE
the "type" attribute.
|
static java.lang.String |
ATT_VERSION
the "version" attribute.
|
static java.lang.String |
DTD
the DTD.
|
static java.lang.String |
DTD_ANY
the ANY placeholder.
|
static java.lang.String |
DTD_AT_LEAST_ONE
the at least one marker.
|
static java.lang.String |
DTD_ATTLIST
the AttList definition.
|
static java.lang.String |
DTD_CDATA
the CDATA placeholder.
|
static java.lang.String |
DTD_DOCTYPE
the DocType definition.
|
static java.lang.String |
DTD_ELEMENT
the Element definition.
|
static java.lang.String |
DTD_IMPLIED
the #IMPLIED placeholder.
|
static java.lang.String |
DTD_OPTIONAL
the optional marker.
|
static java.lang.String |
DTD_PCDATA
the #PCDATA placeholder.
|
static java.lang.String |
DTD_REQUIRED
the #REQUIRED placeholder.
|
static java.lang.String |
DTD_SEPARATOR
the option separator.
|
static java.lang.String |
DTD_ZERO_OR_MORE
the zero or more marker.
|
static java.lang.String |
TAG_ACTUAL_LABEL
the actual_nominal tag.
|
static java.lang.String |
TAG_ACTUAL_VALUE
the actual_numeric tag.
|
static java.lang.String |
TAG_ATTRIBUTE
the attribute tag.
|
static java.lang.String |
TAG_ATTRIBUTES
the attributes tag.
|
static java.lang.String |
TAG_CLASS_LABEL
the class_label tag.
|
static java.lang.String |
TAG_DISTRIBUTION
the distribution tag.
|
static java.lang.String |
TAG_ERROR
the error tag.
|
static java.lang.String |
TAG_PREDICTED_LABEL
the predicted_nominal tag.
|
static java.lang.String |
TAG_PREDICTED_VALUE
the predicted_numeric tag.
|
static java.lang.String |
TAG_PREDICTION
the prediction tag.
|
static java.lang.String |
TAG_PREDICTIONS
the predictions tag.
|
static java.lang.String |
VAL_NO
the value "no".
|
static java.lang.String |
VAL_YES
the value "yes".
|
Constructor and Description |
---|
XML() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplay()
Returns a short display text, to be used in comboboxes.
|
java.lang.String |
globalInfo()
Returns a string describing the output generator.
|
attributesTipText, fromCommandline, generatesOutput, getAttributes, getBuffer, getDefaultNumDecimals, getHeader, getNumDecimals, getOptions, getOutputDistribution, getOutputFile, getSuppressOutput, listOptions, numDecimalsTipText, outputDistributionTipText, outputFileTipText, print, print, printClassification, printClassification, printClassifications, printClassifications, printFooter, printHeader, setAttributes, setBuffer, setHeader, setNumDecimals, setOptions, setOutputDistribution, setOutputFile, setSuppressOutput, suppressOutputTipText
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
makeCopy
public static final java.lang.String DTD_DOCTYPE
public static final java.lang.String DTD_ELEMENT
public static final java.lang.String DTD_ATTLIST
public static final java.lang.String DTD_OPTIONAL
public static final java.lang.String DTD_AT_LEAST_ONE
public static final java.lang.String DTD_ZERO_OR_MORE
public static final java.lang.String DTD_SEPARATOR
public static final java.lang.String DTD_CDATA
public static final java.lang.String DTD_ANY
public static final java.lang.String DTD_PCDATA
public static final java.lang.String DTD_IMPLIED
public static final java.lang.String DTD_REQUIRED
public static final java.lang.String ATT_VERSION
public static final java.lang.String ATT_NAME
public static final java.lang.String ATT_TYPE
public static final java.lang.String VAL_YES
public static final java.lang.String VAL_NO
public static final java.lang.String TAG_PREDICTIONS
public static final java.lang.String TAG_PREDICTION
public static final java.lang.String TAG_ACTUAL_LABEL
public static final java.lang.String TAG_PREDICTED_LABEL
public static final java.lang.String TAG_ERROR
public static final java.lang.String TAG_DISTRIBUTION
public static final java.lang.String TAG_CLASS_LABEL
public static final java.lang.String TAG_ACTUAL_VALUE
public static final java.lang.String TAG_PREDICTED_VALUE
public static final java.lang.String TAG_ATTRIBUTES
public static final java.lang.String TAG_ATTRIBUTE
public static final java.lang.String ATT_INDEX
public static final java.lang.String ATT_PREDICTED
public static final java.lang.String DTD
public java.lang.String globalInfo()
globalInfo
in class AbstractOutput
public java.lang.String getDisplay()
getDisplay
in class AbstractOutput