Popular recipes by Alexander Pletzer http://code.activestate.com/recipes/users/4190754/2015-02-08T15:24:11-08:00ActiveState Code RecipesDelaunay triangulation (Python)
2015-02-08T15:24:11-08:00Alexander Pletzerhttp://code.activestate.com/recipes/users/4190754/http://code.activestate.com/recipes/579021-delaunay-triangulation/
<p style="color: grey">
Python
recipe 579021
by <a href="/recipes/users/4190754/">Alexander Pletzer</a>
(<a href="/recipes/tags/delaunay/">delaunay</a>, <a href="/recipes/tags/edge/">edge</a>, <a href="/recipes/tags/point/">point</a>, <a href="/recipes/tags/set/">set</a>, <a href="/recipes/tags/tessellation/">tessellation</a>, <a href="/recipes/tags/triangles/">triangles</a>, <a href="/recipes/tags/triangulation/">triangulation</a>, <a href="/recipes/tags/vertices/">vertices</a>).
</p>
<p>Given a set of points, this code will construct a Delaunay triangulation.</p>
Teach your computer a few tricks (Python)
2014-09-11T06:25:14-07:00Alexander Pletzerhttp://code.activestate.com/recipes/users/4190754/http://code.activestate.com/recipes/578932-teach-your-computer-a-few-tricks/
<p style="color: grey">
Python
recipe 578932
by <a href="/recipes/users/4190754/">Alexander Pletzer</a>
(<a href="/recipes/tags/anl/">anl</a>, <a href="/recipes/tags/back/">back</a>, <a href="/recipes/tags/network/">network</a>, <a href="/recipes/tags/neural/">neural</a>, <a href="/recipes/tags/propagation/">propagation</a>).
</p>
<p>Following is an artifical neural network program that takes any number of inputs and any number of hidden layers, and spits out an output. It applies back propagation with regularization to minimize the cost function. A gradient descent algorithm tries to find the minimum of the cost function in the landscape of weights. </p>