|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkohonen.LearningData
public class LearningData
Obiect containing learning data. Data are stored as array with double values.
Constructor Summary | |
---|---|
LearningData(java.lang.String fileName)
Creates a new instance of LearningData. |
Method Summary | |
---|---|
double[] |
getData(int index)
Return ArrayList as vector of data |
int |
getDataSize()
Return numbers of data |
int |
getVectorSize()
Return length of the vector |
java.lang.String |
toString()
Return a string representation of the data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LearningData(java.lang.String fileName)
fileName
- path to the file with dataMethod Detail |
---|
public double[] getData(int index)
getData
in interface LearningDataModel
index
- index of data
public java.lang.String toString()
toString
in interface LearningDataModel
toString
in class java.lang.Object
public int getDataSize()
getDataSize
in interface LearningDataModel
public int getVectorSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |