<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Marcus Cuda</title>
	<atom:link href="http://blog.marcuscuda.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.marcuscuda.com</link>
	<description></description>
	<lastBuildDate>Thu, 23 Feb 2012 16:17:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.marcuscuda.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Marcus Cuda</title>
		<link>http://blog.marcuscuda.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.marcuscuda.com/osd.xml" title="Marcus Cuda" />
	<atom:link rel='hub' href='http://blog.marcuscuda.com/?pushpress=hub'/>
		<item>
		<title>Yahoo Finance and EODData Added</title>
		<link>http://blog.marcuscuda.com/2012/02/23/yahoo-finance-and-eoddata-added/</link>
		<comments>http://blog.marcuscuda.com/2012/02/23/yahoo-finance-and-eoddata-added/#comments</comments>
		<pubDate>Thu, 23 Feb 2012 16:17:37 +0000</pubDate>
		<dc:creator>marcus</dc:creator>
				<category><![CDATA[Xaye]]></category>
		<category><![CDATA[F#]]></category>
		<category><![CDATA[finance]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://blog.marcuscuda.com/?p=285</guid>
		<description><![CDATA[We&#8217;ve added support to download historical data from Yahoo Finance and EODData.  Now we&#8217;ll start working on the Xaye run-time. Filed under: Xaye Tagged: F#, finance, update<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.marcuscuda.com&amp;blog=7270074&amp;post=285&amp;subd=marcusacuda&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve added support to download historical data from Yahoo Finance and EODData.  Now we&#8217;ll start working on the Xaye run-time.</p>
<br />Filed under: <a href='http://blog.marcuscuda.com/category/xaye/'>Xaye</a> Tagged: <a href='http://blog.marcuscuda.com/tag/f/'>F#</a>, <a href='http://blog.marcuscuda.com/tag/finance/'>finance</a>, <a href='http://blog.marcuscuda.com/tag/update/'>update</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/marcusacuda.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/marcusacuda.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/marcusacuda.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/marcusacuda.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/marcusacuda.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/marcusacuda.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/marcusacuda.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/marcusacuda.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/marcusacuda.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/marcusacuda.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/marcusacuda.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/marcusacuda.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/marcusacuda.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/marcusacuda.wordpress.com/285/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.marcuscuda.com&amp;blog=7270074&amp;post=285&amp;subd=marcusacuda&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.marcuscuda.com/2012/02/23/yahoo-finance-and-eoddata-added/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/66f1f73e4718f614a55418de83729000?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cuda</media:title>
		</media:content>
	</item>
		<item>
		<title>Separating Out Xaye.Math</title>
		<link>http://blog.marcuscuda.com/2012/02/22/separating-out-xaye-math/</link>
		<comments>http://blog.marcuscuda.com/2012/02/22/separating-out-xaye-math/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 00:24:02 +0000</pubDate>
		<dc:creator>marcus</dc:creator>
				<category><![CDATA[Xaye]]></category>
		<category><![CDATA[F#]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[MKL]]></category>

		<guid isPermaLink="false">http://blog.marcuscuda.com/?p=279</guid>
		<description><![CDATA[We&#8217;ve separated out the &#8220;math&#8221; component from Xaye.Core into Xaye.Math. Now those only interested in the F# MKL wrapper won&#8217;t have unnecessary dependencies on libraries such as NPOI and SQLite. This also allows us to provide Xaye.Math for Linux (builds can be downloaded from the links on the right side). On a separate note, we&#8217;ve run into a problem with FsHtmlDoc &#8211; it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.marcuscuda.com&amp;blog=7270074&amp;post=279&amp;subd=marcusacuda&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve separated out the &#8220;math&#8221; component from Xaye.Core into Xaye.Math. Now those only interested in the F# MKL wrapper won&#8217;t have unnecessary dependencies on libraries such as NPOI and SQLite. This also allows us to provide Xaye.Math for Linux (builds can be downloaded from the links on the right side).</p>
<p>On a separate note, we&#8217;ve run into a problem with FsHtmlDoc &#8211; it blows up when trying to document the Xaye.Core classes. The bundled API docs for the time being only include the Xaye.Math API.  We are looking for an alternative to FsHtmlDoc.</p>
<br />Filed under: <a href='http://blog.marcuscuda.com/category/xaye/'>Xaye</a> Tagged: <a href='http://blog.marcuscuda.com/tag/f/'>F#</a>, <a href='http://blog.marcuscuda.com/tag/linux/'>Linux</a>, <a href='http://blog.marcuscuda.com/tag/math/'>math</a>, <a href='http://blog.marcuscuda.com/tag/mkl/'>MKL</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/marcusacuda.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/marcusacuda.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/marcusacuda.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/marcusacuda.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/marcusacuda.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/marcusacuda.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/marcusacuda.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/marcusacuda.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/marcusacuda.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/marcusacuda.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/marcusacuda.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/marcusacuda.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/marcusacuda.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/marcusacuda.wordpress.com/279/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.marcuscuda.com&amp;blog=7270074&amp;post=279&amp;subd=marcusacuda&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.marcuscuda.com/2012/02/22/separating-out-xaye-math/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/66f1f73e4718f614a55418de83729000?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cuda</media:title>
		</media:content>
	</item>
		<item>
		<title>Added Excel Support</title>
		<link>http://blog.marcuscuda.com/2012/02/14/added-excel-support/</link>
		<comments>http://blog.marcuscuda.com/2012/02/14/added-excel-support/#comments</comments>
		<pubDate>Tue, 14 Feb 2012 13:52:27 +0000</pubDate>
		<dc:creator>marcus</dc:creator>
				<category><![CDATA[Xaye]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[excel]]></category>

		<guid isPermaLink="false">http://blog.marcuscuda.com/?p=274</guid>
		<description><![CDATA[We&#8217;ve added support for reading/writing variable groups from/to Excel files (.xls and .xlsx). The NPOI library provides the .xls (BIFF8) support and the ClosedXML library provides the .xlsx (Open XML) support (no support for .xlsb / BIFF12). Note that the Xaye library reads in the cached value of a formula cell (the last evaluated value of a formula) and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.marcuscuda.com&amp;blog=7270074&amp;post=274&amp;subd=marcusacuda&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve added support for reading/writing variable groups from/to Excel files (.xls and .xlsx). The <a title="NPOI" href="http://npoi.codeplex.com/">NPOI</a> library provides the .xls (BIFF8) support and the <a title="ClosedXML Excel Library" href="http://closedxml.codeplex.com/">ClosedXML</a> library provides the .xlsx (Open XML) support (no support for .xlsb / BIFF12). Note that the Xaye library reads in the cached value of a formula cell (the last evaluated value of a formula) and does not evaluate the formula itself. ClosedXML doesn&#8217;t include a formula evaluator and for most users this won&#8217;t be an issue.</p>
<p>Next we&#8217;ll add support for importing historical stock data from Yahoo Finance and <a title="EODData, LLC" href="http://www.eoddata.com/">EODData</a>&#8216;s historical data service (EODData provides historical intraday trade bars). Then we can finally start doing some interesting things with the data.</p>
<br />Filed under: <a href='http://blog.marcuscuda.com/category/xaye/'>Xaye</a> Tagged: <a href='http://blog.marcuscuda.com/tag/data/'>data</a>, <a href='http://blog.marcuscuda.com/tag/excel/'>excel</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/marcusacuda.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/marcusacuda.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/marcusacuda.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/marcusacuda.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/marcusacuda.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/marcusacuda.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/marcusacuda.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/marcusacuda.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/marcusacuda.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/marcusacuda.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/marcusacuda.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/marcusacuda.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/marcusacuda.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/marcusacuda.wordpress.com/274/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.marcuscuda.com&amp;blog=7270074&amp;post=274&amp;subd=marcusacuda&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.marcuscuda.com/2012/02/14/added-excel-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/66f1f73e4718f614a55418de83729000?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cuda</media:title>
		</media:content>
	</item>
		<item>
		<title>Xaye Data Model</title>
		<link>http://blog.marcuscuda.com/2012/02/06/xaye-data-model/</link>
		<comments>http://blog.marcuscuda.com/2012/02/06/xaye-data-model/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 14:59:57 +0000</pubDate>
		<dc:creator>marcus</dc:creator>
				<category><![CDATA[Xaye]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://blog.marcuscuda.com/?p=261</guid>
		<description><![CDATA[The latest checkins include the Xaye data model.  We&#8217;ve simplified it a bit from earlier attempts and we now have four types: constant, formula, variables, and variable groups. Constants are for storing constant floating point values. Earlier they were generic but constraining them to floats simplified the code (floats cover most cases). Formulas are for storing strings [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.marcuscuda.com&amp;blog=7270074&amp;post=261&amp;subd=marcusacuda&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The latest checkins include the Xaye data model.  We&#8217;ve simplified it a bit from earlier attempts and we now have four types: constant, formula, variables, and variable groups.</p>
<p>Constants are for storing constant floating point values. Earlier they were generic but constraining them to floats simplified the code (floats cover most cases). Formulas are for storing strings that resolve to variables at run time. For example &#8220;diff(cpi)/lag(cpi)&#8221;, would evaluate to the percentage change in CPI. Whenever the CPI variable changes so would the evaluated value of the formula. Note that formulas cannot be resolved from the Xaye.Core API, but only from the Xaye runtime (coming soon).</p>
<p>Variables are ordered series of data. They support float, decimal, long, datetime, string, tradebar, and opaque data types. A trade bar is a simple record of decimals: close, open, low, high, and volume (unit32) where only the close value is required. We didn&#8217;t include a field for the trade interval (the period covered by the bar) since it could be stored in the item&#8217;s documentation (see below). An opaque type is a wrapper around a byte array. Users can pass a raw array or an instance of any serializable type to the constructor.</p>
<p>VariableGroups are a collection of variables with their data rows aligned. Groups can be sorted and users can access individual rows. We&#8217;ll be adding the ability to add, delete and filter rows (observations), and iterate over them. We&#8217;ve also added support to read/write text delimited files into/from variable groups. We&#8217;ll be supporting Excel (xls and xlsx) soon for reading and writing variable groups.</p>
<p>Each of the four types expose a Details object that contains the name of the item, a description field, a documentation field, and a list of string key-value attributes. We chose string valued attributes for simplicity and they are most the common use case. Users that want to store binary data for attributes (such as an image or PDF file) will have to base64 their data.</p>
<p>Delimited files can only support variables, so for local storage we&#8217;ll be using <a class="zem_slink" title="SQLite" href="http://sqlite.org" rel="homepage">SQLite</a>. The current SQLite storage code isn&#8217;t optimized but uses the generic ADO.NET interfaces. The reason is that we can quickly test other SQL databases as data stores using the same code (MS SQL Server and <a title="SQL Azure" href="http://en.wikipedia.org/wiki/SQL_Azure">SQL Azure</a> will be next). We&#8217;ll eventually write optimized code for each supported database. Support for STATA files, SAS XPORT files, and <a class="zem_slink" title="NoSQL" href="http://en.wikipedia.org/wiki/NoSQL" rel="wikipedia">NoSQL</a> databases are on the long-term to-do list.</p>
<p>On another note, we are dropping support for Linux/Mono for the time being. Mono chokes on the Variable class and we&#8217;ll adding back support once we figure out a workaround.</p>
<br />Filed under: <a href='http://blog.marcuscuda.com/category/xaye/'>Xaye</a> Tagged: <a href='http://blog.marcuscuda.com/tag/data/'>data</a>, <a href='http://blog.marcuscuda.com/tag/update/'>update</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/marcusacuda.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/marcusacuda.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/marcusacuda.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/marcusacuda.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/marcusacuda.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/marcusacuda.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/marcusacuda.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/marcusacuda.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/marcusacuda.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/marcusacuda.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/marcusacuda.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/marcusacuda.wordpress.com/261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/marcusacuda.wordpress.com/261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/marcusacuda.wordpress.com/261/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.marcuscuda.com&amp;blog=7270074&amp;post=261&amp;subd=marcusacuda&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.marcuscuda.com/2012/02/06/xaye-data-model/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/66f1f73e4718f614a55418de83729000?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cuda</media:title>
		</media:content>
	</item>
		<item>
		<title>Added Debian Builds</title>
		<link>http://blog.marcuscuda.com/2011/12/10/added-debian-builds/</link>
		<comments>http://blog.marcuscuda.com/2011/12/10/added-debian-builds/#comments</comments>
		<pubDate>Sat, 10 Dec 2011 20:04:49 +0000</pubDate>
		<dc:creator>marcus</dc:creator>
				<category><![CDATA[Xaye]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.marcuscuda.com/?p=230</guid>
		<description><![CDATA[Xaye now runs on Debian with Mono 2.10.6. You can grab the latest builds from the links on the right. Filed under: Xaye Tagged: Linux<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.marcuscuda.com&amp;blog=7270074&amp;post=230&amp;subd=marcusacuda&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Xaye now runs on Debian with Mono 2.10.6. You can grab the latest builds from the links on the right.</p>
<br />Filed under: <a href='http://blog.marcuscuda.com/category/xaye/'>Xaye</a> Tagged: <a href='http://blog.marcuscuda.com/tag/linux/'>Linux</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/marcusacuda.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/marcusacuda.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/marcusacuda.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/marcusacuda.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/marcusacuda.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/marcusacuda.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/marcusacuda.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/marcusacuda.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/marcusacuda.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/marcusacuda.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/marcusacuda.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/marcusacuda.wordpress.com/230/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/marcusacuda.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/marcusacuda.wordpress.com/230/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.marcuscuda.com&amp;blog=7270074&amp;post=230&amp;subd=marcusacuda&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.marcuscuda.com/2011/12/10/added-debian-builds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/66f1f73e4718f614a55418de83729000?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cuda</media:title>
		</media:content>
	</item>
		<item>
		<title>Quick benchmark comparing Power Pack and the Xaye MKL wrapper on matrix operations</title>
		<link>http://blog.marcuscuda.com/2011/11/24/benchmark-mkl-power-pack/</link>
		<comments>http://blog.marcuscuda.com/2011/11/24/benchmark-mkl-power-pack/#comments</comments>
		<pubDate>Thu, 24 Nov 2011 14:40:08 +0000</pubDate>
		<dc:creator>marcus</dc:creator>
				<category><![CDATA[Xaye]]></category>
		<category><![CDATA[Benchmark]]></category>
		<category><![CDATA[F#]]></category>

		<guid isPermaLink="false">http://blog.marcuscuda.com/?p=132</guid>
		<description><![CDATA[<a href="http://blog.marcuscuda.com/?p=132"><img src="http://marcusacuda.wordpress.com/files/2011/11/image001.png" alt="image001" class="size-full wp-image-131" /></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.marcuscuda.com&amp;blog=7270074&amp;post=132&amp;subd=marcusacuda&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I ran a quick benchmark comparing adding, multiplying, and transposing F# Power Pack matrices using the Power Pack operators and our MKL wrapper. As you can see below, the MKL wrapper does pretty well - particularly with multiplication.  For addition and multiplication you just need to use the +! and *! operators instead of the standard + and * ones.</p>
<div id="mkl-bench">
<table id="hor-minimalist-b" border="1" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th scope="col">Matrix<br />
Order</th>
<th scope="col">PP Transpose</th>
<th scope="col">MKL Transpose</th>
<th scope="col">Relative<br />
Performance</th>
<th scope="col">PP Add</th>
<th scope="col">MKL Add</th>
<th scope="col">Relative<br />
Performance</th>
<th scope="col">PP Multiply</th>
<th scope="col">MKL Transpose</th>
<th scope="col">Relative<br />
Performance</th>
</tr>
</thead>
<tbody>
<tr>
<td>100</td>
<td>0.18</td>
<td>0.09</td>
<td><span style="color:#ff0000;">2.00</span></td>
<td>0.09</td>
<td>0.01</td>
<td><span style="color:#ff0000;">9.10</span></td>
<td>3.55</td>
<td>0.09</td>
<td><span style="color:#ff0000;">39.00</span></td>
</tr>
<tr>
<td>225</td>
<td>0.45</td>
<td>0.27</td>
<td><span style="color:#ff0000;">1.67</span></td>
<td>0.64</td>
<td>0.18</td>
<td><span style="color:#ff0000;">3.50</span></td>
<td>50.73</td>
<td>0.55</td>
<td><span style="color:#ff0000;">93.00</span></td>
</tr>
<tr>
<td>400</td>
<td>1.36</td>
<td>0.91</td>
<td><span style="color:#ff0000;">1.50</span></td>
<td>1.91</td>
<td>0.36</td>
<td><span style="color:#ff0000;">5.25</span></td>
<td>237.65</td>
<td>2.45</td>
<td><span style="color:#ff0000;">96.81</span></td>
</tr>
<tr>
<td>512</td>
<td>2.55</td>
<td>1.82</td>
<td><span style="color:#ff0000;">1.40</span></td>
<td>3.18</td>
<td>0.64</td>
<td><span style="color:#ff0000;">5.00</span></td>
<td>585.76</td>
<td>4.73</td>
<td><span style="color:#ff0000;">123.90</span></td>
</tr>
<tr>
<td>600</td>
<td>5.27</td>
<td>1.45</td>
<td><span style="color:#ff0000;">3.62</span></td>
<td>5.45</td>
<td>1.18</td>
<td><span style="color:#ff0000;">4.62</span></td>
<td>1220.07</td>
<td>7.27</td>
<td><span style="color:#ff0000;">167.75</span></td>
</tr>
<tr>
<td>1024</td>
<td>18.55</td>
<td>8.00</td>
<td><span style="color:#ff0000;">2.32</span></td>
<td>15.64</td>
<td>3.73</td>
<td><span style="color:#ff0000;">4.20</span></td>
<td>8829.41</td>
<td>42.28</td>
<td><span style="color:#ff0000;">208.86</span></td>
</tr>
<tr>
<td>2055</td>
<td>79.00</td>
<td>25.18</td>
<td><span style="color:#ff0000;">3.14</span></td>
<td>88.19</td>
<td>19.27</td>
<td><span style="color:#ff0000;">4.58</span></td>
<td>107127.22</td>
<td>314.11</td>
<td><span style="color:#ff0000;">341.05</span></td>
</tr>
</tbody>
</table>
</div>
<p>Times are in milliseconds and the benchmark was ran on a six core, 3.3 GHz i7 running x64 Windows 7. Relative performance was computed as PP/MKL.</p>
<br />Filed under: <a href='http://blog.marcuscuda.com/category/xaye/'>Xaye</a> Tagged: <a href='http://blog.marcuscuda.com/tag/benchmark/'>Benchmark</a>, <a href='http://blog.marcuscuda.com/tag/f/'>F#</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/marcusacuda.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/marcusacuda.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/marcusacuda.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/marcusacuda.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/marcusacuda.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/marcusacuda.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/marcusacuda.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/marcusacuda.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/marcusacuda.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/marcusacuda.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/marcusacuda.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/marcusacuda.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/marcusacuda.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/marcusacuda.wordpress.com/132/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.marcuscuda.com&amp;blog=7270074&amp;post=132&amp;subd=marcusacuda&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.marcuscuda.com/2011/11/24/benchmark-mkl-power-pack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/66f1f73e4718f614a55418de83729000?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cuda</media:title>
		</media:content>
	</item>
		<item>
		<title>Initial Genetic Optimization Drop</title>
		<link>http://blog.marcuscuda.com/2011/11/16/initial-genetic-optimization-drop/</link>
		<comments>http://blog.marcuscuda.com/2011/11/16/initial-genetic-optimization-drop/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 20:05:04 +0000</pubDate>
		<dc:creator>marcus</dc:creator>
				<category><![CDATA[Xaye]]></category>
		<category><![CDATA[F#]]></category>
		<category><![CDATA[genetic algorithm]]></category>
		<category><![CDATA[optimization]]></category>

		<guid isPermaLink="false">http://blog.marcuscuda.com/?p=75</guid>
		<description><![CDATA[We&#8217;ve added a continuous, single objective function genetic algorithm (GA) to Xaye.  The GA provides the selection, mating, and mutations methods discussed in chapter 2 and 3 of &#8220;Practical Genetic Algorithms&#8221; by Haupt and Haupt. The code is extensible so users can add their own routines. The simplest way to use the Xaye GA is use the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.marcuscuda.com&amp;blog=7270074&amp;post=75&amp;subd=marcusacuda&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve added a continuous, single objective function <a title="Genetic Algorithm" href="http://en.wikipedia.org/wiki/Genetic_algorithm">genetic algorithm</a> (GA) to Xaye.  The GA provides the selection, mating, and mutations methods discussed in chapter 2 and 3 of &#8220;<a title="Practical Genetic Algorithms" href="http://www.amazon.com/Practical-Genetic-Algorithms-Randy-Haupt/dp/0471455652/">Practical Genetic Algorithms</a>&#8221; by Haupt and Haupt. The code is extensible so users can add their own routines.</p>
<p>The simplest way to use the Xaye GA is use the <em>solve</em> method. It only requires a cost/fitness function and bounds on the variables of the cost function. For an example, lets minimize:    <img src='http://s0.wp.com/latex.php?latex=x%5E%7B2%7D%2Bx+cos%28x%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='x^{2}+x cos(x)' title='x^{2}+x cos(x)' class='latex' />    for -10 &lt; x &lt; 10</p>
<p><img class="alignnone size-full wp-image-102" style="border-color:initial;border-style:initial;" title="Simple Function" src="http://marcusacuda.files.wordpress.com/2011/11/msp17319i3a733ag199d7d00002dg443c5b546hg90.gif?w=550" alt=""   /></p>
<p><pre class="brush: fsharp; light: true;">
let cost = fun (x:float[]) -&gt;(x.[0]*x.[0]+x.[0]) * Math.Cos(x.[0])
let bound = {lower = -10.0; upper = 10.0}
let bounds = [| bound; |]
let status = solve cost bounds
printfn &quot;%A&quot; status
{Iteration = 69;
 Best = ([|9.620350903|], -100.2237551);
 NoImprovement = 25;
 Termination = NoImprovement;}
</pre></p>
<p>The <em>solve</em> function returns a <em>Status</em> record that contains the number of iterations, best solution found, how many iterations since we found the best solution (NoImprovement), and why the optimization terminated. In this case, <em>solve</em> needed 69 iterations to find the minimum and it terminated early because it was no longer improving on the best solution (we default to a maximum of a 1000 iterations and stop if we there was no  improvement after 25 iterations). It uses the our <em>defaultMate</em> function (top x chromosome selection, pairing parents using a rank squared weighted roulette, and a heuristic blend crossover), the <em>uniformMutate</em> function, and generates a random starting population of 20. These defaults work well for relatively simple functions.</p>
<p>Lets try a little more difficult cost function: <img src='http://s0.wp.com/latex.php?latex=%5Csum_%7B1%7D%5E%7B2%7D%5Cleft+%7C+x_%7Bn%7D+%5Cright+%7C-+10+cos+%5Cleft+%28+%5Cleft+%7C+%5Csqrt%7B+10X_%7Bn%7D+%7D+%5Cright+%7C+%5Cright+%29&amp;bg=ffffff&amp;fg=000&amp;s=0' alt='&#92;sum_{1}^{2}&#92;left | x_{n} &#92;right |- 10 cos &#92;left ( &#92;left | &#92;sqrt{ 10X_{n} } &#92;right | &#92;right )' title='&#92;sum_{1}^{2}&#92;left | x_{n} &#92;right |- 10 cos &#92;left ( &#92;left | &#92;sqrt{ 10X_{n} } &#92;right | &#92;right )' class='latex' />     for -10 &lt; x &lt; 10.  The minimum is at x,y=0.<br />
<a href="http://marcusacuda.files.wordpress.com/2011/11/msp699519i39i9d25bd7eb900000haafabe16e3b0a3.gif"><img class="alignnone size-full wp-image-107" title="More Difficult" src="http://marcusacuda.files.wordpress.com/2011/11/msp699519i39i9d25bd7eb900000haafabe16e3b0a3.gif?w=550" alt=""   /></a><a href="http://marcusacuda.files.wordpress.com/2011/11/msp414019i3a33617d279b500000ii15f52ii40dd3g.gif"><img class="alignnone size-full wp-image-108" title="Contour" src="http://marcusacuda.files.wordpress.com/2011/11/msp414019i3a33617d279b500000ii15f52ii40dd3g.gif?w=550" alt=""   /></a></p>
<p><pre class="brush: fsharp; light: true;">
let cost = fun (x:float[]) -&gt;
   let x0 = Math.Abs(x.[0])
   let x1 = Math.Abs(x.[1])
   x0 - 10.0*Math.Cos(Math.Sqrt(10.0*x0)) + x1 - 10.0*Math.Cos(Math.Sqrt(10.0*x1))
let bound = {lower = -10.0; upper = 10.0}
let bounds = [| bound; |]
let status = solve cost bounds
printfn &quot;%A&quot; status
{Iteration = 41;
 Best = ([|3.510642794; 0.007216450758|], -15.48906593);
 NoImprovement = 25;
 Termination = NoImprovement;}
</pre></p>
<p>We got stuck at a local minimum. Instead of using the <em>solve</em> function, we can use the <em>defaultEvolve</em> function. This uses the same default mating and mutation methods as <em>solve</em>, but allows us tweak the optimization options. Lets increase the size of the population, decrease the selection rate (the percentage of the current generation to use for mating and to copy into the next generation), and increase the number of no improvement iterations. We will now sample more of the solution space but at a cost of a longer running time. As you can see below, we now find the global minimum.</p>
<p><pre class="brush: fsharp; light: true;">
let options = {DefaultOptions with PopulationSize=1000; SelectionRate=0.1; NoImprovement=50 }
let status = defaultEvolve options cost bounds
printfn &quot;%A&quot; status
{Iteration = 92;
 Best = ([|1.585990353e-17; -4.292601412e-18|], -20.0);
 NoImprovement = 50;
 Termination = NoImprovement;}
</pre></p>
<p>We also have a fully customizable<em> evolve</em> function that allows users to build any type of GA.</p>
<p><pre class="brush: fsharp; light: true;">
type Fitness = float
type Gene = float
type Chromosome = Gene[]
type Population = Chromosome[]
type EvaluatedPopulation = (Chromosome*Fitness)[]
type Parents = Chromosome*Chromosome
type Cost = Chromosome -&gt; Fitness
type Mate = EvaluatedPopulation -&gt; Population
type Mutate =  Population -&gt; Population
type Convergence = Options -&gt; Status -&gt; EvaluatedPopulation -&gt; bool
evolve : Options -&gt; Cost -&gt; Mate -&gt; Mutate -&gt; Convergence -&gt; Population -&gt; Status
</pre></p>
<p>For example, to create a GA where we replace the full population each generation, use Haupt&#8217;s extrapolation crossover, a 3 chromosome tournament for selecting parents, and use a normally distributed mutation method (gene + random normal(0,1) ), we&#8217;d:</p>
<p><pre class="brush: fsharp; light: true;">
let cost = fun (x:float[]) -&gt;
   let x0 = Math.Abs(x.[0])
   let x1 = Math.Abs(x.[1])
   x0 - 10.0*Math.Cos(Math.Sqrt(10.0*x0)) + x1 - 10.0*Math.Cos(Math.Sqrt(10.0*x1))
let bound = {lower = -10.0; upper = 10.0}
let bounds = [| bound; bound; |]
let replaceAll (options:Options) (bounds:Bounds[]) (population:EvaluatedPopulation) : Population =
   let pairs = options.PopulationSize/2
   let pairing = pairTournament3 options.Random pairs
   let crossover = extrapolationCrossover options.Random
   population |&gt; pairing |&gt; crossover

use norm = new Normal01()
let mutation = mutateNormal options norm bounds
let initial = generateInitial options bounds
let status = evolve DefaultOptions cost mate mutation defaultConvergence initial
</pre></p>
<p><em>defaultConvergence</em> just checks to see if we&#8217;ve reached the maximum number of iterations or that the best solution hasn&#8217;t improved in <em>options.NoImprovement</em> number of iterations.</p>
<p>Next we&#8217;ll implements parts of chapter 5: hybrid GA (mix the GA with a local optimizer), multiple objective functions, and a parallel GA . And tweak the current implementation to make it more &#8220;functional&#8221; &#8211; still getting the hang of functional programming.</p>
<br />Filed under: <a href='http://blog.marcuscuda.com/category/xaye/'>Xaye</a> Tagged: <a href='http://blog.marcuscuda.com/tag/f/'>F#</a>, <a href='http://blog.marcuscuda.com/tag/genetic-algorithm/'>genetic algorithm</a>, <a href='http://blog.marcuscuda.com/tag/optimization/'>optimization</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/marcusacuda.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/marcusacuda.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/marcusacuda.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/marcusacuda.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/marcusacuda.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/marcusacuda.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/marcusacuda.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/marcusacuda.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/marcusacuda.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/marcusacuda.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/marcusacuda.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/marcusacuda.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/marcusacuda.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/marcusacuda.wordpress.com/75/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.marcuscuda.com&amp;blog=7270074&amp;post=75&amp;subd=marcusacuda&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.marcuscuda.com/2011/11/16/initial-genetic-optimization-drop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/66f1f73e4718f614a55418de83729000?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cuda</media:title>
		</media:content>

		<media:content url="http://marcusacuda.files.wordpress.com/2011/11/msp17319i3a733ag199d7d00002dg443c5b546hg90.gif" medium="image">
			<media:title type="html">Simple Function</media:title>
		</media:content>

		<media:content url="http://marcusacuda.files.wordpress.com/2011/11/msp699519i39i9d25bd7eb900000haafabe16e3b0a3.gif" medium="image">
			<media:title type="html">More Difficult</media:title>
		</media:content>

		<media:content url="http://marcusacuda.files.wordpress.com/2011/11/msp414019i3a33617d279b500000ii15f52ii40dd3g.gif" medium="image">
			<media:title type="html">Contour</media:title>
		</media:content>
	</item>
		<item>
		<title>Tweaking the random number generators</title>
		<link>http://blog.marcuscuda.com/2011/11/07/tweaking-the-random-number-generators/</link>
		<comments>http://blog.marcuscuda.com/2011/11/07/tweaking-the-random-number-generators/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 18:15:40 +0000</pubDate>
		<dc:creator>marcus</dc:creator>
				<category><![CDATA[Xaye]]></category>
		<category><![CDATA[F#]]></category>

		<guid isPermaLink="false">http://blog.marcuscuda.com/?p=65</guid>
		<description><![CDATA[There was a performance issue with the random number generators. We were making a native call each time we were sampling a single random number. I added a simple caching mechanism so we now sample a minimum number of random numbers with each native call (storing any extras for the next call).  We are defaulting to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.marcuscuda.com&amp;blog=7270074&amp;post=65&amp;subd=marcusacuda&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There was a performance issue with the random number generators. We were making a native call each time we were sampling a single random number. I added a simple caching mechanism so we now sample a minimum number of random numbers with each native call (storing any extras for the next call).  We are defaulting to 10000, but users can set the size using the CacheSize property. Now calling <strong><em>rng.Sample 1</em></strong> twenty-thousand times only result in two native calls. The Sample method is also now thread safe.</p>
<p>Another tweak is the Samples method. It now returns an infinite sequence of random numbers (seq&lt;float&gt;).  Just don&#8217;t do <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<pre>use rng = new UniformRng(0.0, 1.0)
rng.Samples() |&gt; Seq.average</pre>
<p>I&#8217;m not sure how useful it will be and we might remove it in the future (it was trivial to add).</p>
<br />Filed under: <a href='http://blog.marcuscuda.com/category/xaye/'>Xaye</a> Tagged: <a href='http://blog.marcuscuda.com/tag/f/'>F#</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/marcusacuda.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/marcusacuda.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/marcusacuda.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/marcusacuda.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/marcusacuda.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/marcusacuda.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/marcusacuda.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/marcusacuda.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/marcusacuda.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/marcusacuda.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/marcusacuda.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/marcusacuda.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/marcusacuda.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/marcusacuda.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.marcuscuda.com&amp;blog=7270074&amp;post=65&amp;subd=marcusacuda&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.marcuscuda.com/2011/11/07/tweaking-the-random-number-generators/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/66f1f73e4718f614a55418de83729000?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cuda</media:title>
		</media:content>
	</item>
		<item>
		<title>Xaye</title>
		<link>http://blog.marcuscuda.com/2011/10/31/xaye/</link>
		<comments>http://blog.marcuscuda.com/2011/10/31/xaye/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 15:17:46 +0000</pubDate>
		<dc:creator>marcus</dc:creator>
				<category><![CDATA[Xaye]]></category>
		<category><![CDATA[F#]]></category>

		<guid isPermaLink="false">http://blog.marcuscuda.com/?p=23</guid>
		<description><![CDATA[Xaye will be a data analysis package focusing on financial econometrics. It will consist of an analysis engine, a scripting language, and an HTML 5/JavaScript interface. The separation of the engine from the user interface will allow us to run the engine locally, on Azure, on EC2, or some other cloud provider and we&#8217;ll be able to access it from anywhere using any [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.marcuscuda.com&amp;blog=7270074&amp;post=23&amp;subd=marcusacuda&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Xaye will be a data analysis package focusing on financial econometrics. It will consist of an analysis engine, a scripting language, and an HTML 5/JavaScript interface. The separation of the engine from the user interface will allow us to run the engine locally, on Azure, on EC2, or some other cloud provider and we&#8217;ll be able to access it from anywhere using any type of device. The scripting language will be built with <a title="FParsec" href="http://www.quanttec.com/fparsec/">FParsec</a> and we&#8217;ll try to keep it as close as possible to F#. Finally, the graphical interface will be built using the <a title="Sencha" href="http://www.sencha.com/">Sencha</a> and probably <a title="HighCharts" href="http://www.highcharts.com/">Highcharts</a> for charting (still researching HTML5 charting solutions)</p>
<p>This is <strong>NOT</strong> an open source project since it uses commercial and closed source components. Because of this, you may <strong>NOT</strong> redistribute Xaye (see EULA.txt for more details). Xaye will be free to use, but you cannot distribute it. We are making the code that we write available under the 2-clause <a class="zem_slink" title="BSD licenses" href="http://en.wikipedia.org/wiki/BSD_licenses" rel="wikipedia">BSD license</a>.</p>
<p><strong>Current status:</strong><br />
We started working on the Xaye core library (IO, linear algebra, statistics, etc.). Not much there yet &#8211; so far some basic linear algebra, estimation, and statistics routines. We decided not to use <a title="Math.NET Numerics" href="http://numerics.mathdotnet.com/">Math.NET Numerics</a> for the core library for two reasons.  First, we wanted to use the F# PowerPack  matrix classes. Second, I&#8217;m no longer interested in supporting Silverlight or purely managed code scenarios. This allows us to make use of Intel&#8217;s Math Kernel Library (<a class="zem_slink" title="Math Kernel Library" href="http://software.intel.com/en-us/intel-mkl" rel="homepage">MKL</a>) without having to write the corresponding  functionality in managed code.</p>
<p>Over the next two weeks we&#8217;ll be adding a <a title="Genetic algorithm" href="http://en.wikipedia.org/wiki/Genetic_algorithm" rel="wikipedia">genetic algorithm</a> component - working through &#8220;<a title="Practical Genetic Algorithms" href="http://www.amazon.com/gp/product/0471455652/ref=as_li_tf_tl?ie=UTF8&amp;tag=marcuscuda-20&amp;linkCode=as2&amp;camp=217145&amp;creative=399369&amp;creativeASIN=0471455652">Practical Genetic Algorithms</a>&#8220;. Then we&#8217;ll move on to the scripting language.</p>
<p>You can follow Xaye&#8217;s development here. Links to the current builds are on sidebar and most of the source code is at <a title="Xaye on GitHub" href="https://github.com/cuda/Xaye-Core">GitHub</a>.</p>
<br />Filed under: <a href='http://blog.marcuscuda.com/category/xaye/'>Xaye</a> Tagged: <a href='http://blog.marcuscuda.com/tag/f/'>F#</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/marcusacuda.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/marcusacuda.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/marcusacuda.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/marcusacuda.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/marcusacuda.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/marcusacuda.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/marcusacuda.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/marcusacuda.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/marcusacuda.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/marcusacuda.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/marcusacuda.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/marcusacuda.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/marcusacuda.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/marcusacuda.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.marcuscuda.com&amp;blog=7270074&amp;post=23&amp;subd=marcusacuda&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.marcuscuda.com/2011/10/31/xaye/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/66f1f73e4718f614a55418de83729000?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cuda</media:title>
		</media:content>
	</item>
	</channel>
</rss>
