|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.base.node.mine.bfn.BasisFunctionFactory
org.knime.base.node.mine.bfn.fuzzy.FuzzyBasisFunctionFactory
public class FuzzyBasisFunctionFactory
Basic interface for all basis function algorithms. Provides the function getNewBasisFunction() to initialise a new prototype. This interface is needed in order to create new prototypes in the general BasisFunctionLearner. Hence a BasisFunctionLearner would be initialised with an object of type BasisFunctionFactory. It is used as factory to create basisfunctions. One implementation of the BasisFunctionFactory; here represents the FuzzyBasisFunctionFactory object.
FuzzyBasisFunctionLearnerRow
,
commit(RowKey, DataCell, DataRow)
Field Summary |
---|
Fields inherited from class org.knime.base.node.mine.bfn.BasisFunctionFactory |
---|
CLASS_COLUMN |
Constructor Summary | |
---|---|
FuzzyBasisFunctionFactory(int norm,
int shrink,
DataTableSpec spec,
String[] targetColumns,
int distance)
Creates a new factory fuzzy basisfunction along with a Norm and a
Shrink function. |
Method Summary | |
---|---|
BasisFunctionLearnerRow |
commit(RowKey key,
DataCell classInfo,
DataRow row)
Creates and returns a new row initialised with a class label and a center vector. |
int |
getNorm()
Returns the upper bound for conflicting instances. |
int |
getShrink()
Returns the lower bound for non-conflicting instances. |
void |
save(ModelContent pp)
Saves to model content. |
Methods inherited from class org.knime.base.node.mine.bfn.BasisFunctionFactory |
---|
createModelSpec, findDataColumns, getDistance, getMaximums, getMinimums, getModelSpec |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FuzzyBasisFunctionFactory(int norm, int shrink, DataTableSpec spec, String[] targetColumns, int distance)
Norm
and a
Shrink
function.
norm
- the choice of fuzzy normshrink
- the choice of shrink procedurespec
- the data to retrieve all columns and class info fromtargetColumns
- the class info column in the datadistance
- the choice of distance functionMethod Detail |
---|
public BasisFunctionLearnerRow commit(RowKey key, DataCell classInfo, DataRow row)
commit
in class BasisFunctionFactory
key
- the key for this rowrow
- the initial center vectorclassInfo
- the class info
public final int getNorm()
public final int getShrink()
public void save(ModelContent pp)
save
in class BasisFunctionFactory
pp
- the model content this is saved to.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |