|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.nengo.math.impl.GradientDescentApproximator.CoefficientsSameSign
public static class GradientDescentApproximator.CoefficientsSameSign
Forces all decoding coefficients to be >= 0.
| Constructor Summary | |
|---|---|
GradientDescentApproximator.CoefficientsSameSign(boolean positive)
|
|
| Method Summary | |
|---|---|
GradientDescentApproximator.Constraints |
clone()
|
boolean |
correct(float[] coefficients)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GradientDescentApproximator.CoefficientsSameSign(boolean positive)
| Method Detail |
|---|
public boolean correct(float[] coefficients)
correct in interface GradientDescentApproximator.Constraintscoefficients - A set of coefficients which may violate constraints (they
are altered as little as possible by this method so that they satisfy
constraints after the call)
GradientDescentApproximator.Constraints.correct(float[])
public GradientDescentApproximator.Constraints clone()
throws java.lang.CloneNotSupportedException
clone in interface GradientDescentApproximator.Constraintsclone in class java.lang.Objectjava.lang.CloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||