|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.base.node.mine.sota.predictor.SotaPredictorCellFactory
public class SotaPredictorCellFactory
Constructor Summary | |
---|---|
SotaPredictorCellFactory(SotaTreeCell root,
int[] indicesOfIncludedColumns,
String distance)
Creates new instance of SotaPredictorCellFactory with given
SotaManager , array of indices of columns to use for
prediction and the distance metric to use. |
Method Summary | |
---|---|
DataCell[] |
getCells(DataRow row)
Get the new cells for a given row. |
DataColumnSpec[] |
getColumnSpecs()
The column specs for the cells that are generated in the getCells() method. |
void |
setProgress(int curRowNr,
int rowCount,
RowKey lastKey,
ExecutionMonitor exec)
This method is called when a row has been processed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SotaPredictorCellFactory(SotaTreeCell root, int[] indicesOfIncludedColumns, String distance)
SotaPredictorCellFactory
with given
SotaManager
, array of indices of columns to use for
prediction and the distance metric to use.
root
- The SotaManager
to set.indicesOfIncludedColumns
- The array of indices of columns to use
for prediction.distance
- The distance to use.Method Detail |
---|
public DataCell[] getCells(DataRow row)
getCells
in interface CellFactory
row
- The row of interest.
public DataColumnSpec[] getColumnSpecs()
getColumnSpecs
in interface CellFactory
public void setProgress(int curRowNr, int rowCount, RowKey lastKey, ExecutionMonitor exec)
Note, you don't need to check exec.checkCanceled()
in
the implementation as this is done in the calling class.
setProgress
in interface CellFactory
curRowNr
- The number of the row just processedrowCount
- The total number of rows.lastKey
- The row's key.exec
- The execution monitor to report progress to.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |