<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Amy on Medium]]></title>
        <description><![CDATA[Stories by Amy on Medium]]></description>
        <link>https://medium.com/@apottr?source=rss-6880d44f68af------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Amy on Medium</title>
            <link>https://medium.com/@apottr?source=rss-6880d44f68af------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 09:03:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@apottr/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[C++ Adventures and Perceptron Woes]]></title>
            <link>https://medium.com/@apottr/c-adventures-and-perceptron-woes-3ca91afb9215?source=rss-6880d44f68af------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ca91afb9215</guid>
            <dc:creator><![CDATA[Amy]]></dc:creator>
            <pubDate>Mon, 14 Nov 2016 08:56:25 GMT</pubDate>
            <atom:updated>2016-11-14T08:56:25.094Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ve begun work on a <a href="https://github.com/apottr/gpu-perceptrons">project</a> that’s proving to be a fickle pickle. 96 LoC in and I still don’t feel quite comfortable enough writing C++ code. I wrestled with 14 fucking errors earlier and it was an absolute chore. Most of these errors surfaced from my unit step function and my rendering code. I’ve written a couple functions to allow me to debug and render out doubles and arrays of doubles.</p><p>It was a fantastic time when I ran into a problem with my unit step function that made me replace every instance of “float” with “double” in my code. In hindsight, I could’ve just written 1.0f and 0.0f on my unit step function and everything would’ve been dandy.</p><p>My current problem is this:<br>I have my perceptron training as expected, but the output is odd.</p><pre>1.0, 1.0, 1.0,</pre><pre>0.2</pre><pre>1.0</pre><pre>0.0, 0.0, 0.0,</pre><pre>-2.4</pre><pre>0.0</pre><pre>1.0, 1.0, 1.0,</pre><pre>2.4</pre><pre>1.0</pre><pre>0.0, 0.0, 0.0,</pre><pre>-2.4</pre><pre>0.0</pre><p>Each chunk is 3 lines:</p><pre>training data<br>dot product<br>unit_step</pre><p>What I should be seeing is, instead of two unique chunks, I should be seeing four unique chunks. The provided testing data is as follows:</p><pre>double testing_data[4][3] = {<br> {1.0,0.0,1.0},<br> {0.0,0.0,1.0},<br> {1.0,1.0,1.0},<br> {0.0,1.0,1.0}<br> };</pre><p>This is a problem for tomorrow, sadly.</p><p>0355 -0400.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ca91afb9215" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Initial Post]]></title>
            <link>https://medium.com/@apottr/initial-post-29df6757f4c7?source=rss-6880d44f68af------2</link>
            <guid isPermaLink="false">https://medium.com/p/29df6757f4c7</guid>
            <dc:creator><![CDATA[Amy]]></dc:creator>
            <pubDate>Sun, 13 Nov 2016 00:17:10 GMT</pubDate>
            <atom:updated>2016-11-13T00:17:10.938Z</atom:updated>
            <content:encoded><![CDATA[<p>test commit</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29df6757f4c7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>