I am using the version 0.14
I believe that there is a bug in defining the slices for the baches. ex: on
a matrix qith 1078 rows, the last batch is from 1070 to 1080.
Created with :
batch_slices = list(gen_even_slices(n_batches * self.batch_size,
n_batches))
I think the last batch should be maxed at X.shape[0]
Pedro
PS: Using sparse matrix. is this acceptable in BernoulliRBM ? I see not
reason why this should be a problem .
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general