Latest recipes tagged "scipy"http://code.activestate.com/recipes/tags/scipy/new/2010-05-01T18:04:39-07:00ActiveState Code RecipesIncremental PCA (Python)
2010-05-01T18:04:39-07:00Micha Kalfonhttp://code.activestate.com/recipes/users/4173851/http://code.activestate.com/recipes/577213-incremental-pca/
<p style="color: grey">
Python
recipe 577213
by <a href="/recipes/users/4173851/">Micha Kalfon</a>
(<a href="/recipes/tags/incremental/">incremental</a>, <a href="/recipes/tags/klt/">klt</a>, <a href="/recipes/tags/learning/">learning</a>, <a href="/recipes/tags/numpy/">numpy</a>, <a href="/recipes/tags/pca/">pca</a>, <a href="/recipes/tags/scipy/">scipy</a>, <a href="/recipes/tags/svd/">svd</a>, <a href="/recipes/tags/vision/">vision</a>).
</p>
<p>An incremental PCA algorithm in python. </p>
<p>Incremental PCA allows computing an approximation of the principal components on large data sets as observations are given sequentially.</p>
Quick Numerical Integration (Python)
2009-05-19T05:24:37-07:00alexander bakerhttp://code.activestate.com/recipes/users/4166679/http://code.activestate.com/recipes/576765-quick-numerical-integration/
<p style="color: grey">
Python
recipe 576765
by <a href="/recipes/users/4166679/">alexander baker</a>
(<a href="/recipes/tags/integration/">integration</a>, <a href="/recipes/tags/scipy/">scipy</a>).
</p>
<p>Quick Numerical Integration</p>
Newton Raphson Root Finding (Python)
2009-05-19T05:18:00-07:00alexander bakerhttp://code.activestate.com/recipes/users/4166679/http://code.activestate.com/recipes/576762-newton-raphson-root-finding/
<p style="color: grey">
Python
recipe 576762
by <a href="/recipes/users/4166679/">alexander baker</a>
(<a href="/recipes/tags/numerical/">numerical</a>, <a href="/recipes/tags/scipy/">scipy</a>).
</p>
<p>Newton Raphson Root Finding</p>
Energy Distrubution of Black Body (Python)
2009-05-19T05:17:03-07:00alexander bakerhttp://code.activestate.com/recipes/users/4166679/http://code.activestate.com/recipes/576761-energy-distrubution-of-black-body/
<p style="color: grey">
Python
recipe 576761
by <a href="/recipes/users/4166679/">alexander baker</a>
(<a href="/recipes/tags/black/">black</a>, <a href="/recipes/tags/body/">body</a>, <a href="/recipes/tags/energy/">energy</a>, <a href="/recipes/tags/physics/">physics</a>, <a href="/recipes/tags/pylab/">pylab</a>, <a href="/recipes/tags/scipy/">scipy</a>).
</p>
<p>Energy Distrubution of Black Body</p>
Poor man's mgrid (Python)
2009-01-21T15:37:13-08:00David Lamberthttp://code.activestate.com/recipes/users/4167420/http://code.activestate.com/recipes/576625-poor-mans-mgrid/
<p style="color: grey">
Python
recipe 576625
by <a href="/recipes/users/4167420/">David Lambert</a>
(<a href="/recipes/tags/index/">index</a>, <a href="/recipes/tags/index_tricks/">index_tricks</a>, <a href="/recipes/tags/method/">method</a>, <a href="/recipes/tags/mgrid/">mgrid</a>, <a href="/recipes/tags/numerical/">numerical</a>, <a href="/recipes/tags/numerical_methods/">numerical_methods</a>, <a href="/recipes/tags/numpy/">numpy</a>, <a href="/recipes/tags/scipy/">scipy</a>, <a href="/recipes/tags/trick/">trick</a>).
</p>
<p>Python 3 code.
scipy.mgrid is a useful!
This short implementation comes without installing numpy.</p>
Code to solve Smoluchowsky Equation (Python)
2008-10-31T06:25:13-07:00Lorenzo Isellahttp://code.activestate.com/recipes/users/4143130/http://code.activestate.com/recipes/576547-code-to-solve-smoluchowsky-equation/
<p style="color: grey">
Python
recipe 576547
by <a href="/recipes/users/4143130/">Lorenzo Isella</a>
(<a href="/recipes/tags/email_sending/">email_sending</a>, <a href="/recipes/tags/nonlinear/">nonlinear</a>, <a href="/recipes/tags/pylab/">pylab</a>, <a href="/recipes/tags/scipy/">scipy</a>, <a href="/recipes/tags/smoluchowski/">smoluchowski</a>).
</p>
<p>This is a research code which solves Smoluchowski equation for coalescing particles. It also can login into a gmail account (login data to be obviously provided by the user) and send an email with one of the generated output pdf files as an attachment.</p>