<?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 Rik on Medium]]></title>
        <description><![CDATA[Stories by Rik on Medium]]></description>
        <link>https://medium.com/@mlrik?source=rss-141d413c1dc3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*YfXxUkqRGaPZm2SXhROLHw.jpeg</url>
            <title>Stories by Rik on Medium</title>
            <link>https://medium.com/@mlrik?source=rss-141d413c1dc3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 06:14:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mlrik/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[How to be Not a Hydrologist]]></title>
            <link>https://medium.com/@mlrik/how-to-be-not-a-hydrologist-7646881f31eb?source=rss-141d413c1dc3------2</link>
            <guid isPermaLink="false">https://medium.com/p/7646881f31eb</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[hydrology]]></category>
            <category><![CDATA[meuse]]></category>
            <dc:creator><![CDATA[Rik]]></dc:creator>
            <pubDate>Thu, 20 Jun 2019 10:10:46 GMT</pubDate>
            <atom:updated>2019-06-20T10:10:46.293Z</atom:updated>
            <content:encoded><![CDATA[<p>One of the alluring promises/premises of Machine Learning says that a person without domain knowledge can solve problems that would normally require experts from the field. For any domain…</p><p>In my studies of Machine Learning, I try to work on ”real projects” and I have chosen to model the streamflow in the river La Meuse (De Maas in dutch).</p><p>And trust me: I am no expert.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*uKSx-QOhjO63h-XaJFZf4A.png" /></figure><p>It has been about a year since I set this challenge to myself. And several prototypes have come across my Python notebook. I am now ready to take these prototypes and turn them into something more substantial. Working models that produce live forecasts. And hopefully, some day, I will be able to publish them online. Maybe even compare my forecasts with those published by the government.</p><h4>Flashback</h4><p>Several things drew me into this challenge. The fact that a river is a natural system motivates me to study the relations between causes and effects; the fact that I live in the Meuse/Rhine Delta even more so. Perhaps The Rhine would have been a more obvious choice, but I knew that snow melt has a big impact on the river flow in The Rhine. That makes for extra complexity that I was trying to evade, for the time being. The Meuse is mostly fed by rain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*mgJ6XLzAxSc7BYF9" /><figcaption>Measuring Station &quot;<a href="http://voies-hydrauliques.wallonie.be/opencms/opencms/fr/hydro/Actuelle/crue/mesure.jsp?code=67531011">Lasnenville</a>&quot; in Belgium</figcaption></figure><p>&quot;Free data&quot; is available for the river. All the measuring authorities post their data on their websites, including substantial archives. That was another inspiration. Finding valuable data for any Machine Learning study is a challenge.</p><p>The facts that the causes of river flow are 1) well known (very well indeed) and 2) easily understood (it’s the rain stupid!) make it easy to design a forecaster. At least, I do not have to second guess my assumptions every time a model fails. I am not chasing a ghost in the data.</p><h4>Not a Domain Expert</h4><p>I am Not a Hydrologist. Period. There in lies the fun of the whole project! Mind, I am not indifferent to the profession. Quite the opposite. While I was searching for proper scientists using Machine Learning in the domain of river flow, I read some blogs and papers and watched some youtubes. I am learning hydrology jargon and the way the professionals think about their jobs. Specifically, I learned how &quot;good&quot; a model needs to be to be called &quot;adequate&quot;. And how to define those qualifications in code.</p><p>With every new lesson in hydrology, I get farther away from my position as the &quot;anti expert&quot;. But I try not to let that stand in the way of fulfilling that promise: How not to be a Hydrologist and have the data forecast La Meuse.</p><h4>Future blog posts</h4><p>Follow these blogs as I go through the project. From data scraping to model evaluation and everything in between. Expect to see a very diverse tech stack. Just dropping a few names here: Docker, PostgreSQL, PostGIS, LSTM, encoder-decoder networks, BeautifulSoup, QGIS, TimescaleDB, GeoSpatial joins, Python, git, Jupyter, matplotlib, Keras.</p><p>Stay tuned.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7646881f31eb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning to optimize a Neural Net, part 3]]></title>
            <link>https://medium.com/@mlrik/learning-to-optimize-a-neural-net-part-3-6d7ad0c7d5e3?source=rss-141d413c1dc3------2</link>
            <guid isPermaLink="false">https://medium.com/p/6d7ad0c7d5e3</guid>
            <category><![CDATA[papernet]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[neural-networks]]></category>
            <dc:creator><![CDATA[Rik]]></dc:creator>
            <pubDate>Tue, 04 Jun 2019 14:37:40 GMT</pubDate>
            <atom:updated>2019-06-04T14:43:29.035Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Lessons learned today</em><strong><em>*</em></strong><em>:<br>Choosing the smallest thinkable example of your problem does not necessarily produce the easiest understandable example of your problem.<br>A sufficiently advanced Neural Net is proven to be able to approximate any function, but nobody promised it would be easy to train to perfection.</em></p><p>Read <a href="https://medium.com/@mlrik/learning-to-optimize-a-neural-net-d60e85135b49">part 1 here</a>. It explains my little PaperNet and its 28% failure rate, then proposed some experiments to see if I could improve that rate.<br>Read <a href="https://medium.com/@mlrik/learning-to-optimize-a-neural-net-part-2-4397922d0243">part 2 here</a>. It dealt with the failure rate and discovered a magical floor in the learning curves.</p><p>What follows tries to remove that floor, or even better, explain it away.</p><p>This experiment sets the scene. Six models were trained, without activation functions, only 3 layers with 4 units in the hidden layers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/393/1*3YXtDbO2pEGO2t5FZhQXWg.png" /></figure><p>They were trained on 5 images 3 pixels wide.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/228/1*2e4aB_R3CzZl7m25jV-tHA.png" /></figure><p>And here are the 6 learning curves.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/836/1*aS9hcEWzetlikKHOrZ9cZw.png" /></figure><p>As an example, let’s zoom in on model #0. First the curve ‘hits the floor’, then hovers up and down a bit and finally lies down on a green, sunny field at exactly 0.06666665524244308.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A2f5RRjuMTA3CYh1OG4ECQ.png" /><figcaption>Sun added for effect by author.</figcaption></figure><p>I tried changing that floor by varying the image size. By the way; with image size (n), also changes the size of the data set (m). Recall the original set:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/228/1*o5v7lYLMZ-2thR1HF-zMuw.png" /></figure><p>This is what a set with 8 pixels per image looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/208/1*LVfEa7EmRpAQ-RSMXg5JCw.png" /></figure><p>The set grows quadratically with the number of pixels:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/504/1*jU7ENQN5W3g5ht8sKpQzlQ.png" /></figure><p>I ran experiments on image sizes ranging from 2 through 19. The loss floor was practically zero for n=2. That set is just too easy for a NN, I guess.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/336/1*9rCtHQKKxfoZ3JQ8PTTDyQ.png" /></figure><p>The other outcomes are more interesting. As images grow in size, the floor converges to a steady value of about 1/12.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/730/1*kXtyCt568bG8-tfkIlngzQ.png" /><figcaption>Loss floor for different size images.</figcaption></figure><p>To verify this convergence, I ran one more experiment with n=256, m=32895. The loss floored at 0.0832889974117279, which is 1/12th give or take 0.000044335921605.</p><p><strong>Conclusion</strong>: my neural net training loss floors out at 1/12th as images grow larger. The actual loss floor is lower for images with an even number of pixels than for those with an odd number of pixels.</p><p><strong>Conclusion</strong>: be skeptical when using the smallest possible problem definition. Scale up and watch trends, if any.</p><h4>Floor is now better defined, but not explained, nor removed 😒</h4><p>Let’s try to remove the floor without trying to understand it. Some options I came up with:</p><ol><li>adding noise to the training data, thus increasing the size of the dataset, maybe leaving the pristine set as a validation set</li><li>dropout</li><li>regularization</li><li>different loss functions (MSE?)</li><li>oh boy: activation functions again?</li></ol><h4>Sigmoid</h4><p>Yes, activate! But not like before. This is what I need to try first:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*-l-gfeWD-qcxUL1kslSitg.png" /></figure><p>This network has just one activation in it. The very last output unit is activated by the sigmoid function. That function ‘squeezes’ input values from a very wide range [ — infinity,+infinity] to the range &lt;0,1&gt;.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/442/1*W6vkVejFmJv5Q2oeiCmy0w.png" /></figure><p>All my outputs are within the range &lt;0,1&gt;, while the weights (and therefor the activations) in the network can become as small or large as they want. My intuition says that the sigmoid squeeze ‘helps’ to produce a valid output. During training, hopefully, the sigmoid will help to backpropagate smaller errors, thus helping with the more subtle changes in the weights; the kind of changes needed to break through this floor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*xTMDfFDyi8fz2VP1F0SbwA.png" /></figure><p>My impression is that the sigmoid is slowing down the learning a bit. But at least we are now breaking through the floor! Just train for a few thousand more epochs than we used to do.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a-eMRCYCJejvwIMUn8gMTg.png" /></figure><p>Let’s see if a larger learning rate will help to speed up training.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*NZOl7jcoljtj0OPrbrj58g.png" /></figure><p>The models all train faster, it seems: they hit the floor sooner than in the previous experiment. Training more epochs proves that the models keep improving without getting stuck at some magical level. However, zooming in reveals violent oscillation in the learning curve.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W6Js7JTy16u_NU1zmevhWQ.png" /></figure><p>Perhaps I overdid it when increasing the learning rate from 0.01 to 0.1.</p><p>Also, even my best model still does not do a perfect job. Accuracy is still well under 100%. Look at the predictions by my latest top model:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/389/1*UrH1-ZDQPbAyIjzqxsXovg.png" /></figure><p>It still misses one of the predictions by a very large margin. No matter how often I reset and retrain my models, this is what happens. The hardest prediction can be any one image in the set of 5, but there is always one. When I train on a set with bigger images (say n=7 pixels, m=27 images), this happens:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*udirG2m_8k0qVrsbr0liRA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/1*y6w9gfA5z3HXYds7CYhEpA.png" /></figure><p><strong>Conclusion</strong>: the sigmoid activation in the final unit helps to break through the floor, but does not improve accuracy.</p><p>I ran the same experiments with and without the sigmoid activation. These are the losses according to an evaluation (on the training set, because that is all I have right now).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/737/1*URITOmoO9drjvf0O7FsmQA.png" /><figcaption>evaluation MAE of best model, by size of image</figcaption></figure><p>We see similar development of the two curves. The MAE with sigmoid is slightly better. Note however the big difference for our favorite problem set of the 3 pixel images! That result alone made us very happy earlier. Now we learned, again, that we must keep looking at the, ehm, bigger picture.</p><h4>How about that perfect score now Rik?</h4><p>Didn&#39;t you say in part 1 that, on paper, this little NN had 5 perfect predictions for 5 images?</p><p>Sure, but that had a logical AND operator inside that relied on a ReLU. The ReLU resulted in lots of worries for the SGD optimizer. It could not replicate my hand made network. Lots of times it even crashed with a loss of 0.5. I called it a failure rate and I needed to remove ReLU in order to remedy the failures.</p><p>Just for kicks and giggles, let&#39;s try the ReLU again. Now with the sigmoid in place. Quick reminder, a ReLU activation looks like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/310/1*DbGqmS8_VQr5J59EjQXF6w.png" /><figcaption>Alle negative activations are suppressed.</figcaption></figure><p>The network previously known as PaperNet now looks like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/413/1*8VjuxZXeGfenXo3HVTdtTw.png" /><figcaption>This is my original PaperNet with a Sigmoid on top.</figcaption></figure><p>And it trains real swiftly to success:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*pZ7BM3w_u6b3Dhw1QClkRw.png" /><figcaption>The oscillations reveal a rather large learning rate of 0.1.</figcaption></figure><p>Quite a few contesting models are getting into trouble again, but look at that gorgeous top model in today’s line up!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/1*fnlxHER9iTV8N8_eD5MErA.png" /><figcaption>AI’s next top model</figcaption></figure><p>This is the new record holder! Finally a decent reproduction of my handy work. But alas, the “failure rate” has returned…</p><h4>* Epilog</h4><p>As I browsed through my draft stories today, I rediscovered this blog post from almost a year ago. I now wish this part was published earlier. Back then I had many more experiments in mind and I waited for the results so I could include them in this post. But school and work got in the way of all that. Those are good excuses to have, by the way.</p><p>So I publish this today instead. There is no real final conclusion to the story and I feel that is only proper. This series of experiments helped me learn a great deal. Reading back the series of blog posts even more so, surprisingly enough. And learning is something I want to never stop.</p><p>Cheers, Rik (2019 June 4)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6d7ad0c7d5e3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning to optimize a Neural Net, part 2]]></title>
            <link>https://medium.com/@mlrik/learning-to-optimize-a-neural-net-part-2-4397922d0243?source=rss-141d413c1dc3------2</link>
            <guid isPermaLink="false">https://medium.com/p/4397922d0243</guid>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[papernet]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Rik]]></dc:creator>
            <pubDate>Mon, 25 Jun 2018 08:10:35 GMT</pubDate>
            <atom:updated>2019-06-04T14:43:32.830Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Lessons learned today:<br>Activation functions are a big deal for my little PaperNet.<br>Keep your models as uniform as possible when doing grid searches.<br>Better metrics: ‘error on hardest prediction’ and ‘learning curve floor’.</em></p><p>Read <a href="https://medium.com/@mlrik/learning-to-optimize-a-neural-net-d60e85135b49">part 1 here</a>. It explains my little PaperNet and its 28% failure rate, then proposed the following experiments to see if I could improve that rate.</p><ol><li>activation functions (non-linearities) in all layers;</li><li>more layers;</li><li>more units per layer;</li><li>a bigger data set (add a bit of noise to the pixel values);</li><li>bigger images;</li><li>select the best models early in the process, clone them to maintain their numbers, add some randomness to the weights for variety, cull the others, train some more, repeat;</li></ol><p>Having no activation functions in layers 1 and 3 feels very <em>unnatural</em> for an <em>artificial</em> neural network. It is the result of designing the smallest, simplest possible network by hand. Let’s start by “repairing” that omission and measure the effect on loss.</p><h4>Activation in all layers</h4><p>In the default setup, PaperNet looks like this in Keras:</p><pre>model.add(Dense(4, use_bias=True,  activation= <strong>None</strong> ))<br>model.add(Dense(2, use_bias=True,  activation=&#39;relu&#39;))<br>model.add(Dense(1, use_bias=False, activation= <strong>None</strong> ))</pre><p>I changed that to:</p><pre>model.add(Dense(4, use_bias=True,  activation=&#39;<strong>relu</strong>&#39;))<br>model.add(Dense(2, use_bias=True,  activation=&#39;relu&#39;))<br>model.add(Dense(1, use_bias=False, activation=&#39;<strong>relu</strong>&#39;))</pre><p>After training 20 models for 2000 epochs, the losses were worse than originally! Now 60% score worse than 0.45. Here is the histogram.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/1*_2CIdqNRn57hTrPs4FZvVQ.png" /></figure><p>Also, take a look at the learning curve of one of those twelve misfits:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*OpNv30ZlqDNiJawgzvVveA.png" /><figcaption>loss stays around 0.500000 +/- 0.00001</figcaption></figure><p>The loss starts and ends at 0.5. There is no progression whatsoever.</p><p>Forget about activation for now. Let’s try some other variations first and come back to ReLU later.</p><h4>Intermission: all layers are created equal</h4><blockquote>Alas, in the original PaperNet, some layers were created more equal than others.</blockquote><p>Layer 2 got an activation (where layers 1 and 3 did not).<br>Layer 3 got no bias (where layers1 and 2 did).<br>Let’s first equalize this and see how much that affects the failure rate. Then we can use the same NN creation algorithm for all models and get comparable results. The new Keras code is summarized like this:</p><pre>model.add(Dense(4, use_bias=True, activation=None))<br>model.add(Dense(2, use_bias=True, activation=None))<br>model.add(Dense(1, use_bias=True, activation=None))</pre><p>Whoah!? What happened!?! Look at these learning curves:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/1*ibU9zqjCRHhcUFJz2frTFg.png" /><figcaption>All models now train to “pretty good” performance.</figcaption></figure><p>Was it the bias? Was it the activation? Oh woe me, for changing two variables at the same time! Go back Rik and do as you were taught…</p><h4>Equal bias, different activations</h4><p>Try this first:</p><pre>model.add(Dense(4, use_bias=True, activation=None))<br>model.add(Dense(2, use_bias=True, activation=<strong>&#39;relu&#39;</strong>))<br>model.add(Dense(1, use_bias=True, activation=None))</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/1*fz5cHUT53zILzmxEQqrFdQ.png" /><figcaption>Performance is spread between “pretty good” and “moderate”.</figcaption></figure><h4>Different bias, equal activations</h4><pre>model.add(Dense(4, use_bias=True,  activation=None))<br>model.add(Dense(2, use_bias=True,  activation=None))<br>model.add(Dense(1, use_bias=<strong>False</strong>, activation=None))</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/1*7O_P-NLe5COLLJFy_vfuoQ.png" /><figcaption>Performance is, again, “pretty good” across all models.</figcaption></figure><p><strong>Conclusion</strong>: the ReLU activation in (just) layer 2 did more damage than good. The model without any activations has no failure rate to speak of. The asymmetric biases across layers also made a difference, but not as much. The graph with learning curves for 20 models with bias in all layers shows a number of models getting stuck, just like the original PaperNet architecture. But the loss value of these stuck models is better (around 0.2 now, instead of 0.5 before).</p><p>In short: bias or not makes little difference (in terms of failure rate). We might as well put them in all layers. <br>ReLU activation of layer 2 makes a world of difference (for the failure rate).</p><p>Before moving on to more layers, I need to figure out what happens with the outputs of the units in my neural net, so I can better understand why these activation functions make so much difference.</p><p>First I need to create a bunch of models with ReLU in all 3 layers. Then train those from scratch for 2000 epochs. Then compare activations between the best and worst of that bunch.</p><p>First, a model that performs very well:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/252/1*Va31MSw8Pw2L_QB6eukuAA.png" /><figcaption>activations map for layer 1, best model of 10</figcaption></figure><p>Notice that many of the activations in this map are 0.0. Thirteen of all twenty. For comparision, this is the same map for the worst performing model (loss 0.5).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/252/1*jFsg2FOBsoSxx8H2FOidEg.png" /><figcaption>activations map for layer 1, worst model of 10</figcaption></figure><p>Nothing is fundamentally different here. Let’s look at the next layer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/165/1*eJIxnz5W9_g2igLW-KP_wA.png" /><figcaption>activations map for layer 2, best model out of 10</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/186/1*io13SBqMAdgqu59S4SV14A.png" /><figcaption>activations map for layer 2, worst model out of 10</figcaption></figure><p>The second layer shows a remarkable difference. The bad performer has nothing but zeros in its activation map, while the good performer has a nice variety of activation values. The bad model is not going to recover from this easily. It has gotten stuck. Apparently all neuron outputs before the ReLU were negative and got squished.</p><p>The outputs of the third layer are the outputs of the entire network. And they showed the same thing: perfect predictions for one model. All zeros for the other model.</p><p><strong>Conclusion</strong>: ReLU can “hide” potentially valuable outputs from us and it takes a very long training run to, maybe, recover from that. Any initial model that produces negative numbers will suffer from this syndrome. A hefty proportion of our models will therefor perform very poorly, even after 2000 epochs of training.</p><h4>So much for that “intermission”…</h4><p>Let’s move on with a new base model: without activation functions in the layers, with bias in all the layers. Now I am ready to measure the effect of extra layers. Quick recap, this is what a base model now looks like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/388/1*CFB0xzshA7YDFbbG3ZKQUg.png" /><figcaption>Image in, blob center value out, all layers fully connected.</figcaption></figure><h4>MOAR LAYORS!</h4><p>Finally.</p><p>I am sticking with the “one change per experiment” for now. So, the next thing to measure will be a 4 layer model. For simplicity’s sake, I reduce the number of arrows to one per layer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/509/1*D82f-i1wz1-zwT-A9CkNTQ.png" /><figcaption>Same as before, just a little more.</figcaption></figure><p>Results are encouraging. Losses for 10 models stay very close together and all are below the “good enough” threshold of 0.0833 or 1/12th.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/395/1*ZS-NQskT-Ja8exalgidg-Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/836/1*JZAMu74bC7m3sZHq41Tn5w.png" /></figure><p>Let’s see what one of these will do with a much longer training.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*eJbt8bDh7KwrHfgy2lgNDQ.png" /></figure><p>It appears that this model will not improve much beyond a certain level. And that level is not quite perfect yet:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/389/1*0Wq53y7DpeBPZH-03S0tQQ.png" /><figcaption>This set of predictions scores a loss of 0.0667.</figcaption></figure><p>The above set of predictions is still confused between images #2 en #4 despite the overall loss scoring below 0.0833. Training this model for another 10000 epochs does not help much. The loss function starts to oscillate like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/854/1*NOSpOeJBgm5QGSTbJsLvmQ.png" /><figcaption>I suspect the predictions between images #2 and #4 are ‘flapping’ as well, but I have not written the code to visualize that.</figcaption></figure><p>So, without any other changes to the model itself (different optimizer, smarter learning rates, regularization, dropout, even activations perhaps), this seems to be the best we can do with four layers.</p><p>Keep that overall loss in the back of your head: 0.0667 or 1/15th.</p><h4>Introducing better metrics than failure rate</h4><p><strong>Accuracy</strong> is defined as the proportion of predictions (out of all 5 predictions for training set X) that are within a 1/4th pixel margin of the ground truth. That margin is 1/12th, or 0.0833 in the case of images that are 3 pixels wide. This margin is computed so that we we can safely round off the prediction to the nearest pixel center.</p><p>Here is a model that gets it right for 4 out of 5 predictions . That is a lot better than guessing all zeros, but I need the accuracy to improve to 5 out of 5. Margins are presented as gray bands.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/389/1*Vajx3ezQskHoPwDR2WT61A.png" /><figcaption>This model scores very well on 4 out of 5 predictions; its accuracy is 80%.</figcaption></figure><h4>More Layers AND More units per layer</h4><p>I will be changing two parameters at the same time again: number of layers AND number of units per layer. However, I will be keeping track of the results for each combination of two numbers. This is a modest grid search.</p><p>Before that, I need to equalize one more property of the layers in PaperNet. The final hidden layer (just before the output unit) has 2 units as opposed by the 4 in the previous layer(s). I want all layers to have the same number units and then vary that number. I tried a series of models with 4 units per layer and a variety of network depths. There was no visible change in behavior. The baseline was not shaken up like before when I equalized the activation functions across the layers.</p><h4>Grid search</h4><p>Moving on to the wide grid search, let’s explore a 7 x 7 matrix of experiments with neural nets ranging</p><p>from:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/388/1*gbsdPitmC6Xc6jaAY3N42Q.png" /><figcaption>base_3l_3u</figcaption></figure><p>to:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/999/1*i3QY272QW9ucR8vb9VU89w.png" /><figcaption>base_9l_9u</figcaption></figure><p>Just to keep training time manageable, I reduce the number of models to 8 per experiment and the number of epochs to 1500 per model. This grid is searched in about 100 minutes. All learning curves, statistics and trained models are stored in memory and analyzed later. Remember; my notebooks are on <a href="https://github.com/riklmr/papernet-lessons">Github here</a>.</p><p>All 49 models score an accuracy of either 60% or 80%. Not so surprising when there are only 5 predictions to get right or wrong. Each grid in this diagram shows the value for the best model out of 8 models that were trained for 1500 epochs each.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/523/1*2u5U1uiOYuGir02lfficFQ.png" /></figure><p>All the overall loss values (of the best models) converged to 0.0667 or a little bit above, but never under that magic (*) value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/530/1*HpY4O9PZ7Y1_tPNTlzReAw.png" /><figcaption>(*) somewhere in this diagram, advanced technology is hiding something from my insufficient mind</figcaption></figure><p>The green and blue colors in the diagram do not reveal any trends to me. I cannot say things like “more layers work better than more units”. There just is too much noise in this data.</p><p>Every model trained so far has at least one image that troubles it. The diagram below explores by how much that one image is a <em>Hard Problem</em> for these models. Again, these are the top models from each experiment. Darker means better.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/523/1*P2R9nUKR1cNE0pL3b-dy0Q.png" /></figure><p>When I squint really hard, I can make out a shape that says: “models in the upper left are failing harder than all others”. Also, the models with 9 units in all layers seem more promising than all others. I think I have the patience for one more grid search. All this debugged code should make that easy now.</p><p><em>&lt;sigh&gt;</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/465/1*I0arLNWQnqosiOmZa2sFRA.png" /></figure><p>Alas, more noise. I feel I made a mistake when visualizing just the best model of the 8 per experiment. There is too much random effect going on to get any useful information from these numbers. For instance: the column “width=9” appears in both diagrams; those are essentially the same series of experiments. However, the corresponding columns in both diagrams show very different distributions. I am not even going to show you the green and blue ones.</p><blockquote>Pretty, but useless…</blockquote><h4>Magic obstacle</h4><p>All models in the grid searches so far had some invisible floor in the learning curve. A glass floor they could not break. The lowest ever value for loss at that floor was 0.06666682660579681. That is a fraction of a split hair width away from 1/15th. The absolute record floor sniffer got within 6 decimal places:</p><pre>0.06666682660579681 - 0.06666666666666667 = 0.00000015993913014</pre><p><strong>Conclusion</strong>: for a model without activation functions, this object localization problem has a known, but unexplained boundary on the objective function. Or better worded: I keep hitting my toe on some stupid rock under the water.</p><h4>Possible causes for the magic obstacle</h4><ol><li>Learning rate causes ‘granularity’ in the predictions;</li><li>Model architecture inevitably leads to ‘flapping outputs’;</li><li>Without activation functions, the model cannot approximate a logical AND function, which is necessary for this problem (recall that the original PaperNet perfect solution deliberately used an AND function).</li><li>The most magical of hypotheses: it’s a conspiracy of the numbers 5 and 3! Multiply the image width (3 pixels) with the size of the data set (5 images) and you get 15! Inverse that and you get the magic boundary loss value of 0.06666… ;</li></ol><p>The next step to take (from the list at the top of this post) would be to change the data set. Originally, the list poposed solutions to lower the failure rate, which we now have lowered (all the way to zero). But the failures only disappeared at the expense of our precious non-linearities. Since I suspect I exhausted anything interesting in this data set (of clean 3 pixel images), I now propose to continue in a new blog post and a new notebook: to delve into a bigger data set!</p><p>Continued <a href="https://medium.com/@mlrik/learning-to-optimize-a-neural-net-part-3-6d7ad0c7d5e3">here</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4397922d0243" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning to optimize a Neural Net, part 1]]></title>
            <link>https://medium.com/@mlrik/learning-to-optimize-a-neural-net-d60e85135b49?source=rss-141d413c1dc3------2</link>
            <guid isPermaLink="false">https://medium.com/p/d60e85135b49</guid>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[papernet]]></category>
            <category><![CDATA[keras]]></category>
            <category><![CDATA[kaggle]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Rik]]></dc:creator>
            <pubDate>Fri, 15 Jun 2018 18:58:40 GMT</pubDate>
            <atom:updated>2019-06-04T14:43:42.007Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Lessons learned today: <br>To analyse a Neural Net that will not behave, by reducing its size and complexity to the bare minimum.<br>The insight gained by training many similar networks and then visualizing all learning curves in one diagram.</em></p><p>In my studies of Machine Learning, I entered the Kaggle playground <a href="https://www.kaggle.com/c/whale-categorization-playground">competition</a> “Humpback Whale Identification Challenge”.</p><p><a href="https://www.kaggle.com/c/whale-categorization-playground">Humpback Whale Identification Challenge</a></p><p>One of the sub-problems I encountered had to do with cropping 35000 images to contain the subject (a whale’s tail or “fluke”) and not much else. Fellow contestants were nice enough to share their manually collected labels so others could train a Convolutional Neural Network that can do the cropping for them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/584/1*yDcAi8EDg95M92O6KTqLGw.jpeg" /><figcaption>Two photos of the same Hump Back Whale named “Oscar” (from kaggle.com). Bounding boxes added by hand.</figcaption></figure><p>I attempted to design a convolutional neural network that was effective and yet small enough to fit inside my modest computer. But none of my networks worked. I reduced the challenge to only finding the horizontal center of the bounding box of the subject, hoping that a simpler task would be easier to train. No such luck.</p><p>The effort was not fruitless though. It helped me find <em>how</em> my model was failing. It would just guess at the wanted value by always outputting the average value of the training data. As if it was not even looking at the image!</p><p>A Convolutional Neural Network consists of two major parts: the convolutional part and the densely connected part. The convolutional part produces a “map of interesting features” of the image. The second part boils this map down to a value; the wanted center location of the bounding box. I could not figure out which of these two parts was failing.</p><p>During training, the annoying guessing behavior of the model showed up in the loss function: the mean absolute error always shrank towards the standard deviation of my training values. I learned to discard any model that would do this and then get stuck. So all my models ended up in the waste bin. I disbanded the difficult-to-train-on images from the competition. I decided to roll my own images and see if I could come up with a working solution. Or at least reproduce the fault in an insightful way.</p><blockquote>When your model won’t fit the data, you can always use different data.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/356/1*a-xA7u5sk8QODXjXiTYTiA.png" /><figcaption>minimalist whale, center at 3/6th of the image width</figcaption></figure><p>This is one of my synthetic images. It is 1 pixel tall and 3 pixels wide. It has an “object” in it. The center of that object is denoted by a red vertical line.</p><p>All my code is <a href="https://github.com/riklmr/papernet-lessons">here on github</a>.</p><p>You can also see the image as a feature map that some convolutional network might have produced. By synthesizing these images/maps, I eliminated the need for convolutions and get straight at the regression in the densely connected layers. The remainder of this blog explores the regression part of my mini challenge.</p><p>The entire synthetic set consists of 5 images in total.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/228/1*o5v7lYLMZ-2thR1HF-zMuw.png" /></figure><p>That is my new training data. The goal here is to create the smallest possible model that will return the horizontal center of the object in the image. By keeping the input small and simple, I can now concentrate on a model that is so small and simple that even *I* could compute an output.</p><blockquote>The best plans fit on a paper napkin.</blockquote><p>I sat down to design that small network. It took me a long day, but I came up with a network and a set of parameters that would give the perfect output for every single input. in order to keep the mental arythmatic simple, I used integers only. I call this neural network “PaperNet”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*oQC52ujGI18YTncCaR27Ow.jpeg" /><figcaption>PaperNet holds a perfect network</figcaption></figure><p>For verification, I entered the network in a spreadsheet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fQAJSGGPufDHPPYM5VSr8g.png" /><figcaption>PaperNet verified by independent computer</figcaption></figure><p>PaperNet has three layers:</p><ol><li>The first layer takes an image and assigns a predetermined value to each black pixel. It has a column for objects of single size (1 pixel wide) and a column for objects of double size (2 pixels wide). It also remembers the size of the object (single or double) in two binary columns.</li><li>The second layer combines the values with the sizes. It is effectively a logical AND operator. The result is a positive number in one column and a negative number in the other column, depending on the size of the object. The ReLU activation removes the negative numbers.</li><li>The third layer just combines two columns into one by adding them up</li></ol><p>Now I could compare my perfect solution to the imperfect solutions created by the Gradient Descent algorithm. I use Python/Keras in Jupyter notebooks. GPU is totally optional.</p><p>When I run this PaperNet with randomly initialized weights for 200 epochs I sometimes get good results, but sometimes I get very poor results. Here are two extreme examples.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/389/1*mPEVTkCUEl481CpRt-mUUg.png" /><figcaption>this network is doing pretty good</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/389/1*GkGHJU0fBI0-7CMLCK3C0w.png" /><figcaption>this network outputs all zeros</figcaption></figure><p>To figure out how many epochs it takes to get an OK result, I trained the network multiple times, randomizing the weights every time training restarts. I kept tabs on the loss after each training run.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/391/1*rHUcVk2uLhLkynRJaYF1yQ.png" /><figcaption>PaperNet trained 20 times for 200 epochs, all results</figcaption></figure><p>The results show either a promising loss value or a very poor loss value. Check the histogram for the same experiment:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/1*CbQWfhg7KaJAXz6-YRplOw.png" /><figcaption>loss is either pretty good OR really bad</figcaption></figure><p>After only 200 epochs, there is no middle ground. Apparently PaperNet either converges to relevant weights OR to weights that drive the outputs to zero. I ran this experiment several times, increasing the number of epochs by an order of magnitude each time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/380/1*rUjQG1f5yu1nJiuv9b6YVA.png" /><figcaption>probability of poor performance after 2000 epochs is still discouraging</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/380/1*rm4k579SFLa2uOqLi4q8Tg.png" /><figcaption>after 20000 epochs, most models start to perform well, but not all</figcaption></figure><p>Let’s look at the training curves of 20 (newly randomized) models.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/1*8sbTllETwexaDX1Vwn064w.png" /><figcaption>the best model in this bunch is #18 scoring 0.0057</figcaption></figure><p>This shows some interesting details. Note the 200th epoch on the horizontal axis. None of the models reached their best result yet. Three of the models got stuck at loss=0.5. Many models are still improving at this point.</p><p>Then at the 2000th epoch, most models reached their best performance. Further training to the 20000th epoch does not change the losses much. The only exception is model #10 that improves a little bit between epochs 6000 and 10000.</p><p>So, 2000 epochs seems a fair training length for my little PaperNet. I would like to measure the probability that a randomized set of weights will reach a reasonable performance after 2000 epochs. This experiment was limited to 20 models. Preliminary assessment says: 3 out of 20 models (15%) will get stuck at piss poor performance (loss&gt;0.45). All others will continue to get better. Let’s see if we can get more confident about that percentage. Let’s train, say, 400 models for 2000 epochs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/1*eJpnpEuc3dMJRt1jc0_smw.png" /><figcaption>too many lines to produce a legible legend</figcaption></figure><p>These 400 training curves are transparently gray. This way you get an idea of the distribution of the losses at each moment in time. Note the three loss values that seem to attract most models: 0.500 (blech!), 0.003 (hooray!) and around 0.060 (fine I guess!).</p><p>Here are the same results in a histogram.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/392/1*0vsFDkc_pMmftbDxelVjcw.png" /><figcaption>this result came from a modest GPU/CPU combo churning for about an hour</figcaption></figure><p>About 113 out of 400 models (28%) perform poorly (loss&gt;0.45) after 2000 epochs of training. This means for my PaperNet: as training begins, there is a 28% chance it will be all for nothing.</p><blockquote>Today will be sunny with a 28% chance of big fat failure!</blockquote><p>I would like to design an architecture that is robust enough that the random initial weights do not matter. A network that will always converge to a reasonable performance, no matter what its starting point is. Later, when my network starts to grow again, I may no longer be able to train a shipload of models for so many epochs.</p><p>Here are some ideas I would like to try out.</p><ol><li>activation functions (non-linearities) in all layers;</li><li>more layers;</li><li>more units per layer;</li><li>a bigger data set (add a bit of noise to the pixel values);</li><li>bigger images;</li><li>select the best models early in the process, clone them to maintain their numbers, add some randomness to the weights for variety, cull the others, train some more, repeat;</li></ol><p>That last one is starting to sound a lot like an evolutionary algorithm. I don’t mind those, but it sounds like extravaganza and a lot of work.</p><p><a href="https://medium.com/@mlrik/learning-to-optimize-a-neural-net-part-2-4397922d0243">Continued here</a>.</p><p><a href="https://github.com/riklmr/papernet-lessons">Notebooks available on github</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d60e85135b49" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Nine Weeks in AI Boot Camp]]></title>
            <link>https://medium.com/@mlrik/my-nine-weeks-in-ai-boot-camp-89629070432?source=rss-141d413c1dc3------2</link>
            <guid isPermaLink="false">https://medium.com/p/89629070432</guid>
            <category><![CDATA[back-to-school]]></category>
            <category><![CDATA[emergent-behavior]]></category>
            <category><![CDATA[self-study]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Rik]]></dc:creator>
            <pubDate>Wed, 11 Apr 2018 18:45:27 GMT</pubDate>
            <atom:updated>2018-04-14T07:13:33.741Z</atom:updated>
            <content:encoded><![CDATA[<p>After having worked for eighteen years in ICT, my career was overdue for a reboot. So I sent myself to camp. Did I set myself up for an inevitable repeat of the past?</p><blockquote>Good thing I married a historian. 📜</blockquote><p>It feels like ages ago, when I rediscovered my passion for complexity. But it has only been six months ago. This passion resurfaced in the form of Machine Learning projects popping up everywhere I looked and everything I thought about. Not complexity for its own sake, but the kind of complexity that gives birth to something new: emergent behavior. Take for instance this leg “designed” by engineer/artist Theo Jansen:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/447/1*Ok_LHH4uUAJ64S5nNJPdoA.gif" /><figcaption>By Michael Frey CC BY-SA</figcaption></figure><p>The proportions of the parts in the multi part linkage were determined by a genetic algorithm, in the 1990s, on a “home computer”. Jansen wrote a column about it in my news paper at the time. That was not long before he rebooted <em>his</em> career and became a <a href="http://www.strandbeest.com/">Strandbeest</a> wrangler.</p><p>That sort of complexity never fails to captivate me. Last November this very HackaDay project re-lit the fuse in my mind: a <a href="https://jacquesmattheij.com/sorting-lego-the-software-side">Lego brick sorter by Jacques Mattheij</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FklLscxJbayI%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DklLscxJbayI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FklLscxJbayI%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/2d6ef56115c76fb1cf6d46bbd6aa7671/href">https://medium.com/media/2d6ef56115c76fb1cf6d46bbd6aa7671/href</a></iframe><p>Jacques described the painful process of classifying bricks using rule based algorithms and the elating experience of training a CNN to do the classification instead. What really caught my eager eye was his observation that building such a classifier is now within reach of the average hacker. He writes in his blog that learning how to build and train a classifier can be done at home.</p><blockquote>“Within <em>hours</em> (yes, you read that well) I had surpassed all of the results that I had managed to painfully scrounge together feature-by-feature over the preceding months.”</blockquote><p>Jacques’ blog was the first to lead me to <a href="https://fast.ai/">Fast.ai</a>. Which led me to find much more online resources I had not known about. While I was on a sabbatical, the world of AI had bloomed explosively and it had entered the realm of hackers at home. I had some catching up to do!</p><p>That week I decided that Machine Learning was an attainable goal for self study and that Fast.ai was going to teach me. Good thing I had decided to learn Python, only weeks beforehand…</p><p>And this is where history repeated.</p><p>Not before long, I found myself bogged down in my “studies”. Grasping AI concepts while learning to code in Python while trying to set up cloudy virtual machines while also searching the job market and writing applications. Complexity was no longer something that gave emergence to new behavior. Rather, my old instincts made me clamp down on the programming. Staring at the screen till I was blue in the face. This was no reboot for me. This was self punishment. And I had been here before in my life. I needed to sort out my tasks and prioritize.</p><blockquote>My historian wife can be a kick ass project manager. 💞 And so she kicked.</blockquote><p>Via the job market search engine, I stumbled luckily again. While trying to find a nearby employer in the field of Machine Learning, I came across the <a href="https://tsociety.io/">Turing Society</a> in Rotterdam. Among other educational programs, aimed at bringing tech-ed to non-tech students, they proposed to start the “Bletchley Boot camp for Machine Learning in Financial Context”. The <a href="https://ai-bootcamp.org/">online info on this boot camp was sparse at best</a>, but I decided to try to get in anyway. All I knew was that I was going to be inside a proper university for the first time in my life, with class mates half my age, dito teachers, with just a few weeks of Python practice under my belt and absolutely no educational degree to speak of.</p><p>And they welcomed me in with arms wide open. Thanks guys!</p><p>For reasons I only learned about in the following nine weeks, this boot camp was just what I needed. The weekly coding challenges had me coding again all day every day, but with a major difference; a deadline. Each weekly challenge gave me a daily target. And come next Monday night, I would “go to school” and hand in my homework, in whatever state of imperfection it was at that moment. Every Monday, I would drop the whole project and need not worry about it any longer. No more debugging or perfecting my code. Just reboot myself for another challenge. Every week started with a fresh opportunity to try a new technique of Machine Learning.</p><p>And so, during the course of the boot camp we:</p><ul><li>built a logistic regressor from scratch in Excel and in Python;</li><li>built a neural net to predict success of a phone marketing campaign;</li><li>built a neural net on structured data to predict sales;</li><li>built a convolutional neural net to classify plant seedlings in images;</li><li>built a recurrent neural net to classify toxic comments online;</li><li>built a Q-learning system that learned how to balance a (virtual) pole;</li><li>were challenged by a financial company to extract information from scanned invoices, by building a recurrent neural net;</li><li>built a siamese neural net to identify individual humpback whales;</li><li>collected and built all the necessary software to support our projects, completing the pipeline from data preparation to submission of our results;</li></ul><p>(Many of these projects may sound like Kaggle competitions because they are.)</p><p>I am very pleased I joined this boot camp. And here are a few of the reasons why.</p><p>The course gave me a lot of joy while learning complicated things. The challenges forced us to consider everything that needs to be organized surrounding the heart of your project. Working in a study group gave me the opportunity to consult my peers and share failures and successes with them. The coaches were very attentive and the online interaction (via Slack) was a great bonus. Our teacher obviously knows his stuff and he was not shy while dispensing his advice on how to become and act like a proper Machine Learning Practitioner.</p><p>Furthermore, the organizing Turing Society got us in contact with several companies that use Machine Learning, most of them in the context of financial services.</p><p>The camp is now over and I consider myself thoroughly rebooted. I have the Turing Society to thank for that. They did a great job. As did my sweetheart project manager at home.</p><blockquote>When she gave me a kick and then a kiss, at all the right times. 😉 😉</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89629070432" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>