|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.operator.AbstractIOObject
com.rapidminer.operator.ResultObjectAdapter
com.rapidminer.example.set.AbstractExampleSet
com.rapidminer.example.set.SimpleExampleSet
public class SimpleExampleSet
A simple implementation of ExampleSet containing a list of attributes and a special attribute map. The data is queried from an example table which contains the data (example sets actually are only views on this table and does not keep any data). This simple example set implementation usually is the basic example set of the multi-layered data view.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.rapidminer.operator.AbstractIOObject |
|---|
AbstractIOObject.InputStreamProvider |
| Constructor Summary | |
|---|---|
SimpleExampleSet(ExampleTable exampleTable)
Constructs a new SimpleExampleSet backed by the given example table. |
|
SimpleExampleSet(ExampleTable exampleTable,
java.util.List<Attribute> regularAttributes)
Constructs a new SimpleExampleSet backed by the given example table. |
|
SimpleExampleSet(ExampleTable exampleTable,
java.util.List<Attribute> regularAttributes,
java.util.Map<Attribute,java.lang.String> specialAttributes)
Constructs a new SimpleExampleSet backed by the given example table. |
|
SimpleExampleSet(ExampleTable exampleTable,
java.util.Map<Attribute,java.lang.String> specialAttributes)
Constructs a new SimpleExampleSet backed by the given example table. |
|
SimpleExampleSet(SimpleExampleSet exampleSet)
Clone constructor. |
|
| Method Summary | |
|---|---|
Attributes |
getAttributes()
Returns the data structure holding all attributes. |
Example |
getExample(int index)
Returns the i-th example. |
ExampleTable |
getExampleTable()
Returns the underlying example table. |
java.util.Iterator<Example> |
iterator()
|
int |
size()
Returns the number of examples in this example set. |
| Methods inherited from class com.rapidminer.example.set.AbstractExampleSet |
|---|
clone, copy, createDataTable, equals, getExampleFromId, getExampleIndicesFromId, getExtension, getFileDescription, getName, getStatistics, getStatistics, hashCode, recalculateAllAttributeStatistics, recalculateAttributeStatistics, remapIds, toString, writeAttributeFile, writeDataFile, writeSparseAttributeFile, writeSparseDataFile |
| Methods inherited from class com.rapidminer.operator.ResultObjectAdapter |
|---|
addAction, getActions, getAnnotations, getResultIcon, log, log, logError, logNote, logWarning, toHTML, toResultString |
| Methods inherited from class com.rapidminer.operator.AbstractIOObject |
|---|
appendOperatorToHistory, getLog, getProcessingHistory, getSource, initWriting, read, read, read, read, setLoggingHandler, setSource, write |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.rapidminer.operator.ResultObject |
|---|
getActions, getResultIcon, toResultString |
| Methods inherited from interface com.rapidminer.operator.IOObject |
|---|
appendOperatorToHistory, getAnnotations, getLog, getProcessingHistory, getSource, setLoggingHandler, setSource, write |
| Constructor Detail |
|---|
public SimpleExampleSet(ExampleTable exampleTable)
MemoryExampleTable, you
should use the method AbstractExampleTable.createExampleSet() instead unless
you are absolutely sure what you are doing.
public SimpleExampleSet(ExampleTable exampleTable,
java.util.List<Attribute> regularAttributes)
MemoryExampleTable, you
should use the method AbstractExampleTable.createExampleSet() instead unless
you are absolutely sure what you are doing.
public SimpleExampleSet(ExampleTable exampleTable,
java.util.Map<Attribute,java.lang.String> specialAttributes)
MemoryExampleTable, you
should use the method AbstractExampleTable.createExampleSet(Map) instead unless
you are absolutely sure what you are doing.
public SimpleExampleSet(ExampleTable exampleTable,
java.util.List<Attribute> regularAttributes,
java.util.Map<Attribute,java.lang.String> specialAttributes)
MemoryExampleTable, you
should use the method AbstractExampleTable.createExampleSet(Map) instead unless
you are absolutely sure what you are doing.
public SimpleExampleSet(SimpleExampleSet exampleSet)
| Method Detail |
|---|
public Attributes getAttributes()
ExampleSet
public ExampleTable getExampleTable()
ExampleSet
public int size()
ExampleSet
public Example getExample(int index)
ExampleSetExampleReader should be used.
public java.util.Iterator<Example> iterator()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||