org.knime.base.node.mine.sota.logic
Class SotaFuzzyHelper
java.lang.Object
org.knime.base.node.mine.sota.logic.SotaHelper
org.knime.base.node.mine.sota.logic.SotaFuzzyHelper
public class SotaFuzzyHelper
- extends SotaHelper
- Author:
- Kilian Thiel, University of Konstanz
Method Summary |
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 |
initializeDimension()
Returns the number of a specific type of DataCells in a RowContainers
row. |
SotaTreeCell |
initializeTree()
Initializes the Sota tree with specific SotaCells like SotaFuzzyCell or
SotaDoubleCell. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SotaFuzzyHelper
public SotaFuzzyHelper(DataArray rowContainer,
ExecutionMonitor exec)
- Creates new instance of SotaFuzzyHelper with given DataArray with the
training data.
- Parameters:
rowContainer
- the DataArray with the training dataexec
- the ExecutionMonitor
to set.
initializeDimension
public int initializeDimension()
- Returns the number of a specific type of DataCells in a RowContainers
row. What specific type of DataCells can be specified in the concrete
implementation (i.e. Fuzzy or Number).
- Specified by:
initializeDimension
in class SotaHelper
- Returns:
- the number of a specific type of DataCells
initializeTree
public SotaTreeCell initializeTree()
throws CanceledExecutionException
- Initializes the Sota tree with specific SotaCells like SotaFuzzyCell or
SotaDoubleCell. Which kind of SotaCell is used is specified in the
concrete implementation.
- Specified by:
initializeTree
in class SotaHelper
- Returns:
- the initialized tree with a ancestor node and two children cells
- Throws:
CanceledExecutionException
- if execution was canceled.
adjustSotaCell
public 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.
- Specified by:
adjustSotaCell
in class SotaHelper
- Parameters:
cell
- cell to adjustrow
- row to adjust the cell withlearningrate
- learningrate to adjust the cell withcellClass
- The class to assign to the cell.
Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display,
or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the
copyright owner or as specified in the license file distributed with this product.