|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--lnsc.AbstractFunctionalUnit
|
+--lnsc.AbstractSimpleUnit
|
+--lnsc.LinearUnit
A univariate single-valued linear function. Principally used as input
in neural networks. It has the form: f(x) = factor*x + offset.
| Nested Class Summary |
| Nested classes inherited from class lnsc.FunctionalUnit |
FunctionalUnit.ProcessPatternResult |
| Field Summary |
| Fields inherited from interface lnsc.FunctionalUnit |
EMPTY_PATTERN |
| Constructor Summary | |
LinearUnit()
Creates a simple linear unit with Factor=1.0 and Offset=0.0. |
|
LinearUnit(double newFactor,
double newOffset)
Creates a simple linear unit with given factor and offset. |
|
| Method Summary | |
java.lang.String |
toString()
|
| Methods inherited from class lnsc.AbstractSimpleUnit |
getFactor, getOffset, processPattern, setFactor, setOffset |
| Methods inherited from class lnsc.AbstractFunctionalUnit |
clone, getInputCount, getOutputCount, isDifferentiable, isStateless, isTwiceDifferentiable, processDataSet, reset |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public LinearUnit()
public LinearUnit(double newFactor,
double newOffset)
newFactor - Function factor.newOffset - Function offset.| Method Detail |
public java.lang.String toString()
toString in class AbstractSimpleUnit
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||