|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.operator.Operator
com.rapidminer.operator.io.AbstractWriter<ExampleSet>
com.rapidminer.operator.io.AbstractExampleSetWriter
com.rapidminer.operator.io.ExampleSetWriter
public class ExampleSetWriter
Writes values of all examples in an ExampleSet to a file. Dense,
sparse, and user defined formats (specified by the parameter 'format') can be
used. Attribute description files may be generated for dense and sparse
format as well. These formats can be read using the ExampleSource and
SparseFormatExampleSource operators.
regular attributes <special attributes>
value1 value2 ... valueN <id> <label> <prediction> ... <confidences>
SparseFormatExampleSource for details.
ExampleSet| Field Summary | |
|---|---|
static int |
OVERWRITE_MODE_APPEND
|
static int |
OVERWRITE_MODE_NONE
|
static int |
OVERWRITE_MODE_OVERWRITE
|
static int |
OVERWRITE_MODE_OVERWRITE_FIRST
|
static java.lang.String[] |
OVERWRITE_MODES
|
static java.lang.String |
PARAMETER_ATTRIBUTE_DESCRIPTION_FILE
The parameter name for "File to save the attribute descriptions to. |
static java.lang.String |
PARAMETER_EXAMPLE_SET_FILE
The parameter name for "File to save the example set to. |
static java.lang.String |
PARAMETER_FORMAT
The parameter name for "Format to use for output. |
static java.lang.String |
PARAMETER_FRACTION_DIGITS
The parameter name for "The number of fraction digits in the output file (-1: all possible digits). |
static java.lang.String |
PARAMETER_OVERWRITE_MODE
The parameter name for "Indicates if an existing table should be overwritten. |
static java.lang.String |
PARAMETER_QUOTE_NOMINAL_VALUES
Indicates if nominal values should be quoted with double quotes. |
static java.lang.String |
PARAMETER_SPECIAL_FORMAT
The parameter name for "Format string to use for output. |
static java.lang.String |
PARAMETER_ZIPPED
The parameter name for "Indicates if the data file content should be zipped. |
| Constructor Summary | |
|---|---|
ExampleSetWriter(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
ExampleSet |
write(ExampleSet eSet)
Creates (or reads) the ExampleSet that will be returned by AbstractWriter.apply(). |
| Methods inherited from class com.rapidminer.operator.io.AbstractWriter |
|---|
apply, getInputClasses, getOutputClasses |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PARAMETER_EXAMPLE_SET_FILE
public static final java.lang.String PARAMETER_ATTRIBUTE_DESCRIPTION_FILE
public static final java.lang.String PARAMETER_FORMAT
public static final java.lang.String PARAMETER_SPECIAL_FORMAT
public static final java.lang.String PARAMETER_FRACTION_DIGITS
public static final java.lang.String PARAMETER_QUOTE_NOMINAL_VALUES
public static final java.lang.String PARAMETER_ZIPPED
public static final java.lang.String PARAMETER_OVERWRITE_MODE
public static final java.lang.String[] OVERWRITE_MODES
public static final int OVERWRITE_MODE_NONE
public static final int OVERWRITE_MODE_OVERWRITE_FIRST
public static final int OVERWRITE_MODE_OVERWRITE
public static final int OVERWRITE_MODE_APPEND
| Constructor Detail |
|---|
public ExampleSetWriter(OperatorDescription description)
| Method Detail |
|---|
public ExampleSet write(ExampleSet eSet)
throws OperatorException
AbstractWriterAbstractWriter.apply().
write in class AbstractWriter<ExampleSet>OperatorExceptionpublic java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes in interface ParameterHandlergetParameterTypes in class Operator
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||