public class DynamicWeights
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
DynamicWeights(double[] params,
boolean clip,
boolean expand) |
DynamicWeights(java.util.Random random) |
| Modifier and Type | Method and Description |
|---|---|
double |
get(int index) |
int |
getLength() |
double[] |
getWeights() |
void |
increment(int index,
double update) |
void |
set(int index,
double update) |
void |
setExapnd(boolean expand) |
void |
setLength(int new_length) |
void |
setWeights(double[] weight) |
public DynamicWeights(java.util.Random random)
public DynamicWeights(double[] params,
boolean clip,
boolean expand)
public double[] getWeights()
public void setWeights(double[] weight)
public double get(int index)
public void increment(int index,
double update)
public void set(int index,
double update)
public int getLength()
public void setLength(int new_length)
public void setExapnd(boolean expand)