2014-02-10 12:56 GMT+01:00 Pedro Cardoso <karud...@gmail.com>:
> 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]

This is a known issue [1] that has already been fixed in the master branch [2].

https://github.com/scikit-learn/scikit-learn/pull/2545
https://github.com/scikit-learn/scikit-learn/commit/13a83155eb46608ab357123bdb93c4f087111999

------------------------------------------------------------------------------
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

Reply via email to