|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.base.node.mine.svm.predictor.SVMPredictor
public class SVMPredictor
This CellFactory produces the class values for each
input DataRow.
| Constructor Summary | |
|---|---|
SVMPredictor(Svm[] svms,
int[] colindices)
Constructor. |
|
| 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 SVMPredictor(Svm[] svms,
int[] colindices)
svms - the Support Vector Machine(s) to use.colindices - the column indices to use in each row.| Method Detail |
|---|
public DataCell[] getCells(DataRow row)
getCells in interface CellFactoryrow - 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 CellFactorycurRowNr - 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 | |||||||||