I wrote the spatial pooler in VB.net, but I need to know if it is working right.
First I trained it by showing it all numbers between 1 and 134.
Then I tried feeding in some numbers to see what the SDRs would look like, and I pasted results below. I am using 134 buckets for values that range from 0 to 134, and I am using global inhibition with at most 40 columns on at any time. The stats below tell you for instance that when I fed in ‘7’ and it got encoded and then produced an SDR, that resulting SDR had 32 active columns, and 30 of those were in common with the SDR that I got when I fed in an input of ‘6’. But you can also see that values of ‘4’ and ‘5’ gave identical SDRS. So is my program working? If not, is there a way to know when it is?
Here is the data:
input of 7 gives: 32 active columns:
2008,2010,2012,2013,2014,2015,2017,2019,2021,2022,2024,2025,2027,2028,2029,2030,2031,2032,2034,2035,2036,2037,2038,2039,2040,2041,2042,2043,2044,2045,2046,2047
There are 30 values in common with the prior SDR (below this one in the textbox)
input of 6 gives: 32 active columns:
2008,2010,2012,2013,2014,2017,2018,2019,2021,2022,2024,2025,2026,2027,2028,2029,2030,2031,2032,2035,2036,2037,2038,2039,2040,2041,2042,2043,2044,2045,2046,2047
There are 32 values in common with the prior SDR (below this one in the textbox)
input of 5 gives: 32 active columns:
2008,2010,2012,2013,2014,2017,2018,2019,2021,2022,2024,2025,2026,2027,2028,2029,2030,2031,2032,2035,2036,2037,2038,2039,2040,2041,2042,2043,2044,2045,2046,2047
There are 32 values in common with the prior SDR (below this one in the textbox)
input of 4 gives: 32 active columns:
2008,2010,2012,2013,2014,2017,2018,2019,2021,2022,2024,2025,2026,2027,2028,2029,2030,2031,2032,2035,2036,2037,2038,2039,2040,2041,2042,2043,2044,2045,2046,2047
There are 31 values in common with the prior SDR (below this one in the textbox)
input of 3 gives: 31 active columns:
2008,2010,2012,2013,2014,2017,2018,2019,2021,2022,2024,2025,2026,2027,2028,2029,2030,2031,2032,2035,2036,2037,2038,2039,2040,2041,2042,2043,2044,2045,2046