public class InMemory 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 | Class and Description |
---|---|
static class |
InMemory.PredictionContainer
Container for storing the predictions alongside the additional attributes.
|
Constructor and Description |
---|
InMemory() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplay()
Returns a short display text, to be used in comboboxes.
|
java.util.List<InMemory.PredictionContainer> |
getPredictions()
Returns the collected predictions.
|
java.lang.String |
globalInfo()
Returns a string describing the output generator.
|
void |
setOutputFile(java.io.File value)
Ignored, as it does not generate any output.
|
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, setSuppressOutput, suppressOutputTipText
public java.lang.String globalInfo()
globalInfo
in class AbstractOutput
public java.lang.String getDisplay()
getDisplay
in class AbstractOutput
public void setOutputFile(java.io.File value)
setOutputFile
in class AbstractOutput
value
- ignoredpublic java.util.List<InMemory.PredictionContainer> getPredictions()