|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.base.node.mine.sota.logic.SotaFuzzyCell
public final class SotaFuzzyCell
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.knime.core.data.FuzzyIntervalValue |
---|
FuzzyIntervalValue.FuzzyIntervalUtilityFactory |
Nested classes/interfaces inherited from interface org.knime.core.data.FuzzyNumberValue |
---|
FuzzyNumberValue.FuzzyNumberUtilityFactory |
Nested classes/interfaces inherited from interface org.knime.core.data.DataValue |
---|
DataValue.UtilityFactory |
Field Summary |
---|
Fields inherited from interface org.knime.core.data.FuzzyIntervalValue |
---|
UTILITY |
Fields inherited from interface org.knime.core.data.FuzzyNumberValue |
---|
UTILITY |
Constructor Summary | |
---|---|
SotaFuzzyCell(double minSupp,
double minCore,
double maxCore,
double maxSupp)
Creates new instance of SotaFuzzyCell with given min, max support and core region. |
Method Summary | |
---|---|
void |
adjustCell(DataCell cell,
double learningrate)
Adjusts the cells value related to the given cell with given learningrate. |
SotaCell |
clone()
Clones the SotaCell instance and returns the clone. |
double |
getCenterOfGravity()
|
double |
getCore()
|
double |
getMaxCore()
|
double |
getMaxSupport()
|
double |
getMinCore()
|
double |
getMinSupport()
|
String |
getType()
|
double |
getValue()
Returns a double value of the cell. |
void |
loadFrom(ModelContentRO modelContent)
Loads the values from the given ModelContentWO . |
void |
saveTo(ModelContentWO modelContent)
Saves the value of the SotaCell to the given
ModelContentWO . |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SotaFuzzyCell(double minSupp, double minCore, double maxCore, double maxSupp)
minSupp
- minimal support valueminCore
- minimal core valuemaxCore
- maximal support valuemaxSupp
- maximal core valueMethod Detail |
---|
public void adjustCell(DataCell cell, double learningrate)
adjustCell
in interface SotaCell
cell
- cell to adjust SotaCell withlearningrate
- learningrate to adjust cell value withpublic double getValue()
getValue
in interface SotaCell
public double getMinSupport()
getMinSupport
in interface FuzzyIntervalValue
getMinSupport
in interface FuzzyNumberValue
public double getMinCore()
getMinCore
in interface FuzzyIntervalValue
public double getMaxCore()
getMaxCore
in interface FuzzyIntervalValue
public double getMaxSupport()
getMaxSupport
in interface FuzzyIntervalValue
getMaxSupport
in interface FuzzyNumberValue
public double getCenterOfGravity()
getCenterOfGravity
in interface FuzzyIntervalValue
public SotaCell clone()
clone
in interface SotaCell
clone
in class Object
public void loadFrom(ModelContentRO modelContent) throws InvalidSettingsException
ModelContentWO
.
loadFrom
in interface SotaCell
modelContent
- The ModelContentWO
to load the values
from.
InvalidSettingsException
- If setting to load is not valid.public void saveTo(ModelContentWO modelContent)
SotaCell
to the given
ModelContentWO
.
saveTo
in interface SotaCell
modelContent
- The ModelContentWO
to save the values
to.public String getType()
getType
in interface SotaCell
public double getCore()
getCore
in interface FuzzyNumberValue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |