|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.base.node.mine.sota.logic.SotaHelper
public abstract class SotaHelper
The SotaHelper class helps the SotaManager to manage the tree. SotaHelper has to be implemented for helping the SotaManager with Fuzzy or Number data.
| Constructor Summary | |
|---|---|
SotaHelper(DataArray rowContainer,
ExecutionMonitor exec)
Constructor of SotaHelper, which sets the given rowContainer with the training data. |
|
| Method Summary | |
|---|---|
abstract void |
adjustSotaCell(SotaTreeCell cell,
DataRow row,
double learningrate,
String cellClass)
Adjusts the given SotaTreeCell related to the given
DataRow and learningrate and assigns the given class. |
int |
getDimension()
Returns the dimension. |
protected ExecutionMonitor |
getExec()
|
DataArray |
getRowContainer()
Returns the DataArray with the training data. |
abstract int |
initializeDimension()
Returns the number of a specific type of DataCells in a RowContainers row. |
abstract SotaTreeCell |
initializeTree()
Initializes the Sota tree with specific SotaCells like SotaFuzzyCell or SotaDoubleCell. |
protected void |
setDimension(int dimension)
Sets the given dimension. |
protected void |
setExec(ExecutionMonitor exec)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SotaHelper(DataArray rowContainer,
ExecutionMonitor exec)
rowContainer - DataArray with the training dataexec - the ExecutionMonitor to set.| Method Detail |
|---|
public DataArray getRowContainer()
public int getDimension()
protected void setDimension(int dimension)
dimension - dimension to setpublic abstract int initializeDimension()
public abstract SotaTreeCell initializeTree()
throws CanceledExecutionException
CanceledExecutionException - if execution was canceled.
public abstract void adjustSotaCell(SotaTreeCell cell,
DataRow row,
double learningrate,
String cellClass)
SotaTreeCell related to the given
DataRow and learningrate and assigns the given class.
cell - cell to adjustrow - row to adjust the cell withlearningrate - learningrate to adjust the cell withcellClass - The class to assign to the cell.protected ExecutionMonitor getExec()
ExecutionMonitorprotected void setExec(ExecutionMonitor exec)
exec - the ExecutionMonitor to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||