|
||||||||||
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.SotaDoubleCell
public class SotaDoubleCell
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.knime.core.data.DoubleValue |
---|
DoubleValue.DoubleUtilityFactory |
Nested classes/interfaces inherited from interface org.knime.core.data.DataValue |
---|
DataValue.UtilityFactory |
Field Summary |
---|
Fields inherited from interface org.knime.core.data.DoubleValue |
---|
UTILITY |
Constructor Summary | |
---|---|
SotaDoubleCell(double value)
Creates new instance of SotaCell with given value. |
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 |
getDoubleValue()
|
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 SotaDoubleCell(double value)
value
- value to setMethod Detail |
---|
public double getDoubleValue()
getDoubleValue
in interface DoubleValue
double
value.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 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |