<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>fs4learning &#187; speed improvement</title>
	<atom:link href="http://robotics.icstweb.org/fs4learning/tag/speed-improvement/feed/" rel="self" type="application/rss+xml" />
	<link>http://robotics.icstweb.org/fs4learning</link>
	<description>Just another Robotics.icstweb.org weblog</description>
	<lastBuildDate>Thu, 16 Apr 2009 19:51:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Network improvement. Nelder-Mead</title>
		<link>http://robotics.icstweb.org/fs4learning/2008/12/27/network-improvement-nelder-mead/</link>
		<comments>http://robotics.icstweb.org/fs4learning/2008/12/27/network-improvement-nelder-mead/#comments</comments>
		<pubDate>Sat, 27 Dec 2008 15:49:09 +0000</pubDate>
		<dc:creator>xni</dc:creator>
				<category><![CDATA[Using neural networks for solving partial differential equations]]></category>
		<category><![CDATA[Nelder-Mead method]]></category>
		<category><![CDATA[speed improvement]]></category>

		<guid isPermaLink="false">http://robotics.icstweb.org/fs4learning/?p=42</guid>
		<description><![CDATA[As you could see in the previous post, neural solution is quite accurately approximates analytical. But there is a problem: it&#8217;s too slow. It takes about 5 hours to have all the calculations done. My mentor gave me an advise to use Nelder &#8211; Mead method to calculate weights. In this post I will talk [...]]]></description>
			<content:encoded><![CDATA[<p>As you could see in the previous post, neural solution is quite accurately approximates analytical. But there is a problem: it&#8217;s too slow. It takes about 5 hours to have all the calculations done.</p>
<p>My mentor gave me an advise to use <a href="http://en.wikipedia.org/wiki/Nelder-Mead_method" target="_blank">Nelder &#8211; Mead</a> method to calculate weights. In this post I will talk about implementation of this method using F#.</p>
<p>My main decision was using special class to implement this method. All of the operations are done by methods inside class and the end-user only passes a functional and gets the solution that minimizes it.</p>
<p>My class is not a classical implementation of Nelder-Mead method, it have some improvements, which guarantee that solution at the next iteration will be better than current.</p>
<p>You can download source code of this class <a href="http://cid-6656593f7ed14dcf.skydrive.live.com/self.aspx/FSharp/Atrificial%20Neural%20Network/2008.12.26/Neuler-Mead.fs" target="_self">here</a>.</p>
<p>With this method I got a solution in a few seconds, but it is not so good as previous.  I haven&#8217;t made any further researches for Nelder-Mead and gradient descent methods and their combinations, but I am going to do that and share my results.</p>
<p><a href="http://robotics.icstweb.org/fs4learning/files/2008/12/nm.jpg"><img class="alignnone size-medium wp-image-45" src="http://robotics.icstweb.org/fs4learning/files/2008/12/nm-300x300.jpg" alt="" width="300" height="300" /></a></p>
<p>Also I have an ideas:</p>
<ol>
<li>to use classification (by Kohonen maps), to sort out the worst-studied neurons</li>
<li>to research combination of methods to adjust widths and centers</li>
<li>to use asynchronism and parallel operations with lists to improve performance</li>
</ol>
<p>Complete source code of my project you can find <a href="http://cid-6656593f7ed14dcf.skydrive.live.com/self.aspx/FSharp/Atrificial%20Neural%20Network/2008.12.26/Program.fs" target="_self">here</a>.</p>
 <img src="http://robotics.icstweb.org/fs4learning/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=42" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://robotics.icstweb.org/fs4learning/2008/12/27/network-improvement-nelder-mead/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
