|
||||||||||
| 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.radial.RadialBasisFunctionFactory
public class RadialBasisFunctionFactory
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 inter-class to init BasisFunction(s). One implementation of the BasisFunctionFactory; here represents the RadialBasisFunctionFactory object.
RadialBasisFunctionLearnerRow,
commit(RowKey, DataCell, DataRow)| Field Summary | |
|---|---|
(package private) static String |
THETA_MINUS
Key of theta minus. |
(package private) static String |
THETA_PLUS
Key of theta plus. |
| Fields inherited from class org.knime.base.node.mine.bfn.BasisFunctionFactory |
|---|
CLASS_COLUMN |
| Constructor Summary | |
|---|---|
protected |
RadialBasisFunctionFactory(double thetaMinus,
double thetaPlus,
int distance,
DataTableSpec spec,
String[] targetColumns)
Creates a new factory for a radial basis function learner. |
| Method Summary | |
|---|---|
BasisFunctionLearnerRow |
commit(RowKey key,
DataCell classInfo,
DataRow row)
Creates and returns a new RadialBasisFunctionLearnerRow
initialized with a center vector and a class label. |
double |
getThetaMinus()
Returns the upper bound for conflicting instances. |
double |
getThetaPlus()
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 |
| Field Detail |
|---|
static final String THETA_MINUS
static final String THETA_PLUS
| Constructor Detail |
|---|
protected RadialBasisFunctionFactory(double thetaMinus,
double thetaPlus,
int distance,
DataTableSpec spec,
String[] targetColumns)
thetaMinus - the upper bound activation for conflicting instancesthetaPlus - the lower bound activation for non-conflicting instancesdistance - the choice of distance functionspec - the input data to learn fromtargetColumns - the class info columns in the data| Method Detail |
|---|
public BasisFunctionLearnerRow commit(RowKey key,
DataCell classInfo,
DataRow row)
RadialBasisFunctionLearnerRow
initialized with a center vector and a class label.
commit in class BasisFunctionFactorykey - this row's keyrow - the initial center vectorclassInfo - the class info
public final double getThetaMinus()
public final double getThetaPlus()
public void save(ModelContent pp)
save in class BasisFunctionFactorypp - the model content this is saved to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||