I’m experimenting with simplified algorithm of Spatial pooler.

My question is :

How do you measure the performance of the SP ?

Here are my current results of OVERLAP. The idea is to have similar OVERLAP ratio between the inputs and the outputs.

What I’m doing is to train with 300 random samples of numbers between 0 -to- 100.

The first picture is the overlap of the SP-input (i.e. ScalarEncoder output).

The second is the SP output.

!!! top left corner is the overlap between 0,0 … bottom right 100,100

Shape: (in_bits:500, out_bits:2000)

Sparsity: (in:0.1, out:0.02)

ON Bits count : (50,40)

Learn rate : 0.2

Distance type : euclidean

Boost learn rate : 0.1 (on:True)

does this score idea looks OK

RMSE% = MEAN( SQRT( ( in_overlap/max_in_overlap - out_overlap/max_out_overlap)**2) )

Does this look OK ?