|
||||||||||
| 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.AttributeSelectionExampleSet
public class AttributeSelectionExampleSet
An implementation of ExampleSet that is only a fixed view on a selection of attributes of the parent example set.
| Constructor Summary | |
|---|---|
AttributeSelectionExampleSet(AttributeSelectionExampleSet exampleSet)
Clone constructor. |
|
AttributeSelectionExampleSet(ExampleSet exampleSet,
boolean[] selectionMask)
Constructs a new AttributeSelectionExampleSet. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Returns true, if all attributes including labels and other special attributes are equal. |
Attributes |
getAttributes()
Returns the attribute container. |
Example |
getExample(int index)
Returns the i-th example. |
ExampleTable |
getExampleTable()
Returns the underlying example table. |
int |
hashCode()
Returns the hash code of all attributes. |
java.util.Iterator<Example> |
iterator()
Creates a new example set reader. |
int |
size()
Returns the number of examples in this example set. |
| Methods inherited from class com.rapidminer.example.set.AbstractExampleSet |
|---|
clone, copy, createDataTable, getActions, getExampleFromId, getExampleIndicesFromId, getExtension, getFileDescription, getName, getResultIcon, getStatistics, getStatistics, getVisualizationComponent, getVisualizationComponent, recalculateAllAttributeStatistics, recalculateAttributeStatistics, remapIds, 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 AttributeSelectionExampleSet(ExampleSet exampleSet,
boolean[] selectionMask)
public AttributeSelectionExampleSet(AttributeSelectionExampleSet exampleSet)
| Method Detail |
|---|
public boolean equals(java.lang.Object o)
AbstractExampleSet
equals in interface ExampleSetequals in class AbstractExampleSetpublic int hashCode()
AbstractExampleSet
hashCode in interface ExampleSethashCode in class AbstractExampleSetpublic Attributes getAttributes()
public java.util.Iterator<Example> iterator()
public Example getExample(int index)
ExampleSetExampleReader should be used.
public ExampleTable getExampleTable()
ExampleSet
public int size()
ExampleSet
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||