<?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 Jan Hynek on Medium]]></title>
        <description><![CDATA[Stories by Jan Hynek on Medium]]></description>
        <link>https://medium.com/@janhynek?source=rss-a942f5e3b1ea------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*AUv6y8OE9KYmQuM9A4HQFg.jpeg</url>
            <title>Stories by Jan Hynek on Medium</title>
            <link>https://medium.com/@janhynek?source=rss-a942f5e3b1ea------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 15:16:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@janhynek/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 prepare data for Keras in R]]></title>
            <link>https://medium.com/@janhynek/how-to-prepare-data-for-keras-in-r-9ea30dd61a98?source=rss-a942f5e3b1ea------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ea30dd61a98</guid>
            <category><![CDATA[error]]></category>
            <category><![CDATA[r]]></category>
            <category><![CDATA[keras]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Jan Hynek]]></dc:creator>
            <pubDate>Tue, 28 Nov 2017 01:39:09 GMT</pubDate>
            <atom:updated>2017-11-28T01:42:50.858Z</atom:updated>
            <content:encoded><![CDATA[<p>Short intro: Keras consider itself as high-level <strong>neural networks API</strong>. It is written in Python and recently, in June 2k17 it was ported in R. And it comes with several perks, which might not be apparent for R users. And I personally haven’t seen any solution to problems I have encountered on the internet</p><p>When you start working with neural networks, every tutorial shows you amazing MNIST dataset, which is the perfect fit for this problem.</p><p>However, as you started working with Keras, you probably have other other application waiting. And there comes the point — what data should be feeded in Keras? You feed him your nicely prepared dataset, and you get error like this:</p><blockquote>Error in py_call_impl(callable, dots$args, dots$keywords) : ValueError: No data provided for “dense_5_input”. Need data for each key in: [‘dense_5_input’]</blockquote><p>This is an Python output. And if you are not at least a bit familiar with Python, you might be surprised.</p><p>In the end this just tells us there are <strong>missing values.</strong></p><p>However, thats not all. You can get similar error, if <strong>everything is not numeric.</strong></p><p>Lastly, if you still don’t know how to feed your data to Keras in R, <strong>try converting data.frames and tibbles to matrices.</strong></p><p>Hope this helps. And saves someone several hours of troubleshooting.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ea30dd61a98" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Basics.]]></title>
            <link>https://medium.com/@janhynek/basics-b266f8cf41c0?source=rss-a942f5e3b1ea------2</link>
            <guid isPermaLink="false">https://medium.com/p/b266f8cf41c0</guid>
            <category><![CDATA[life]]></category>
            <category><![CDATA[r]]></category>
            <category><![CDATA[writing]]></category>
            <dc:creator><![CDATA[Jan Hynek]]></dc:creator>
            <pubDate>Tue, 11 Apr 2017 12:39:23 GMT</pubDate>
            <atom:updated>2017-04-11T12:39:23.784Z</atom:updated>
            <content:encoded><![CDATA[<p>This is my blog number one hundred and twenty four. This is exaggeration, but I am quite sure that this is at least the fifth time I am starting a blog. But last time it was not my fault, I started application on Azure, and unfortunately, it became corrupted. Bam. Everything gone. And of course I haven’t saved a single word. Yeah, but at least I learned that I should make backups.</p><p>Regarding basics, my basic school was in Trutnov. Small town in Czech republic. It was across busy street, and first, we had a teacher who believed that my generation do not need to write. That everything we will write will be on computers. And she is almost right! 90% of the text I write nowadays is written on the computer. However, I changed the school after three years. And my new teacher found out I can’t write. Well, that sucked. And I also personally believe that these 10% of handwritten things are usually the most important things of all. But when I am now thinking about my basic school, let’s hypothesise. What would be the words I would tell myself if I could go back in time?</p><ul><li><strong>Hi, I am you from the future! Backup your files!</strong></li></ul><p>Nah, that’s just plainv stupid. Even though I would definitely believe that this guy is me from the future (I am very gullible), the rest of the sentence would not make sense for me. At that moment I was at most playing Prince of Persia. I did not know what the file is. Or what back up means. Okay, definitely not this.</p><ul><li><strong>Hi, I am you from the future! Don’t go back in time!</strong></li></ul><p>I am just interested in what kind of paradox would that cause. What the hell would that young myself think? And what would happen to my time travelling myself? Would he just disappear? Would that hurt? Yeah, and what would happen with all those timetravelling Jans? Maybe this and that databackuping Jan would just go to the pub. I definitely would like to hang out with myself. But wow, that would be weird. I would already know everything the other Jan knows. And vice versa.</p><ul><li><strong>Hi, I am you from the future! THE PAAAAAAAAAAAAIIIIN. And then disappear.</strong></li></ul><p>Well, that would definitely fuck up the my younger self.</p><ul><li><strong>Hi, I am you from the future! And then disappear.</strong></li></ul><p>Actually, the result here would be almost the same.</p><ul><li><strong>Hi, I am you from the future! You should really consider whether you want to learn to ride the bike.</strong></li></ul><p>I have several scars on my face and neck. All but one are from riding the bike. But I still like it!</p><p>However, I cannot go back in time. But I can send a message to my future self.</p><ul><li><strong>Hi, I am you from the past! You definitely should eat less. You should excercise more. And love and learn as much as you can. You definitely don’t need more things, but learn to appreciate those you already have. I hope that you will not f*ck up that studium in Amsterdam. Yeah, and don’t f*ck this blog either, it will be valuable in the future as well.</strong></li></ul><p>So, this was my short introduction. These are my basics on which I am going to build this blog on. In the future, you could expect here some short articles about R, data science and data analysis. I would like to write about tech-infrastructure industry as well. I would like to write these articles as a way to learn for myself as well, and from this premise it is evident that I don’t know now what I will be writing about. Let’s see. However I intent to make it lightheaded, maybe with some weird hypothesis and so on.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b266f8cf41c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>