a set of C++ library classes
for neural networks development



Input data file

File for storing the input data
File for storing the input data used for training and/or testing learning machines. It is a simple ASCII file. Each line of the file corresponds to an example, storing its attributes and the label of the class. Each attribute must be separated by a separator character (default a comma) and each row must be terminated by a carriage return. The label of the class can be an integer number or a string.

Format of a single line with n attributes:
attribute 1 (double), attribute 2 (double), ... , attribute n (double), class label (unsigned or string)

See also the application dodata and the class patgen Example:

This is a a 6-classes data file generated by the NEURObjects application dodata. Each example has 3 attributes and the label of the class is an integer:

 
1.87181,2.49247,1.42023,1
1.63181,1.55918,1.70274,1
1.97169,3.01247,1.86947,1
1.78276,1.79857,2.70454,1
2.89509,2.25347,2.21949,1
2.62487,2.02011,1.68876,1
2.73464,2.44683,1.23219,1
1.77609,1.7237,-0.0354173,1
2.05145,1.84728,2.22052,1
2.06513,2.23131,0.733277,1
2.07093,2.12197,3.36588,1
1.26777,2.67512,4.42923,1
2.11719,2.04713,1.79505,1
1.23131,2.36086,2.48361,1
2.84836,1.5555,2.60328,1
2.99356,1.33187,1.24193,1
1.13648,1.65509,1.52948,1
1.14038,2.48071,1.11122,1
1.9341,1.54817,1.75051,1
1.93471,2.20168,1.77502,1
1.45103,4.16558,7.16445,2
2.00057,2.68943,7.83215,2
2.4809,4.9149,10.4818,2
0.93636,3.31856,9.06931,2
1.54006,5.67433,8.69199,2
2.52703,3.66352,8.32718,2
2.50228,2.91274,9.08895,2
1.58893,2.95297,7.82345,2
1.57536,3.04433,8.09714,2
2.06307,3.57451,9.35026,2
1.66427,3.89172,6.42949,2
2.40039,2.6522,6.97105,2
1.83225,2.92566,8.85629,2
1.77573,3.27834,8.35355,2
2.04463,2.75886,7.78835,2
1.71931,3.65737,7.83726,2
1.58042,8.52981,2.8879,3
1.58453,7.20207,3.33641,3
2.24416,8.36355,2.89261,3
1.91709,7.93503,3.03451,3
1.94962,7.96001,2.87389,3
2.31195,9.34391,3.28429,3
1.76065,7.64169,3.22971,3
1.7927,7.97934,3.23529,3
2.23136,7.10347,2.78746,3
2.02013,8.45257,3.22684,3
2.81728,7.96035,3.16159,3
1.38147,7.99635,2.9438,3
1.54987,8.31255,3.29455,3
2.71407,7.729,2.9735,3
2.16549,8.16919,2.86528,3
2.23328,8.28376,3.0556,3
2.2149,8.06539,3.11037,3
1.71058,8.60753,2.83695,3
1.3388,8.64109,2.80563,3
2.83543,7.90481,2.7208,3
2.53864,8.50418,3.08001,3
1.51082,7.94166,2.96659,3
7.88819,6.82498,2.06009,4
8.193,6.40568,1.75851,4
8.05467,9.0863,2.33321,4
7.27384,8.00732,1.61943,4
8.9842,7.40527,2.93925,4
6.92088,7.03394,1.91018,4
7.30953,7.50001,1.55186,4
8.80377,6.99735,1.8795,4
8.27474,7.74522,1.91246,4
6.56861,7.31201,1.55898,4
7.1413,7.5128,1.24824,4
8.25763,8.56675,1.9988,4
9.79646,7.76334,2.75989,4
8.44288,8.98865,1.72116,4
11.4875,8.40983,1.3215,4
8.41063,8.62049,3.24984,4
7.56844,8.97475,1.86534,4
8.76464,10.2409,2.10427,4
9.73439,7.92786,2.07983,4
8.22997,9.1461,1.57278,4
8.71649,8.19517,2.22494,4
8.45382,6.36469,2.60006,4
7.52985,8.48427,2.18179,4
6.77602,0.780241,6.22615,5
7.90808,1.90269,5.78437,5
6.78143,0.956604,5.37599,5
8.95721,1.55649,5.42287,5
6.93872,2.51481,6.19823,5
7.13572,2.1292,6.35729,5
6.76157,1.73407,5.38754,5
8.58988,2.0583,5.43432,5
7.34637,1.60092,5.13182,5
8.65179,2.59193,6.20064,5
7.11099,1.87187,6.05782,5
8.46789,2.2359,6.89738,5
8.14379,1.60473,6.86343,5
7.96259,1.53097,5.39231,5
7.87845,3.20677,5.62288,5
7.39545,2.42842,5.15688,5
7.76687,2.82808,5.83525,5
7.30665,1.83393,6.24493,5
7.63762,7.56929,8.31674,6
5.54567,8.12655,7.33813,6
8.30532,7.87943,7.70142,6
7.8782,7.46724,8.17616,6
8.06212,8.32139,6.94617,6
7.641,8.44833,8.55769,6
9.0415,7.83864,7.82969,6
8.99028,7.14931,7.81043,6
7.69937,8.7298,7.85784,6
7.91683,6.91911,7.92424,6
7.45119,9.06124,7.53976,6
6.67261,7.76272,8.70024,6
9.18597,8.29242,7.96394,6
7.25674,8.4993,7.23147,6
7.88096,8.13427,9.08918,6
7.80092,8.67167,8.3936,6
7.97389,8.00255,8.69711,6

Alphabetic index Hierarchy of classes


Last Updated February 2001
For comments and suggestions mail to Giorgio Valentini