On 09/20/2012 01:01 PM, Gael Varoquaux wrote:
> On Thu, Sep 20, 2012 at 12:58:56PM +0100, Andreas Mueller wrote:
>>       return np.min(np.vstack((v[None,:],v2[None,:])),axis=0).sum()
>>     I'm not sure what the None does here, I would write
> None create a new axis. For readability, one should always write
> v[np.newaxis, :], which is equivalent.
But this is not necessary here, so this is basically a weird way of writing

np.vstack([v, v2])

right?

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to