I believe there is another one at line 188
return - np.dot(v, self.intercept_visible_) - ...
ValueError: setting an array element with a sequence
In my case, v is a sparse matrix .
2014-02-10 17:17 GMT+01:00 Lars Buitinck <[email protected]>:
> 2014-02-10 12:56 GMT+01:00 Pedro Cardoso <[email protected]>:
> > 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience. Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general