<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Machine | Ben Ahlbrand CV</title><link>https://benjamin.ahlbrand.me/tags/machine/</link><atom:link href="https://benjamin.ahlbrand.me/tags/machine/index.xml" rel="self" type="application/rss+xml"/><description>Machine</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Tue, 07 Jan 2020 00:00:00 +0000</lastBuildDate><image><url>https://benjamin.ahlbrand.me/media/sharing.png</url><title>Machine</title><link>https://benjamin.ahlbrand.me/tags/machine/</link></image><item><title>Tutorial: RNN Fantasy Character Name Generator Pytorch</title><link>https://benjamin.ahlbrand.me/post/2021-11-28-rnn-fantasy-character-name-generator/</link><pubDate>Tue, 07 Jan 2020 00:00:00 +0000</pubDate><guid>https://benjamin.ahlbrand.me/post/2021-11-28-rnn-fantasy-character-name-generator/</guid><description>&lt;p>Advances in sequential modeling via deep learning allows procedurally generated names for RPG characters that belong in Tolkienesque worlds. I used pretty much the simplest sequential model - an RNN, more specifically a variation of CHARNN, to train a network capable of producing interesting names when sampled with various characters and category conditions (the language class).&lt;/p>
&lt;p>The categories include:&lt;/p>
&lt;ul>
&lt;li>dwarf&lt;/li>
&lt;li>man&lt;/li>
&lt;li>elf&lt;/li>
&lt;li>ainur&lt;/li>
&lt;/ul>
&lt;p>Take a closer look at the dataset &lt;a href="https://github.com/bmahlbrand/rnn-name-generator/blob/master/data/characters_data.csv" target="_blank" rel="noopener">here&lt;/a> - it&amp;rsquo;s a dump of names from the Tolkien universe w/a class label.&lt;/p>
&lt;p>after just a few minutes training on my nvidia 2070 super, the network is capable of reconstructing the following names:&lt;/p>
&lt;p>&lt;strong>Dwarf&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>Romi&lt;/li>
&lt;li>Ulmor&lt;/li>
&lt;li>Salin&lt;/li>
&lt;/ul>
&lt;p>&lt;strong>Elf&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>Galdir&lt;/li>
&lt;li>Elenel&lt;/li>
&lt;li>Rimegell&lt;/li>
&lt;/ul>
&lt;p>&lt;strong>Man&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>Serimin&lt;/li>
&lt;li>Parandil&lt;/li>
&lt;li>Arandil&lt;/li>
&lt;/ul>
&lt;p>&lt;strong>Ainur&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>Miner&lt;/li>
&lt;li>Orome&lt;/li>
&lt;li>Nain&lt;/li>
&lt;/ul>
&lt;p>Pytorch implementation source code available &lt;a href="https://github.com/bmahlbrand/rnn-name-generator" target="_blank" rel="noopener">here&lt;/a>&lt;/p></description></item><item><title>Procedural Music with markov chains</title><link>https://benjamin.ahlbrand.me/post/2024-08-14-procedural-music-with-markov-chains/</link><pubDate>Tue, 31 May 2016 00:00:00 +0000</pubDate><guid>https://benjamin.ahlbrand.me/post/2024-08-14-procedural-music-with-markov-chains/</guid><description>&lt;p>For our final project for the software engineering track at Purdue (department recognized as one of the best projects of the year!), we combined convolutional neural networks and markov chains to generate music based on the &amp;ldquo;emotions&amp;rdquo; detected in an image. Taking that and the pixel palette, we constructed a mapping to various music theory concepts and generated music with a music theory oracle that I wrote + statistics to choose among the various rules. Interesting results ensue!&lt;/p>
&lt;p>&lt;em>&lt;a href="https://soundcloud.com/shiftedabsurdity/reallysad?si=3918b934f5b04b26899b8a6643de2581&amp;amp;utm_source=clipboard&amp;amp;utm_medium=text&amp;amp;utm_campaign=social_sharing" target="_blank" rel="noopener">H﻿ere&amp;rsquo;s&lt;/a>&lt;/em> a sad track :(&lt;/p>
&lt;p>&lt;em>&lt;a href="https://soundcloud.com/shiftedabsurdity/sodamnhappy?si=8ef84188f8f94bff896ca5a379384fcc&amp;amp;utm_source=clipboard&amp;amp;utm_medium=text&amp;amp;utm_campaign=social_sharing" target="_blank" rel="noopener">H﻿ere&amp;rsquo;s&lt;/a>&lt;/em> a happy one!&lt;/p></description></item><item><title>Query By Humming engine</title><link>https://benjamin.ahlbrand.me/post/2021-12-17-query-by-humming-engine/</link><pubDate>Wed, 17 Dec 2014 00:00:00 +0000</pubDate><guid>https://benjamin.ahlbrand.me/post/2021-12-17-query-by-humming-engine/</guid><description>&lt;p>For a course on Information Search and Management, my final research project was developing a query by humming system to detect hummed melodies and find likely matched songs, using auto correlation, damerau levenshtein, and wuManber edit distance algorithms, very simple approach tended to work well until it needed to scale to thousands (i.e. an interesting dataset).&lt;/p>
&lt;p>Check out the source here:&lt;/p>
&lt;p>&lt;a href="https://github.com/bmahlbrand/queryByHumming" target="_blank" rel="noopener">https://github.com/bmahlbrand/queryByHumming&lt;/a>&lt;/p></description></item></channel></rss>