|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.base.node.mine.bfn.BasisFunctionFilterRow
final class BasisFunctionFilterRow
Inner class to separate an data input row into a new row which are the first n-1 double cells and returns the class label.
Constructor Summary | |
---|---|
BasisFunctionFilterRow(BasisFunctionLearnerTable model,
DataRow row,
int[] dataColumns,
int[] classColumns,
String[] classColumnNames,
BasisFunctionLearnerTable.MissingValueReplacementFunction missing)
Create new basisfunction input data row with data and class columns. |
Method Summary | |
---|---|
(package private) DataCell |
getBestClass()
|
DataCell |
getCell(int index)
Returns the DataCell at the provided index within this row. |
RowKey |
getKey()
Returns the row key. |
(package private) double |
getMatch(DataCell oClass)
Matching degree of the given class label. |
int |
getNumCells()
Returns the length of this row, that is the number of columns of the DataTable (not including the row key). |
Iterator<DataCell> |
iterator()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
BasisFunctionFilterRow(BasisFunctionLearnerTable model, DataRow row, int[] dataColumns, int[] classColumns, String[] classColumnNames, BasisFunctionLearnerTable.MissingValueReplacementFunction missing)
model
- the underlying basisfunction learnerrow
- the row to filter in data and class labeldataColumns
- indices of the data columnsclassColumns
- indices of the classification columnsclassColumnNames
- names of the target columnsmissing
- the missing value replacement functionMethod Detail |
---|
public int getNumCells()
getNumCells
in interface DataRow
public RowKey getKey()
getKey
in interface DataRow
public DataCell getCell(int index)
DataCell
at the provided index within this row.
getCell
in interface DataRow
index
- the index of the cell to retrieve (indices start from 0)
DataCell
at the given indexDataCell getBestClass()
double getMatch(DataCell oClass)
oClass
- class label
public Iterator<DataCell> iterator()
iterator
in interface Iterable<DataCell>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |