|
||||||||||
| 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.HeaderExampleSet
public class HeaderExampleSet
This example set is a clone of the attributes without reference to any data.
Therefore it can be used as a data header description. Since no data reference
exist, all example based methods will throw an UnsupportedOperationException.
| Constructor Summary | |
|---|---|
HeaderExampleSet(ExampleSet parent)
|
|
HeaderExampleSet(HeaderExampleSet other)
Header example set clone constructor. |
|
| Method Summary | |
|---|---|
Attributes |
getAttributes()
Returns the data structure holding all attributes. |
Example |
getExample(int index)
Returns the i-th example. |
Example |
getExampleFromId(double value)
Returns the example with the given id value. |
ExampleTable |
getExampleTable()
Returns the underlying example table. |
java.util.Iterator<Example> |
iterator()
|
void |
remapIds()
Remaps all ids. |
int |
size()
Returns the number of examples in this example set. |
| Methods inherited from class com.rapidminer.example.set.AbstractExampleSet |
|---|
clone, copy, createDataTable, equals, getActions, getExampleIndicesFromId, getExtension, getFileDescription, getName, getResultIcon, getStatistics, getStatistics, getVisualizationComponent, getVisualizationComponent, hashCode, recalculateAllAttributeStatistics, recalculateAttributeStatistics, toString, writeAttributeFile, writeDataFile, writeSparseAttributeFile, writeSparseDataFile |
| Methods inherited from class com.rapidminer.operator.ResultObjectAdapter |
|---|
addAction, isSavable, log, logError, logNote, logWarning, save, toHTML, toResultString |
| Methods inherited from class com.rapidminer.operator.AbstractIOObject |
|---|
getLog, getSource, initWriting, 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 |
|---|
toResultString |
| Methods inherited from interface com.rapidminer.operator.IOObject |
|---|
getLog, getSource, setLoggingHandler, setSource, write |
| Constructor Detail |
|---|
public HeaderExampleSet(ExampleSet parent)
public HeaderExampleSet(HeaderExampleSet other)
| Method Detail |
|---|
public Attributes getAttributes()
ExampleSet
public Example getExample(int index)
ExampleSetExampleReader should be used.
public Example getExampleFromId(double value)
ExampleSet
getExampleFromId in interface ExampleSetgetExampleFromId in class AbstractExampleSetpublic ExampleTable getExampleTable()
ExampleSet
public void remapIds()
ExampleSetExampleSet.getExampleFromId(double)
is used.
remapIds in interface ExampleSetremapIds in class AbstractExampleSetpublic int size()
ExampleSet
public java.util.Iterator<Example> iterator()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||