|
||||||||||
| 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.radial.RadialBasisFunctionPredictorRow
public class RadialBasisFunctionPredictorRow
A PNN rule used to predict unknown data.
| Constructor Summary | |
|---|---|
(package private) |
RadialBasisFunctionPredictorRow(ModelContentRO pp)
Creates a new predictor row based on the given model content. |
protected |
RadialBasisFunctionPredictorRow(RowKey key,
DataRow center,
DataCell classLabel,
double thetaMinus,
int distance)
Creates a new predictor for PNN rules. |
| Method Summary | |
|---|---|
double |
compose(DataRow row,
double act)
Sum of the given activation plus the newly calculated one for the given row. |
double |
computeActivation(DataRow row)
Calculates the current activation of this basis function given a input row which is always between 0.0 and 1.0
using the the hereinafter called distance function. |
double |
computeDistance(DataRow row)
Computes the distance between this prototype's center vector and the given row. |
double |
computeSpread()
Returns the standard deviation of this radial basisfunction. |
int |
getDistance()
|
int |
getNrUsedFeatures()
|
(package private) double |
getStdDev()
|
(package private) boolean |
isNotShrunk()
|
double |
overlap(BasisFunctionPredictorRow bf,
boolean symmetric)
Computes the overlapping based on the standard deviation of both radial basisfunctions. |
void |
save(ModelContentWO pp)
Saves this row into a model content. |
(package private) void |
shrinkIt(double newStdDev)
Shrinks this rules standard deviation by the new value. |
String |
toString()
Returns a string representation of this basisfunction and the super implementation. |
| Methods inherited from class org.knime.base.node.mine.bfn.BasisFunctionPredictorRow |
|---|
getClassLabel, getDontKnowClassDegree, getId, getNumAllCoveredPattern, getNumCorrectCoveredPattern, getNumWrongCoveredPattern, getVariance, overlapping |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected RadialBasisFunctionPredictorRow(RowKey key,
DataRow center,
DataCell classLabel,
double thetaMinus,
int distance)
key - The id for this rule.center - The center vector.classLabel - The class label.thetaMinus - Theta minus.distance - Distance measurement.
RadialBasisFunctionPredictorRow(ModelContentRO pp)
throws InvalidSettingsException
pp - Model content to read this rule from.
InvalidSettingsException - If properties can't be read.| Method Detail |
|---|
public double overlap(BasisFunctionPredictorRow bf,
boolean symmetric)
overlap in class BasisFunctionPredictorRowsymmetric - 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.bf - the other radial basisfunction to compute the overlap with
true if both radial basisfunctions overlapfinal boolean isNotShrunk()
true If not yet shrunken.final double getStdDev()
public double computeSpread()
computeSpread in class BasisFunctionPredictorRowfinal void shrinkIt(double newStdDev)
newStdDev - The new value for the standard deviation.public final double computeDistance(DataRow row)
computeDistance in class BasisFunctionPredictorRowrow - the row to compute distance to
public final double compose(DataRow row,
double act)
compose in class BasisFunctionPredictorRowrow - row to get activationact - activation
computeActivation(DataRow)public final double computeActivation(DataRow row)
0.0 and 1.0
using the the hereinafter called distance function.
computeActivation in class BasisFunctionPredictorRowrow - the row to compute activation for
public void save(ModelContentWO pp)
save in class BasisFunctionPredictorRowpp - the model content to save this row topublic final String toString()
toString in class BasisFunctionPredictorRowpublic int getNrUsedFeatures()
getNrUsedFeatures in class BasisFunctionPredictorRowpublic final int getDistance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||