jeffheaton / encog-dotnet-core

http://www.heatonresearch.com/encog
Other
430 stars 150 forks source link

Update ReadCSV.cs #117

Closed asad4237 closed 6 years ago

asad4237 commented 6 years ago

I am using this program in stock prediction and this is a common scenario in the stock prediction that value of some new ticker may be unknown.

First case: first expected value is missing in CSV, In this case, the first line was having less number of columns than the current line. //Sample data //0,0, //0,1,1 //1,0,1 //1,1,0 Second case: after first-line expected value is missing in CSV, In this case, the previous line was having more columns than current line, So reset the array so that it does not carry the old values into missing column. //Sample data //0,0,0 //0,1, //1,0,1 //1,1,0

asad4237 commented 6 years ago

Proposing a better and native alternative