<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">Hi Greg,
<div><br /></div>
<div>I don't know how specific it is to NumPy, but that's definitely the correct way to talk about it in NumPy, and your understanding in your example is spot-on. This is true of many NumPy functions.</div>
<div><br /></div>
<div>Juan.</div>
</div>
<div name="messageReplySection"><br />
On 30 Dec. 2016, 9:08 AM +1100, greg g <greg315@hotmail.fr>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Thanks</p>
<p>Is this a numpy specific terminology ?</p>
<p>For a multidimensionnal array with dimension=n and size l1 x l2 x ... x ln, does "along axis=0" mean that <span>l2 x..x ln</span> operations are performed <span>scrolling first dimension</span>, each operation on l1 elements,  and that an array with dimension n-1 and size l2 x..x ln containing the operations results is returned?</p>
<p>( Finally I'm not sure this sentence really clarify ... ;-) )<br /></p>
<div id="Signature"></div>
<br />
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%" />
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>De :</b> scikit-learn <scikit-learn-bounces+greg315=hotmail.fr@python.org> de la part de Jacob Schreiber <jmschreiber91@gmail.com><br />
<b>Envoyé :</b> jeudi 29 décembre 2016 20:22<br />
<b>À :</b> Scikit-learn user and developer mailing list<br />
<b>Objet :</b> Re: [scikit-learn] numpy.amin behaviour with multidimensionnal arrays</font>
<div> </div>
</div>
<div>
<div dir="ltr">It means that instead of returning the minimum value anywhere in the entire matrix, it will return the minimum value for each column or each row depending on which axis you put in, so a vector instead of a scalar.</div>
<div class="gmail_extra"><br />
<div class="gmail_quote">On Thu, Dec 29, 2016 at 6:00 AM, greg g <span dir="ltr"><<a href="mailto:greg315@hotmail.fr" target="_blank">greg315@hotmail.fr</a>></span> wrote:<br />
<blockquote class="gmail_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">
<div dir="ltr">
<div id="m_-1533168754510631336divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi,</p>
<p>I would like to understand the behaviour of the scipy.spatial.kdtree<a id="m_-1533168754510631336LPNoLP" href="http://aka.ms/weboutlook" target="_blank"></a> class that uses numpy.amin function.</p>
<p>In the numpy.amin description, we find that it returns the "<span class="m_-1533168754510631336pl-s">minimum value along a given axis"</span></p>
<p><span class="m_-1533168754510631336pl-s">What does it mean exactly ?</span></p>
<p><span class="m_-1533168754510631336pl-s"><br /></span></p>
<p><span class="m_-1533168754510631336pl-s">Thanks for any help</span></p>
<p><span class="m_-1533168754510631336pl-s">Gregory<br /></span></p>
<p><br /></p>
<div id="m_-1533168754510631336Signature"></div>
</div>
</div>
<br />
______________________________<wbr />_________________<br />
scikit-learn mailing list<br />
<a href="mailto:scikit-learn@python.org">scikit-learn@python.org</a><br />
<a href="https://mail.python.org/mailman/listinfo/scikit-learn" rel="noreferrer" target="_blank">https://mail.python.org/<wbr />mailman/listinfo/scikit-learn</a><br />
<br /></blockquote>
</div>
<br /></div>
</div>
</div>
</div>
_______________________________________________<br />
scikit-learn mailing list<br />
scikit-learn@python.org<br />
https://mail.python.org/mailman/listinfo/scikit-learn<br /></blockquote>
</div>
</body>
</html>