|
||||||||||
| 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.AbstractReader<ExampleSet>
com.rapidminer.operator.io.AbstractExampleSource
com.rapidminer.operator.io.SparseFormatExampleSource
public class SparseFormatExampleSource
Reads an example file in sparse format, i.e. lines have the form
label index:value index:value index:value...
prefix_map. Four possible formats are
supported
label_file
SparseFormatDataRowReader| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_ATTRIBUTE_DESCRIPTION_FILE
The parameter name for "Name of the attribute description file. |
static java.lang.String |
PARAMETER_DATA_FILE
The parameter name for "Name of the data file. |
static java.lang.String |
PARAMETER_DATAMANAGEMENT
The parameter name for "Determines, how the data is represented internally. |
static java.lang.String |
PARAMETER_DECIMAL_POINT_CHARACTER
The parameter name for "Character that is used as decimal point. |
static java.lang.String |
PARAMETER_DIMENSION
The parameter name for "Dimension of the example space. |
static java.lang.String |
PARAMETER_FORMAT
The parameter name for "Format of the sparse data file. |
static java.lang.String |
PARAMETER_LABEL_FILE
The parameter name for "Name of the data file containing the labels. |
static java.lang.String |
PARAMETER_PREFIX_MAP
The parameter name for "Maps prefixes to names of special attributes. |
static java.lang.String |
PARAMETER_SAMPLE_SIZE
The parameter name for "The maximum number of examples to read from the data files (-1 = all)" |
| Constructor Summary | |
|---|---|
SparseFormatExampleSource(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
ExampleSet |
createExampleSet()
Creates (or reads) the ExampleSet that will be returned by AbstractReader.apply(). |
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
| Methods inherited from class com.rapidminer.operator.io.AbstractExampleSource |
|---|
read |
| Methods inherited from class com.rapidminer.operator.io.AbstractReader |
|---|
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_FORMAT
public static final java.lang.String PARAMETER_ATTRIBUTE_DESCRIPTION_FILE
public static final java.lang.String PARAMETER_DATA_FILE
public static final java.lang.String PARAMETER_LABEL_FILE
public static final java.lang.String PARAMETER_DIMENSION
public static final java.lang.String PARAMETER_SAMPLE_SIZE
public static final java.lang.String PARAMETER_DATAMANAGEMENT
public static final java.lang.String PARAMETER_DECIMAL_POINT_CHARACTER
public static final java.lang.String PARAMETER_PREFIX_MAP
| Constructor Detail |
|---|
public SparseFormatExampleSource(OperatorDescription description)
| Method Detail |
|---|
public ExampleSet createExampleSet()
throws OperatorException
AbstractExampleSourceAbstractReader.apply().
createExampleSet in class AbstractExampleSourceOperatorExceptionpublic 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 | |||||||||