|
||||||||||
| 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 data| Method Detail |
|---|
public double[] getData(int index)
getData in interface LearningDataModelindex - index of data
public java.lang.String toString()
toString in interface LearningDataModeltoString in class java.lang.Objectpublic int getDataSize()
getDataSize in interface LearningDataModelpublic int getVectorSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||