|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.base.node.mine.bfn.BasisFunctionPredictorRow
org.knime.base.node.mine.bfn.fuzzy.FuzzyBasisFunctionPredictorRow
public class FuzzyBasisFunctionPredictorRow
| Constructor Summary | |
|---|---|
|
FuzzyBasisFunctionPredictorRow(ModelContentRO pp)
Creates a new predictor as fuzzy rule. |
protected |
FuzzyBasisFunctionPredictorRow(RowKey key,
DataCell classLabel,
MembershipFunction[] mem,
int norm)
Creates a new predictor as fuzzy rule. |
| Method Summary | |
|---|---|
double |
compose(DataRow row,
double act)
Composes the degree of membership by using the disjunction of the tco-norm operator. |
double |
computeActivation(DataRow row)
Returns the compute activation of this input vector. |
double |
computeDistance(DataRow row)
|
double |
computeSpread()
Returns the aggregated spread of the core. |
MutableDouble[] |
getMaxs()
|
MembershipFunction |
getMemship(int i)
Returns the membership for one dimension. |
MembershipFunction[] |
getMemships()
|
MutableDouble[] |
getMins()
|
int |
getNorm()
|
int |
getNrMemships()
Return number of memberships which is equivalent to the number of numeric input dimensions. |
int |
getNrUsedFeatures()
|
double |
overlap(BasisFunctionPredictorRow bf,
boolean symmetric)
Computes the overlapping of two fuzzy basisfunction based on their core spreads. |
void |
save(ModelContentWO pp)
Saves this row into a model content. |
| Methods inherited from class org.knime.base.node.mine.bfn.BasisFunctionPredictorRow |
|---|
getClassLabel, getDontKnowClassDegree, getId, getNumAllCoveredPattern, getNumCorrectCoveredPattern, getNumWrongCoveredPattern, getVariance, overlapping, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected FuzzyBasisFunctionPredictorRow(RowKey key,
DataCell classLabel,
MembershipFunction[] mem,
int norm)
key - The id for this rule.classLabel - The class label of this rule.mem - An array of membership functions each per dimension.norm - A fuzzy norm to combine activations via all dimensions.
public FuzzyBasisFunctionPredictorRow(ModelContentRO pp)
throws InvalidSettingsException
pp - Content to read rule from.
InvalidSettingsException - If the content is invalid.| Method Detail |
|---|
public double overlap(BasisFunctionPredictorRow bf,
boolean symmetric)
overlap in class BasisFunctionPredictorRowbf - the other fuzzy basis functionsymmetric - if the result is proportional to both basis functions,
and thus symmetric, or if it is proportional to the area of
the basis function on which the function is called
public int getNrMemships()
public MembershipFunction getMemship(int i)
i - Dimension index.
public MembershipFunction[] getMemships()
public void save(ModelContentWO pp)
save in class BasisFunctionPredictorRowpp - the model content to save this row to
public double compose(DataRow row,
double act)
compose in class BasisFunctionPredictorRowrow - rowact - activation
computeActivation(DataRow),
Norm.computeTCoNorm(double,double)public double computeActivation(DataRow row)
computeActivation in class BasisFunctionPredictorRowrow - input pattern
public double computeDistance(DataRow row)
computeDistance in class BasisFunctionPredictorRowrow - to compute distance with
public double computeSpread()
computeSpread in class BasisFunctionPredictorRowpublic int getNrUsedFeatures()
getNrUsedFeatures in class BasisFunctionPredictorRowpublic final int getNorm()
public final MutableDouble[] getMins()
public final MutableDouble[] getMaxs()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||