davidrmiller / neural2d

Neural net optimized for 2D image data
MIT License
142 stars 69 forks source link

Limit of actual values in inputData format #27

Open Max-Lumnar opened 8 years ago

Max-Lumnar commented 8 years ago

is there a lenght limit for data provided direclty in the inputData.txt file? Is this data analyzed as a 2d map or linear?

Thank you

davidrmiller commented 8 years ago

@Max-Lumnar: There is currently a hardcoded limit of 16 kilobytes for the input data specified inside the { } curly braces in the inputData.txt file. Assuming you use an average of 8 bytes of text to specify each value, that's enough for a neural net of 2000 input neurons. If that's not enough, you could expand that to whatever you need.

It's not specified how the linear list of input values map onto the input neurons. If your net is fully connected, it shouldn't matter because of the symmetry, but if your net is sparsely connected in a manner that makes it directionally sensitive to the input data, then you may need to examine the ordering of those input values in Net::feedForward().