<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-21779938</id><updated>2011-04-21T16:47:29.544-07:00</updated><title type='text'>nature of code with zach layton</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://naturalzach.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21779938/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://naturalzach.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>zachlayton</name><uri>http://www.blogger.com/profile/00490420260497846284</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-21779938.post-114179975345860838</id><published>2006-03-07T21:16:00.005-08:00</published><updated>2006-03-07T23:12:31.736-08:00</updated><title type='text'>neural networks</title><content type='html'>&lt;a href="http://photos1.blogger.com/blogger/2651/2202/1600/JPG7_O%27Brien.0.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/2651/2202/320/JPG7_O%27Brien.0.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Neural Networks&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Some links to get started:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.jooneworld.com/"&gt;joone&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.jeffheaton.com/ai/"&gt;programming neural networks in java&lt;/a&gt;&lt;br /&gt;&lt;a href="http://fbim.fh-regensburg.de/~saj39122/jfroehl/diplom/e-index.html"&gt;neural networks w. java&lt;/a&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Artificial_Neural_Network"&gt;wikipedia&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;what are neural networks?&lt;br /&gt;&lt;br /&gt;-neural networks are interconnected groupings of biological neurons.  In our case, we're referring to &lt;i&gt; artificial &lt;/i&gt; neural networks, which simulate (roughly) the structure of a network of 'neurons'.  This technique has been particularly useful as a means of training computers to 'learn' complex parallel processing tasks such as pattern or speech recognition, decision making and data processing.&lt;br /&gt;&lt;br /&gt;types of neural networks:&lt;br /&gt;&lt;br /&gt;feedforward -  "In this network, the information moves in only one direction, forward, from the input nodes, through the hidden nodes (if any) and to the output nodes. There are no cycles or loops in the network." - wikipedia&lt;br /&gt;&lt;br /&gt;Single-layer perceptron - "a single layer of output nodes; the inputs are fed directly to the outputs via a series of weights. In this way it can be considered the simplest kind of feed-forward network. The sum of the products of the weights and the inputs is calculated in each node, and if the value is above some threshold (typically 0) the neuron fires and takes the activated value (typically 1); otherwise it takes the deactivated value (typically -1). " - ibid&lt;br /&gt;&lt;br /&gt;Recurrent networks - networks with bi-directional data flow.&lt;br /&gt;&lt;br /&gt;there are many more types, see wikipedia for more.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;basic structure:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;the neuron is the core of the structure...the basic building block.  It either receives input or sends output.  If the neuron is above or below a particular threshold, the neuron may fire (activate) or not fire (deactivate). &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;here's some simple code to express this idea in java:&lt;br /&gt;&lt;br /&gt;boolean thresholdFunction(double input)&lt;br /&gt;{&lt;br /&gt;  if( (input&gt;=5) &amp;&amp; (input&lt;=10) )&lt;br /&gt;    return true;&lt;br /&gt;  else&lt;br /&gt;    return false;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;in a neural network, we must determine the number of neurons in the network (x) and the weight between this neuron and all the other neurons in the network.  To do this, find the sum of all of the inputs x multiplied by the corresponding weight w. &lt;br /&gt;&lt;br /&gt;Adjusting the individual weights alters the overall behavior of the neural network and is a very important element in the use of neural networks.  &lt;br /&gt;&lt;br /&gt;Networks work in layers...generally the top layer acting as the input layer, then a number of 'hidden' layers in between, and then finally the output layer.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/2651/2202/1600/fig2ch2.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/2651/2202/320/fig2ch2.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Pattern Recognition:&lt;br /&gt;&lt;br /&gt;see &lt;a href="http://www.heatonresearch.com/articles/2/page4.html"&gt;autoassociation&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;how to build a neural network example in java from Joone:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.jooneworld.com/docs/sampleEngine.html"&gt;http://www.jooneworld.com/docs/sampleEngine.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;and from&lt;a href="http://www.heatonresearch.com/articles/3/page3.html"&gt; jeff heaton&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21779938-114179975345860838?l=naturalzach.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naturalzach.blogspot.com/feeds/114179975345860838/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=21779938&amp;postID=114179975345860838' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21779938/posts/default/114179975345860838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21779938/posts/default/114179975345860838'/><link rel='alternate' type='text/html' href='http://naturalzach.blogspot.com/2006/03/neural-networks_114179975345860838.html' title='neural networks'/><author><name>zachlayton</name><uri>http://www.blogger.com/profile/00490420260497846284</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21779938.post-114064022337520706</id><published>2006-02-22T12:28:00.000-08:00</published><updated>2006-02-22T12:38:57.146-08:00</updated><title type='text'>2d graphing code</title><content type='html'>&lt;a href="http://photos1.blogger.com/blogger/2651/2202/1600/visualacidA7b.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/2651/2202/320/visualacidA7b.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;here's a little code that involves taking these pixels and sending them into a PImage, as we discussed in class last week.  It becomes too computationally expensive over 200 x 200.  Here it's 720 by 480.  The image doesn't slow down quite as much but the resolution isn't to die for.  I still want to develop this code some more.  I love 2d graphing.  This is definitely something to explore in a LOT more depth.&lt;br /&gt;&lt;br /&gt;http://itp.nyu.edu/~zl316/NATUREOFCODE/week5/applet/&lt;br /&gt;&lt;br /&gt;z&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21779938-114064022337520706?l=naturalzach.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naturalzach.blogspot.com/feeds/114064022337520706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=21779938&amp;postID=114064022337520706' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21779938/posts/default/114064022337520706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21779938/posts/default/114064022337520706'/><link rel='alternate' type='text/html' href='http://naturalzach.blogspot.com/2006/02/2d-graphing-code.html' title='2d graphing code'/><author><name>zachlayton</name><uri>http://www.blogger.com/profile/00490420260497846284</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21779938.post-114063862147303374</id><published>2006-02-22T12:02:00.000-08:00</published><updated>2006-02-22T12:36:11.530-08:00</updated><title type='text'>2dgraphing images</title><content type='html'>&lt;a href="http://photos1.blogger.com/blogger/2651/2202/1600/visualacidA4.jpg"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/2651/2202/320/visualacidA4.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/2651/2202/1600/A9.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/2651/2202/320/A9.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;I'm going to try to do some large format glossy prints of these images....based on 2d graphing equations...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21779938-114063862147303374?l=naturalzach.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naturalzach.blogspot.com/feeds/114063862147303374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=21779938&amp;postID=114063862147303374' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21779938/posts/default/114063862147303374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21779938/posts/default/114063862147303374'/><link rel='alternate' type='text/html' href='http://naturalzach.blogspot.com/2006/02/2dgraphing-images.html' title='2dgraphing images'/><author><name>zachlayton</name><uri>http://www.blogger.com/profile/00490420260497846284</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21779938.post-114003596324330374</id><published>2006-02-15T12:38:00.000-08:00</published><updated>2006-02-15T12:39:23.243-08:00</updated><title type='text'>visual acid</title><content type='html'>I love this stuff.  The first one is interactive...the other is more about eyecandy:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://itp.nyu.edu/~zl316/NATUREOFCODE/week4/visualacid2/applet/"&gt;visual acid&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21779938-114003596324330374?l=naturalzach.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naturalzach.blogspot.com/feeds/114003596324330374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=21779938&amp;postID=114003596324330374' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21779938/posts/default/114003596324330374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21779938/posts/default/114003596324330374'/><link rel='alternate' type='text/html' href='http://naturalzach.blogspot.com/2006/02/visual-acid_15.html' title='visual acid'/><author><name>zachlayton</name><uri>http://www.blogger.com/profile/00490420260497846284</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21779938.post-113942977294706009</id><published>2006-02-08T12:15:00.000-08:00</published><updated>2006-02-08T12:16:12.956-08:00</updated><title type='text'>array of liquids</title><content type='html'>here's a link to the liquid array...week 3's assignment:&lt;br /&gt;&lt;br /&gt;http://itp.nyu.edu/~zl316/NATUREOFCODE/week3/applet/&lt;br /&gt;&lt;br /&gt;z&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21779938-113942977294706009?l=naturalzach.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naturalzach.blogspot.com/feeds/113942977294706009/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=21779938&amp;postID=113942977294706009' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21779938/posts/default/113942977294706009'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21779938/posts/default/113942977294706009'/><link rel='alternate' type='text/html' href='http://naturalzach.blogspot.com/2006/02/array-of-liquids.html' title='array of liquids'/><author><name>zachlayton</name><uri>http://www.blogger.com/profile/00490420260497846284</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-21779938.post-113874973938174196</id><published>2006-01-31T15:20:00.000-08:00</published><updated>2006-03-07T23:17:00.770-08:00</updated><title type='text'>gaussian distribution and arraylists</title><content type='html'>Just got this blog situation going with blogger because wordpress and mysql don't seem to be my friends right now.  &lt;br /&gt;&lt;br /&gt;My first reasonably interesting nature of code assignment involves using an arraylist and normal distribution.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.zachlaytonindustries.com/natureofcode/arraylistgauss.html"&gt;check it out&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;-z&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/21779938-113874973938174196?l=naturalzach.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://naturalzach.blogspot.com/feeds/113874973938174196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=21779938&amp;postID=113874973938174196' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/21779938/posts/default/113874973938174196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/21779938/posts/default/113874973938174196'/><link rel='alternate' type='text/html' href='http://naturalzach.blogspot.com/2006/01/gaussian-distribution-and-arraylists.html' title='gaussian distribution and arraylists'/><author><name>zachlayton</name><uri>http://www.blogger.com/profile/00490420260497846284</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
