|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.base.node.mine.cluster.fuzzycmeans.ClusterMembershipFactory
public class ClusterMembershipFactory
This CellFactory
produces appended cells: for each DataRow
the memberships to the cluster prototypes and the winner cluster in the last
column.
Constructor Summary | |
---|---|
ClusterMembershipFactory(FCMAlgorithm algo)
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 ClusterMembershipFactory(FCMAlgorithm algo)
algo
- the trained FCM-modelMethod 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 |