public class Null 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)
m_Attributes, m_Buffer, m_FileBuffer, m_Header, m_NumDecimals, m_OutputDistribution, m_OutputFile, m_SuppressOutput| Constructor and Description |
|---|
Null() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doPrintClassification(Classifier classifier,
Instance inst,
int index)
Does nothing.
|
protected void |
doPrintClassification(double[] dist,
Instance inst,
int index)
Does nothing.
|
protected void |
doPrintFooter()
Does nothing.
|
protected void |
doPrintHeader()
Does nothing.
|
boolean |
generatesOutput()
Returns always false.
|
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.
|
append, attributesTipText, checkBasic, checkHeader, fromCommandline, getAttributes, getBuffer, getDefaultNumDecimals, getHeader, getNumDecimals, getOptions, getOutputDistribution, getOutputFile, getSuppressOutput, listOptions, numDecimalsTipText, outputDistributionTipText, outputFileTipText, preProcessInstance, print, print, printClassification, printClassification, printClassifications, printClassifications, printFooter, printHeader, setAttributes, setBuffer, setHeader, setNumDecimals, setOptions, setOutputDistribution, setOutputFile, setSuppressOutput, suppressOutputTipTextpublic java.lang.String globalInfo()
globalInfo in class AbstractOutputpublic java.lang.String getDisplay()
getDisplay in class AbstractOutputpublic boolean generatesOutput()
generatesOutput in class AbstractOutputprotected void doPrintHeader()
doPrintHeader in class AbstractOutputprotected void doPrintClassification(Classifier classifier, Instance inst, int index) throws java.lang.Exception
doPrintClassification in class AbstractOutputclassifier - the classifier to useinst - the instance to generate text fromindex - the index in the datasetjava.lang.Exception - if something goes wrongprotected void doPrintClassification(double[] dist,
Instance inst,
int index)
throws java.lang.Exception
doPrintClassification in class AbstractOutputdist - the distribution to useinst - the instance to generate text fromindex - the index in the datasetjava.lang.Exception - if something goes wrongprotected void doPrintFooter()
doPrintFooter in class AbstractOutput