|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--saaps.ann.WeightsCreator
The WeightsCreator
class is used to read weight data
from an ASCII file.
Constructor Summary | |
WeightsCreator()
|
Method Summary | |
static Weights[] |
read(java.lang.String fileName)
Read the weights from an ASCII file and create an array of Weights objects. |
static Weights[] |
read(java.lang.String fileName,
int numOfInputs)
Deprecated. This method is replaced by read(String). |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public WeightsCreator()
Method Detail |
public static Weights[] read(java.lang.String fileName)
Weights
objects. The ASCII file must have the
following format:
m | n | |||
w(1,1) | w(1,2) | ... | w(1,n) | b(1) |
w(2,1) | w(2,2) | ... | w(2,n) | b(2) |
... | ... | ... | ... | ... |
w(m,1) | w(m,2) | ... | w(m,n) | b(m) |
fileName
- The file name of the ASCII weights file.Weights
public static Weights[] read(java.lang.String fileName, int numOfInputs)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |