|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.base.node.mine.decisiontree2.learner.InMemoryTableCreator
public class InMemoryTableCreator
Creates an in memory representation of the given BufferedDataTable.
The table only includes valid attributes (nominal, numeric and the class
attribute).
| Constructor Summary | |
|---|---|
InMemoryTableCreator(BufferedDataTable table,
int classColumnIndex,
double minNumberRowsPerNode)
Creates a creator from the given table and the specified class index. |
|
InMemoryTableCreator(BufferedDataTable table,
int classColumnIndex,
double minNumberRowsPerNode,
boolean skipColumns)
Creates a creator from the given table and the specified class index. |
|
| Method Summary | |
|---|---|
InMemoryTable |
createInMemoryTable(ExecutionContext exec)
Creates the InMemoryTable. |
int |
getRemovedRowsDueToMissingClassValue()
Returns the number of rows removed during table creation due to missing class values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InMemoryTableCreator(BufferedDataTable table,
int classColumnIndex,
double minNumberRowsPerNode)
table - the data table from which to create the attribute listsclassColumnIndex - the class column indexminNumberRowsPerNode - the minimum number of nodes per leaf; used to
determine whether this tables distribution of class values is
pure enough
public InMemoryTableCreator(BufferedDataTable table,
int classColumnIndex,
double minNumberRowsPerNode,
boolean skipColumns)
table - the data table from which to create the attribute listsclassColumnIndex - the class column indexminNumberRowsPerNode - the minimum number of nodes per leaf; used to
determine whether this tables distribution of class values is
pure enoughskipColumns - true to skip nominal columns that have no domain
values information| Method Detail |
|---|
public InMemoryTable createInMemoryTable(ExecutionContext exec)
throws CanceledExecutionException
InMemoryTable.
exec - the ExecutionContext to report the progress to
InMemoryTable
CanceledExecutionException - thrown if the creation process is
canceled by the userpublic int getRemovedRowsDueToMissingClassValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||