<?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 Pineapple Tales on Medium]]></title>
        <description><![CDATA[Stories by Pineapple Tales on Medium]]></description>
        <link>https://medium.com/@pineappletales?source=rss-6f1e2bfd8926------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*pgAwTQpFNsaZm65nP2emEw.jpeg</url>
            <title>Stories by Pineapple Tales on Medium</title>
            <link>https://medium.com/@pineappletales?source=rss-6f1e2bfd8926------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 11:17:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pineappletales/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[I Hate My Lovely Wednesdays]]></title>
            <link>https://pineappletales.medium.com/i-hate-my-lovely-wednesdays-8eed253d5786?source=rss-6f1e2bfd8926------2</link>
            <guid isPermaLink="false">https://medium.com/p/8eed253d5786</guid>
            <category><![CDATA[self]]></category>
            <category><![CDATA[stress]]></category>
            <category><![CDATA[routine]]></category>
            <category><![CDATA[storytelling]]></category>
            <category><![CDATA[lifestyle]]></category>
            <dc:creator><![CDATA[Pineapple Tales]]></dc:creator>
            <pubDate>Mon, 13 Mar 2023 07:56:28 GMT</pubDate>
            <atom:updated>2023-03-13T08:04:42.488Z</atom:updated>
            <content:encoded><![CDATA[<p>Spilling randomness blog two: The mid-week crises</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZcwLlmdMfy50_IDN" /><figcaption>Photo by <a href="https://unsplash.com/@woomantsing?utm_source=medium&amp;utm_medium=referral">Jimmy Woo</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I usually wake up to the LOUD cry of a baby. After almost six months of living in this new place, I have discovered that a mini human’s alarm is far better than the pulsating sound of my Alexa. The only difference is that these days, I don’t wake up to a sudden and loud noise that can startle my body and mind out of a peaceful slumber, causing a rush of adrenaline and a feeling of disorientation. Trust me it is the worst kind of feeling, I don’t understand why but it feels like you have lost everything and are sort of waking up in a different dimension. This feeling stays until you are forced by the wicked alarm clock to get out of bed. It is only when you touch the floor with your bare feet that you realize, everything is fine. Describing all of this in words is giving me premature anxiety for tomorrow morning. <br>Anyways, coming back to the baby. This particular mini-human is my neighbor’s second child. Their window is half a meter away from my window. There is no concept of preserving privacy where I live. And it is completely normal for us. Even without being a part of their home, I can gauge a lot about their routine, of course unintentionally. And I am sure that they too know a lot about my routine as well. My wild guess is that they secretly enjoy my Friday night playlist.</p><p>My Wednesdays too are no exception when it comes to waking up peacefully. The next struggle is using the bathroom. Before even I can get to my business, my mind naturally starts to calculate the bleak possibility of using the bathroom without any disturbance. You would exactly know the feeling if you live with three other flatmates and all of them have morning classes. By the time I am done with my morning routine, it is almost time for breakfast. I am really bad at breakfast. By the time I decide on a tasty quick dish to make, the clock tells me to move on to the next task lined up. This whole breakfast situation turns ironic and I always end up having the old-packed-unhealthy-sweetened bowl of cereals. This guilt continues to linger on until I get reminded of attending the dreadful two-and-a-half hours lecture on advanced C++. This is eighty percent of the reason why Wednesdays have been a nightmare for me. Not because the professor specifically cautioned the students about the bleak possibilities of getting an ‘A’ grade in his subject but because by now the professor is well aware of my presence in the class, he knows my name too well and I guess it occurs naturally to him to ask me all kinds of questions just because he thinks my name is unique and remembers it. I don’t even want to talk about the kind of assignments he gives. I always shed a tear whenever I complete his assignments because it gives me a true sense of accomplishment in life. Every week I feel like I have built a stronger brain muscle. All thanks to the professor.</p><p>After my lunch, I pack my bag and leave for the university. Typically it is a thirty minute walk. The walk, to me, is a good way of clearing my mind. Pretty much a warm-up for the coding class. I get to see a lot of people on my way to the class. All of them are busy with their mundane activities. It reminds me that I am not the only one working hard. It is nice, I get to understand a lot about human nature just by observing people. Once I get to the class, I try to sit through the lecture with determination. Soon, the clock struck six thirty and with the excitement of making dinner, I leave the lecture hall. I walk back home with earphones on. Enjoying the music and feeling the lyrics. Sometimes, I stop by a gelato shop and buy a tiramisu-flavored ice cream. This is a form of self-care, a treat that I award myself for sustaining through the week, it also charges me up till Friday. I would take the ice cream cup to a dog park while on my way home. Sit there, under a tree for a while, and again observe people while enjoying my coffee-flavored ice cream and listening to music. I love this chill kind of multitasking.</p><p>I reach home by seven thirty and I start making dinner. Then it is almost time for laundry. Honestly, I think it is a waste of my time. After having food with my flatmates while watching some random YouTube video, I start with my thesis work because Thursdays are weekly report submission days. Soon I feel tired and my day usually ends with an herbal chamomile tea. It soothes my nerves. I fall asleep listening to some podcast.</p><p>Wednesdays are intriguing. Even though I have a set pattern for Wednesday, every week it proves to be different. Probably a memory from the dog park, a stranger I met on my way to the class, sometimes I don’t get my favorite tiramisu ice cream flavor so I have to buy a different one instead, and so many other random instances like these. Wednesdays relaxes me differently. Prepares me for the week ahead. It is nice but I hate it because it gives me unnecessary stress. My other days are better when it comes to facing real challenges.</p><p>Anyways, it is getting late. I need to go grocery shopping. I’ll write to you later. Until then remember to take it one day at a time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8eed253d5786" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sun Shining Through Clouds On My Window]]></title>
            <link>https://pineappletales.medium.com/sun-shining-through-clouds-on-my-window-b1848e726114?source=rss-6f1e2bfd8926------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1848e726114</guid>
            <category><![CDATA[lifestyle]]></category>
            <category><![CDATA[adulthood]]></category>
            <category><![CDATA[mindfulness]]></category>
            <category><![CDATA[storytelling]]></category>
            <category><![CDATA[thoughts]]></category>
            <dc:creator><![CDATA[Pineapple Tales]]></dc:creator>
            <pubDate>Wed, 08 Mar 2023 04:43:24 GMT</pubDate>
            <atom:updated>2023-03-12T22:31:40.219Z</atom:updated>
            <content:encoded><![CDATA[<p>Spilling randomness blog one: The Café</p><figure><img alt="I describe this café as a collection of unrelated things. (tbh sounds like my mind :))" src="https://cdn-images-1.medium.com/max/1024/1*7VSWabXj5yJERA3VqEyOFA.jpeg" /><figcaption>I describe this café as a collection of unrelated things. Tbh, sounds like my mind :)</figcaption></figure><p>It was unseasonably cold for it to be a March Tuesday. The strong freezing winds whistled through my ears like a trumpet’s metallic tone. Thankfully I had a woolen cap in my bag pack. Probably last night’s snowfall is to be blamed. But not completely, the snow gave way to Levi’s denim blue-colored sky, which I absolutely love because it brings sunshine. Probably the only thing that gives the appropriate sweetness to the spice of this unnaturally fall-ish cold spring.</p><p>Well, I am in this mismatched café right now, writing, entertaining all sorts of thoughts and clearly procrastinating my research work. However, this is what I feel to do right now hence I promise myself not to feel guilty about it later.</p><p>Anyways coming to the sunshine story. I was fifty minutes into my yoga practice and it was finally time for the <em>shav asana. </em>So, I lay down closing my eyes and I could feel the red color in my eyelids (<em>you know the feeling when you close your eyes facing a bright object and everything turns sort of red color suddenly</em>). I could feel the warmth of the bright sun on my cold yoga mat. I opened my eyes and saw a glare on my living room window. And just like that, I went down memory lane. The old film reel stopped at a vintage frame when I was 14 or so, sitting on my porch and drinking hot chocolate. And I felt how calm I was then. Away from the current adulthood existential crises. If I could meet that girl right now, I would find her confident, fearless, and grounded in her roots. And right when I thought that, it occurred to me how hard I have been on myself. I weighed my actions on a scale that was set as per society’s standards. All this while, I guess, I was trying to become this ideal version of myself. This took me so far from who I was that it somehow looked like I had lost some part of me. At that moment I opened my eyes, took a sigh, and promised myself to keep remembering that girl every now and then because if she happens to meet me someday, I know for sure that she will not like this twenty-five-year-old someone. With this note, I started my day and took one step closer to being grounded again.</p><p>Cut to having sunny-side-up eggs, dressing up nice, and walking almost twenty mins in the harsh cold, here am I in the café, trying to finish this matcha latte. I guess it’s almost time to start with my research work. Write to you soon! Until then, happy tuesday and take it one day at a time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1848e726114" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[To All The Skincare Products I Have Ever Used.]]></title>
            <link>https://medium.com/swlh/to-all-the-skincare-products-i-have-ever-used-efd5acdb18ff?source=rss-6f1e2bfd8926------2</link>
            <guid isPermaLink="false">https://medium.com/p/efd5acdb18ff</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[skin-care-tips]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[skincare]]></category>
            <category><![CDATA[skin-care-products]]></category>
            <dc:creator><![CDATA[Pineapple Tales]]></dc:creator>
            <pubDate>Sun, 30 May 2021 21:20:06 GMT</pubDate>
            <atom:updated>2021-05-30T21:20:06.706Z</atom:updated>
            <content:encoded><![CDATA[<h4>Revealing the wise advice for skincare through Machine Learning.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*z9zXfNEgsk-oVp2_" /><figcaption>Photo by <a href="https://unsplash.com/@ellescase?utm_source=medium&amp;utm_medium=referral">Eleonora Casalini</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>Feeling something like this?</h4><p><em>“It is hysterical to see my skin rejecting almost all the products I tried after a week or so.”</em></p><p><em>“Sometimes it feels almost impossible to achieve even the smallest goals for my skin.”</em></p><p><em>“Using different products have got me confused about my own skin type.”</em></p><p><em>“All the extensive research that I have done on my own, have lead me down every single time except once or twice.”</em></p><p>If you felt any of these points hitting you hard and you really want to see some experimentation using machine learning algorithm to actually know <strong><em>“the WISE skincare advice”</em></strong> and <strong><em>“my open letter to all the skin care products I have ever used”</em></strong>, then you might have just saved yourselves some serious skin-care crimes.</p><blockquote><em>Also, please note I’m not here giving false promises that you will no matter what achieve that dreamy skin. But I can definitely, give you my word that this article will give you an insight on how to acheive a better version of your skin. </em><br><strong>So, let us just stick to healthy glows than unrealistic troublesome dreamy woes!</strong></blockquote><p>Okay! So, staying at home for one long year (due to this pandemic), away from the outdoors factors that would affect my skin condition, has proved my own outlook about skincare wrong. Initially, during the quarantine days, I was quite optimistic about my skincare journey and thought that now is the time when my skin would be at its best away from pollution, direct sunlight, sweat, etc. Alas! soon enough I realised the holistic view of skincare.</p><p>Earlier, I used to see the skin of my face as a different part of my body. As in, I almost believed in giving undivided attention to my face and achieving the glass skin look, by using different skincare products such as scrubs, toners, lotions, emulsion, Korean masks and what not! don’t even get me started on the line of products I have stored in my cupboard. My products kept changing without fail but the skin problems like pimples, whiteheads, blackheads, marks, acne kept visiting me like a regular customer. This pattern always left me thinking ‘WHY’, whhhyyy are these products not working even when I am at home, all this long, away from the outdoor factors that could harm my skin?!?! The answer to this agitated why lies in the holistic view of skincare I learned in the most unforeseen way.</p><p>I started to observe some patterns of how my skin would start to look better when I eat less junk, slept before I turned sleepless and did some yoga. Connecting all the dots, I found how every part and process in our body is so interlinked and interconnected that it creates a <em>cause and effect</em> relationship. E.g. if you eat that most desired juicy burger, sure it would satisfy your temptation for weeks to just get a bite, it would also give food to your belly, those carbs and protein would provide you with energy but that processed greasy meat can definitely cause breakouts. Keeping all of this in mind, I thought to analyse this pattern to get a clear picture of how what I did directly affected my skin. The goal was to create an ML model which could analyse the <em>cause and effect</em> relationship. I did this by using the <strong>SVM algorithm. </strong>This helped me to predict whatever that I should be doing right to get a better version of my skin. Doing this helped me to project the <em>cause and effect</em> relationship graphically, making it a lot easier to understand the holistic view all at once. So, here is how I implemented it:</p><ol><li>I created a dataset of all the activities that affected the health of my skin.</li><li>Used the SVM algorithm on the data.</li><li>Finally, I understood the wise way of taking care of my skin.</li></ol><p><em>P.S. If you don’t feel like walking through all these steps then feel free to skip directly to the results part and my open letter to all the skincare products I have ever used.</em></p><h4>Dataset Creation</h4><p>I created the dataset based on four factors: healthy diet, adequate amount of sleep, the skincare products that I use and yoga. All four of these factors are used as the column names in my dataset as ‘eating_habit’, ‘sleeping_habit’, ‘on_skin_regimen’ and ‘yoga’. Based on these factors I have classified the health of my skin in the fourth column as ‘skin_health_type’. Typically, I can classify my skin looks into three types: ‘clear and glowing’, ‘acne prone’ and ‘irritated and acne prone’. And these three are the classification labels in this dataset. <br>Now, coming to the rows of the dataset. I have scored each of the factors on a scale, e.g.: for the sleeping_habit column, I have scored each row in the range of 4–6. So, if my skin condition is good on a particular day then I have scored or given the value between 6–7, similarly, if my skin health is okay-okay or bad then I have scored in the range of 5–6 and 4–5 respectively. In this way, I have created the whole dataset and scored each factor with different ranges. Given below is the picture of how the dataset looks:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9VMtAntNGwniPkijjBGS5w.png" /><figcaption>The first few rows of the dataset. Image source: Author.</figcaption></figure><h4>The SVM Algorithm</h4><p>A simpler and not too much technical way to understand SVM or Support Vector Machine is:<br>Basically, an SVM is creating a hyperplane that has the job to classify the feature vectors or the factors that I have used in the dataset such as the ‘eating_habit’, ‘sleeping_habit’, ‘on_skin_regimen’ and ‘yoga’, as ‘clear and glowing’, ‘acne prone’ and ‘irritated and acne prone’.</p><p>To understand how SVM works, look at the image below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*cM5JyaUyFXpCjh_vNihAsg.jpeg" /><figcaption>Hyperplane diagram; SVM. Image Source: Author.</figcaption></figure><p>Consider, that I have the feature ‘eating_habit’ on the x-axis and ‘yoga’ on the y axis. Additionally, I have two classes ‘clear and glowing’ coloured as green and ‘acne prone’ coloured in yellow.</p><p>Now, I want my SVM algorithms to classify any (x,y) pair or (eating_habit, yoga) pair as ‘clear and glowing’ or ‘acne prone’ based on the scores I have given in the dataset.</p><p>To classify the features as green or yellow, the SVM algorithm needs to find an optimal hyperplane. This is done by finding the closest feature to the hyperplane from either side. Once we find the closest feature, we denote it as support vector. Now that we have found the support vectors from either side, an optimal hyperplane is created based on the distance between the hyperplane and the support vector. The goal is to maximize this distance. The maximum distance is known as the maximum margin. The hyperplane which gets the maximum margin is known as the optimal hyperplane.</p><p>This whole thing can be coded by using just a small function shown in the image below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HslfXuGzYmZBQPyoMhJV_A.jpeg" /><figcaption>Image Source: Author.</figcaption></figure><h4>Result and Analysis</h4><p>Before even I start with the analyses part, you should know what is the biggest question for which I want an answer. The question is:</p><p><strong>“Are the skincare products the root medicine to cure any skincare problem or just an substitute for the medicine?”<br>I mean to what extent do they really matter?</strong></p><p><strong><em>Let us find the answer:</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WTzt7tHkc8Bo-ByutUTh3Q.png" /><figcaption>skincare products application vs (adequate sleep, yoga and good eating). Image Source: Author.</figcaption></figure><p>Let&#39;s start by separately looking at the graphs.</p><ol><li><em>Skincare products application vs sleeping habit: </em>this graph clearly depicts, that even if I do not regularly use my skincare products but I sleep good, by good I mean above average hours of sleep then there are more chances to get clear and glowing skin. <br>I have observed this so many times before, whenever my sleeping schedule gets messed up, the first signs are shown on my face. I start to get acne and irritated skin and this is correctly depicted by the orange and the red marks in the graph on the lower side. This implies that sleeping late at night can be a probable cause of irritated and acne prone skin.</li><li><em>Skincare products application vs yoga: </em>This graph shows that most of the days when I was consistent with my yoga practice, I had much more clear and glowing skin compared to any other day. It can also be observed that irrespective of how religiously I use my skincare products everyday, the overall positive effect on my skin is still shown by regularly exercising. Hence, it is again proven that regular use of skincare products have a less positive effect on my skin as compared to how I nurture my body through consistent exercise.</li><li><em>Skincare products application vs eating habit: </em>This graph reflects the importance of keeping our gut healthy. It directly points how interrelated are skincare and a healthy gut. This is why I strongly believe whatever that goes inside your stomach, shows on your face. You can see from the graph how even a little intake of junk food can still cause pimples (the orange and red coloured markers). I have experienced this when I try to have a little portion of processed food just to savour my pallet with other important food which has protein and roughage in it. Whenever this happens, my overall skin texture remains clear but again I can see a pimple or two popping up. The occurrence of pimples increases when I frequently start having processed food or something with high carbohydrates in it such as a burger or a cheese burst pizza.</li></ol><p>The information given by these graphs is sufficient to understand that yes, using skincare products regularly, helps your skin but only up to an extent. Hence, the right way to take care of your skin should not just be by using different skincare products. You have to understand the importance of how everything you do with your body has a direct effect on your skin. The skincare products can help you boost the quality of your skin only when you nourish and nurture yourself properly. <br>Keeping this learning as the crux of skincare, here is my open letter to all the skincare products I have ever used:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FVy704jqB51neIf3" /><figcaption>Photo by <a href="https://unsplash.com/@rrianramirez?utm_source=medium&amp;utm_medium=referral">brian mercado</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>To,</p><p>All the skincare products I have ever used,</p><p>Sub: Letting you know what I feel about skincare as a 23-year-old now.</p><p>Dear ex skincare products,</p><p>Since the day I entered my twenties, I have been mesmerised by your aesthetic bottles, your critically acclaimed results and the clear faces of the models that I saw on the advertisements, you were used in. Little did I know back then that I was befooled by you. Simply because your company, the beauty sites and the influencers sold you in a way that was quite relatable to my situation. However, I failed to understand that I was only being sold the half baked truth. <br>But now after months and months of experience, I know that each and every skincare product is the same. Using a single product and kissing bye to all skin related problems, no more looks like magic to me. I now understand that skincare is not just about using skincare products and treating the skin of your face as a different part from the rest of the body. I now understand the actual meaning of skincare lies in its holistic perspective. This perspective teaches me how nourishing and nurturing my body, plays a bigger part in providing positive results as compared to just using the skincare products. <br>From now, I won’t be naive enough to be fooled by you because now I know how to wisely take care of my skin.</p><p>Your owner,<br>Pranavi</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fE6unU2Lh0kKJfykyoSOsg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=efd5acdb18ff" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/to-all-the-skincare-products-i-have-ever-used-efd5acdb18ff">To All The Skincare Products I Have Ever Used.</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Finding Your Lost ‘U’nicorn!]]></title>
            <link>https://medium.com/swlh/finding-your-lost-unicorn-6151c439ad98?source=rss-6f1e2bfd8926------2</link>
            <guid isPermaLink="false">https://medium.com/p/6151c439ad98</guid>
            <category><![CDATA[individuality]]></category>
            <category><![CDATA[finding-yourself]]></category>
            <category><![CDATA[wellbeing]]></category>
            <category><![CDATA[self-exploration]]></category>
            <category><![CDATA[self-love]]></category>
            <dc:creator><![CDATA[Pineapple Tales]]></dc:creator>
            <pubDate>Sat, 22 May 2021 08:34:43 GMT</pubDate>
            <atom:updated>2021-05-29T17:45:35.489Z</atom:updated>
            <content:encoded><![CDATA[<h4>Re-routing yourself to who you really are for effortless living.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*n1TBZE-ubBm0d2uo" /><figcaption>Photo by <a href="https://unsplash.com/@morgansessions?utm_source=medium&amp;utm_medium=referral">Morgan Sessions</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote>Ultimately, you will figure out that living effortlessly as who you naturally exhibit is a far cry from who you were relentlessly forging yourself into.</blockquote><h3>There are people and then there is………………“You”.</h3><p>The role you play as a person today is a characterization of who you have been shaped into. This sculpting has required years of experience, understanding, mistakes, regrets, guilts, responsibilities, rejections, acceptance, appreciation, heartbreak, feeling loved, giving love, betrayal, familiarity and knowledge. You have somehow raised yourself between feeling all these experiences and realizing what to do about them. All this while the only thing which was not transient in your life was YOU. Yet we all take ourselves for granted and get shaped and swayed according to what is expected out of us.</p><h3>The problem</h3><p>The world is very mysterious in the way it offers ambiguity; even something as ordinary as light can be dual in nature. For different matters, there are different experiences, considering these numerous experiences coming from discrete individuals makes hundred and thousands of variegated opinions. But still, the most acceptable way to think, understand and act, prevails in just this one uni-dimensional ideology. As a child with a raw and ingenious mind to see things uniquely, the world around us somehow and unknowingly teaches us to adjust to a skewed perception, ‘the most accepted’ one. Since the nonconformist in us was suppressed all these years, as adults, we often feel disconnected with ourselves and start to think about ‘self-exploration’ as a critical issue. Eventually, with time we become unfamiliar and untrue to ourselves.</p><blockquote>“Isn’t it funny how the people in the society always have the upper hand to dynamically create the best and the worst paths for us?”</blockquote><h3>The solution</h3><p>Have you ever not wondered how is it that we shudder to even think of a different opinion rather than the perceived standards? We often compare the outcomes of our actions to the norms designed by society and then panic about it. The answer to this ubiquity lies in unlearning and tracing back to the roots of our individuality.</p><p>The standardized ways to live a life and behave in society creates a robust outer shell but leaves the inner core agile and weak. This is one of the reasons why I believe most people these days deal with depression. They fail to connect with themselves. Eventually, it becomes hard for them to form a strong establishment of their inner core to face the fake world that is created outside. The way to fix this is to find peace within oneself, only then one can establish a genuine connection with the real world. This can happen if you:</p><p>1) Find your unicorn<br>2) Meditate</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SV78luBiqDmH_dc9VZDcfA.png" /><figcaption><strong>Stop looking at yourself with a heart of doubt.</strong> Image source: Author</figcaption></figure><p><strong><em>Finding your unicorn</em></strong></p><p><em>A unicorn is characterized as a majestic, powerful and one-of-a-kind mythical creature. Isn’t the lost inner you comparable to it? Your uniqueness is what sets you apart from others. Finding this ‘unique you’ is most important. Everybody feels the need to have a superpower, but why? Because harnessing a power makes one feel self-reliant and different from others. But many fail to understand that they carry it in themselves. The moment you realize your speciality, it will give you immense natural inborn confidence.</em></p><p><strong><em>Meditate</em></strong></p><p><em>Now, this is a little different from what actual meditation is. All you have to do is to embrace your ‘unicorn’ by concentrating and focusing more on it. For example, one can be an engineer but also can have an artistic nature as his or her unique ability. He or she can try to reflect their innate creativity in the projects they do. Keeping such a practice can help one to stay connected to their inner self.</em></p><p>By re-routing yourself to who you really are, you will significantly feel a difference in the way you think of yourself. Ultimately, you will figure out that living effortlessly as who you naturally exhibit is a far cry from who you were relentlessly forging yourself into. You will feel much happier and healthier from inside than ever before.</p><h4>A little sparkle of your unicorn charm and the act of adding it into what you do will result in a perfect harmony of your senses; thereby resolving the conflicts inside.</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6151c439ad98" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/finding-your-lost-unicorn-6151c439ad98">Finding Your Lost ‘U’nicorn!</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I fixed my disturbed sleep using Machine Learning.]]></title>
            <link>https://medium.com/swlh/how-i-fixed-my-disturbed-sleep-using-machine-learning-29dbdc30a16d?source=rss-6f1e2bfd8926------2</link>
            <guid isPermaLink="false">https://medium.com/p/29dbdc30a16d</guid>
            <category><![CDATA[analysis]]></category>
            <category><![CDATA[linear-regression]]></category>
            <category><![CDATA[sleep]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Pineapple Tales]]></dc:creator>
            <pubDate>Wed, 23 Sep 2020 22:02:11 GMT</pubDate>
            <atom:updated>2021-05-29T17:44:55.725Z</atom:updated>
            <content:encoded><![CDATA[<h3>How I Fixed My Disturbed Sleep Using Machine Learning.</h3><h4>Sleep analysis using <strong>linear regression</strong> and <strong>visualization</strong>.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BHIgtiuuLmk9Fkxc" /><figcaption>Photo by <a href="https://unsplash.com/@annhwa?utm_source=medium&amp;utm_medium=referral">Ann Danilina</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Sound Sleep- A dream…?</h3><p>Do you remember the last time you slept like a baby? I am sure most of you don’t even need to ponder to answer such a question. If you are one of these people, then I’m sure you can relate with me on how it is like to toss and turn until you find the right thought to focus on, just so you can sleep! Trust me, sometimes it feels like fighting with your own mind and body. The aggravating factor creeps in when you know your body is tired, your mind is exhausted, but alas! You just keep glancing at the clock to check how many more hours you have until you go to work.<br>For anybody who is in the twenties, this stage can be easily labelled as the start of a classic, quintessential sleepless tale. Little did I know that the every night sound sleep episode in my teens was going to turn into the most coveted leisure of adulthood. This annoyance pushed me to sought this problem. Hence, I have tried many new things in the recent months of this COVID struck world, to improve my sleeping hours. Having done so, I wanted to do an analysis of my sleep, to know which of the ‘things’ I did, actually helped to enhance the quality of my sleep. To accomplish this, I used <strong>regression for visualization</strong> so that I could graphically understand the cause and effect of my sleeping pattern. Here is what I did:</p><ol><li>I started off by creating a dataset of all the activities which affected my sleeping hours.</li><li>Then, I used the Linear Regression model.</li><li>Then, I used visualization techniques for sleep analysis.</li><li>Eventually, I was able to fix my sleep.</li></ol><p><em>(If you do not feel like going through the process, then directly skip to the results.)</em></p><h3>Dataset Creation</h3><p>The dataset includes a total of 199 cases, 8 features out of which 4 are categorical features and a label value. A non-technical reader can understand these features as the columns of the data, the cases as the rows and the label as a value which is to be explored. These features include some activities which I started in the initial days of lockdown, along with other factors that affect the hours of my sleep. These are stress, physical activity (yoga, running), recreational activity ( audiobooks, writing, painting), meditation minutes, noise, light (on or off), wearing socks(yes or no) and calories. <br>The picture below displays how the first few rows of the dataset look.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0L-8ZnC_E1hRDnkW_byEug.png" /><figcaption>Image source: Author.</figcaption></figure><p>All these features directly depend on the last column value or label- ‘sleeping_hours’. And this feature is what needs to be explored.</p><h3><strong>Linear Regression</strong></h3><p>Like many other machine learning models, <strong>regression</strong> too is used to predict the value of a label. So now, the question is, how is it different from any other prediction model? The answer lies in this equation,<strong> ŷ=f(x).</strong></p><p>The aim of regression is to find a function for x or the feature (in this case — multiple features) which predicts the value of y or the label (sleeping hours). Hence the work of the algorithm is to learn this function to predict the correct value for <strong>ŷ; </strong>such that it produces a model which is an <strong>optimum fit</strong> for the feature values. Here are the steps:</p><ul><li>Requires a <strong>function</strong> that calculates a correct value of <strong>y</strong> for given feature or <strong>features</strong>.</li><li>Builds upon a <strong>linear model</strong>:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/191/1*pX2N0b_vy-OSI6KlRfZcog.png" /></figure><ul><li>The ML algorithm finds the value for b(0,1…). It then focuses on <strong>minimizing the error</strong> between the predicted value of y and the original value. Using the sum of square errors:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/253/1*oF8v9nfU5wmOqLzk19ID_g.png" /></figure><p>After ‘the transformation of label value to normalize it’, ‘aggregation of categorical value’, ‘scaling of numeric features’, ‘recoding the categorical values as dummy variables’, the next step is to fit the linear regression model. The picture below shows the fitting of the model:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-cEerAmN1qQCBQsPZ7lrlg.png" /><figcaption>Image source: Author.</figcaption></figure><p>In a nutshell, this linear regression model helps me to correctly predict my sleeping hours based on all the activities I have been trying in this lockdown to achieve a sound sleep.</p><h3>Visualization of data</h3><p>While regression creates a model which shows the predicted value of my sleep hours, visualization, graphically represents the relationship between the features and the label value. For the purpose of this data representation, I have used histogram, density contour plot, hexbin plot and violin plot. These plots will show a relation between sleeping hours and the factors which affect sleep, such as stress level, yoga, running, audiobooks, writing, painting, meditation, light, noise, wearing socks and calorie intake.</p><h3>Results</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5Ui_2fjnxXeDZ2qrBNgVmg.png" /><figcaption><strong>Regression graphs.</strong> (Image source: Author)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V8TiGChzNQZT8U85JetjLA.png" /><figcaption><strong>Violin and Histogram plots</strong>(Image source: Author)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CUgUtYdbupKDZuWD-NOPCw.png" /><figcaption><strong>Density Contour and Hexbin plots. </strong>(Image source: Author)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*RNsA9190DqEt-CDCoCpFDA.png" /><figcaption>Image source: Author.</figcaption></figure><blockquote><strong>-Stress</strong>: The density contour plot and the hexbin plot shows that as my stress level increases the number of hours of my sleep decreases. A stress level greater than twenty-nine can reduce my sleep by three hours. An average stress level gives me about five to six hours of sleep. Whereas when I am tension free, that means when my stress level is between fifteen to twenty, that is when I get optimum sleep, which ranges between 7.5 to 10 hours.</blockquote><blockquote><strong>-Physical activity</strong>: When it comes to physical activity, I personally prefer yoga more than running, which is correctly depicted by the histogram chart. The violin plot shows that the optimum amount of sleeping hours is induced by doing yoga. Besides, these plots also show how my sleeping hours get affected if I don’t do any of the two physical activities. If this is the case, then the hours of my sleep can reduce by almost three hours, giving me just five hours of sleep.</blockquote><blockquote><strong>-Recreational activity</strong>: The things you love to do, take you to a happy place. Perhaps that is how a happy mind gets a night of sound sleep. So, it won’t be wrong, if I say that painting, writing and listening to audiobooks, indeed pave the way to a good night for me. Although the histogram shows that listening to audiobooks is what I prefer out of all the other three activities, the violin plot shows that writing incurs optimum sleeping hours. Besides, I also feel that listening to ‘audiobooks’ helps to sleep much faster than any other activity.</blockquote><blockquote><strong>-Meditation minutes</strong>: When it comes to meditation, usually, I am able to do it for about eight to ten minutes. The maximum amount of time, I have been able to put into it has been about fifteen minutes. According to the density contour plots and the hexbin plots, nine to ten minutes of meditation can help with six to seven hours of sleep. While fifteen minutes of meditation can help with eight to ten hours of sleep. Moreover, I also feel that the continuous practice of meditation each day can help maintain constant hours of optimum sleeping time. This point is clearly reflected in the hexbin plot.</blockquote><blockquote><strong>-Noise</strong>: The density contour and the hexbin plots clearly show that almost no or less noise level gives me the perfect environment to sleep, in the range of seven to ten hours. It also shows that as the noise level increases, the sleeping hours decreases.</blockquote><blockquote><strong>-Light</strong>: The histogram plot shows that I sleep with the light off for about sixty per cent of the time. Violin plot shows that turning off the lights can give the optimum amount of sleeping hours and more. Whereas turning the light on can decrease it drastically.</blockquote><blockquote><strong>-Wearing socks</strong>: Now, this one is interesting. Sometime back, I heard that wearing socks can help with disturbed sleep. Consequently, I tried it, and to my relief, I found that it actually works well. Hence, I started to prefer wearing socks while sleeping, and this is what the histogram chart showed. But if you look at its violin plot, it tells that not wearing socks can help with better sleeping hours. Perhaps some things are just in your mind, and you think they work while in reality, it doesn’t make much difference.</blockquote><blockquote><strong>-Calories</strong>: The density contour plot and the hexbin plot shows that only a specific range of calorie intake can help me with good sleep. This range for me lies from about one-thousand-six-hundred to two-thousand-three-hundred, giving me a sound sleep for about seven to nine hours. It also depicts that an intake of less than the required calorie can reduce the hours of sleep; Similarly, a high intake of calorie can make me lazy and increase the sleeping hours.</blockquote><p>Now that I know about all factors that positively affect my sleep, I can precisely focus on them to increase my hours of sound sleep.</p><h3><strong>Conclusion</strong></h3><p>By this experiment, I got to know how certain activities can elevate the quality hours of our sleep. I learned a lot about myself through this machine learning project. Besides, it showed me how a machine learning model and its techniques can help to better understand yourself. This indicates that there is more to machine learning than what we generally perceive. This project speaks how artificial intelligence can be a part of our daily routine.</p><p>So, this was my sleep analysis, and if you related with me in any way, then I hope you can draw some sense from this analysis to use it for your own benefit. And also, if you are reading this at night, then I wish you a night of sound sleep.</p><p>Goodnight!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E2gOQGQM0noi4n37oWXoCQ.png" /><figcaption>Image source: Author.</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29dbdc30a16d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/how-i-fixed-my-disturbed-sleep-using-machine-learning-29dbdc30a16d">How I fixed my disturbed sleep using Machine Learning.</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Used Machine Learning to Help Achieve Mindfulness.]]></title>
            <link>https://medium.com/swlh/how-i-used-machine-learning-to-help-achieve-mindfulness-d4b21f707b66?source=rss-6f1e2bfd8926------2</link>
            <guid isPermaLink="false">https://medium.com/p/d4b21f707b66</guid>
            <category><![CDATA[k-nearest-neighbours]]></category>
            <category><![CDATA[mindfulness]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[classification]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Pineapple Tales]]></dc:creator>
            <pubDate>Sun, 13 Sep 2020 20:27:00 GMT</pubDate>
            <atom:updated>2020-09-19T18:45:50.064Z</atom:updated>
            <content:encoded><![CDATA[<h4>Using ‘KNN’ and ‘Visualization’ for classification.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eerZLSF_IZOWMkyDGNVXJA.png" /><figcaption><strong>Reflecting upon clarity.</strong> (Image source: Author.)</figcaption></figure><h4><em>Thinking. Overthinking. Reacting.</em></h4><p>Isn’t this a familiar cycle? I reckon, for the majority of us: ‘definitely YES’. Like most other things, this cycle too is a double-edged sword: In some scenarios, the outcome can be positive and useful, but in others, it can be damaging and may even turn against you. The latter is what all of us wish to avoid. To have a clear understanding of segregation of emotions is what I wanted to do, and this led me to make this machine learning (ML) program.</p><p>Quarantine has given me plenty of chances to explore myself, and having a check on my thoughts is one of them. I’m not a deep thinker, but every so often I see myself tangled in thoughts, and whenever this happens, I need a way to channelise them. Precisely this is what I did. The goal was to create a ML model which could analyse my thinking procedure. I did this using <strong>the KNN algorithm,</strong> which helped me to predict the emotions I should avoid and <strong>visualization techniques,</strong> which enabled me to project my feelings graphically, making it a lot easier for me to understand the entire picture all at once. So, this is how I did it :</p><p><em>1. </em>To start the ball rolling, I created a dataset of different thoughts.<br><em>2</em>. Used KNN algorithm.<br><em>3</em>. Used visualization techniques.<br><em>4</em>. Finally, I learned to segregate my thinking procedure.</p><p><em>(if you don’t feel like walking through the steps then directly skip to the results.)</em></p><blockquote>“It taught me how a ML program, not just has the capability to predict specific tasks which a human can do easily, but it can also derive an in-depth analysis of the dataset. This might just be the zeroth step towards replicating intelligence but still, isn’t this so interesting. Perhaps, this is the reason why it is termed as Machine Learning.”</blockquote><h4>Creation of dataset</h4><p>The dataset is created based on nine different thoughts (features): discouraging, sad, worthless, crying, anguish, confusing, happy, uplifting and determined. I have classified all these thoughts into three categories (labels): positive, negative and neutral. Also, I have scored each of those nine thoughts or features on a scale of 1–10, based on the labels. In this way, I created a total of 150 cases. Below is a picture of how the first few rows of the dataset look:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R2JDC_mmd0BksgOeFjPh7g.png" /><figcaption>Image source: Author.</figcaption></figure><h4>Using KNN algorithm</h4><p>Before we plunge any further, it will be helpful first to get to know about some basic terminologies of ML for supervised learning:</p><ul><li>To <strong>train</strong>, <strong>test</strong> and evaluate a model, we use a set of <strong>cases</strong>.</li><li>These cases include <strong>features</strong> related to the model and a <strong>label</strong> value.</li><li>The features are the values which are used as a base to train any algorithm.</li><li>Once the training part is over, the algorithm is then able to <strong>predict</strong> the correct label values for the <strong>test features</strong>.</li><li>The goal is to predict the label correctly. To check this, the <strong>accuracy</strong> of the trained algorithm should be high. If not, then the <strong>error</strong> between the predicted value of the label and the original label should be minimised.</li></ul><p>With this basic knowledge, let us understand the KNN (K-nearest neighbors) algorithm. KNN comes under supervised ML. The ‘K’ is a value for the number of points, nearest to the particular point which needs to be classified (e.g., K=1,2,3, etc.). Look at this diagram below for a better understanding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7L_Xulv81bWSjvSPgmuwNA.png" /><figcaption>Image source: Author.</figcaption></figure><p>In the first case, the KNN will classify the ‘?’ case as the green star since it is nearest to it. Similarly, in the second case, the KNN will classify the ‘?’ case as the yellow triangle since those triangles are the closest majority cases. For calculating this closeness between the new case and the known cases, any distance function can be used, e.g. Euclidean, Minkowski, etc. Therefore it is known as nearest neighbors. In this way, the KNN algorithm classifies a new case.</p><p>In this particular modal, KNN has the job to predict the class of different thoughts correctly. After performing all the data preprocessing steps, I applied the KNN algorithm on the data and then calculated the accuracy, which came out to be 98.6%. Below is a code snippet which shows the same:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*94NHvDlTy5to4xMnzf3ayQ.png" /><figcaption>Image source: Author.</figcaption></figure><h4>Using Visualization Techniques</h4><p>I have used visualization of data for classification so that it is easier to understand through graphs to create a solution that predicts the thoughts I should avoid in the future to have a positive mindset. This technique will help me to segregate the label categories (positive, negative and neutral). <br>For this purpose, I have used ‘box plots’.</p><h4>Results :</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gD0E6AHO13rHivXmg88J8w.png" /><figcaption><strong>KNN algorithm graphs.</strong> (Image source: Author.)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*TNUbRTwH_ZVn5iNQM85wQQ.png" /><figcaption>Image source: Author.</figcaption></figure><blockquote>The graphs that KNN generated shows the following:</blockquote><blockquote><strong>-Discouraging</strong>: The algorithm classified this feature as negative, which is right and obvious. But the noteworthy point is that there is a slight overlap between negative and neutral thoughts. Also, the margin between positive and negative is very minute. Which signifies the fact that discouraging thoughts somewhat have the power to motivate oneself to have a positive outcome. But all things considered, it is classified under a negative label.</blockquote><blockquote><strong>-Confusing</strong>: This result amused me. The algorithm labelled it as positive. Before this analysis, I used to avoid any confusing idea. Maybe the fact that these thoughts are stirring has to do something with a positive outcome. Perhaps they give us time to gauge both the positive and negative side of the situation to be astute.</blockquote><blockquote><strong>-Sad</strong>: Unmistakably, this thought is bound to have a negative outcome.</blockquote><blockquote><strong>-Worthless</strong>: There are times when people have random thoughts wobbling in their heads. They have no rhyme or reason to them. For me, this algorithm classified these thoughts as neutral.</blockquote><blockquote><strong>-Crying</strong>: Akin to the sad feature, this feature too, is classified as negative. Although I thought that it might also have a neutral effect because crying can help to balance emotions. But if we only consider the neutral and positive label then from its graph, it is likely to be classified as positive than neutral. Overall it triggers a negative mood.</blockquote><blockquote><strong>-Anguish</strong>: According to what the model predicts, it is the foremost feature which is the cause of a bad mood. Consequently, being highly negative.</blockquote><blockquote><strong>-Uplifting: </strong>KNN predicted this feature beneficial to me. However, the graph shows a slight overlap between neutral and negative mood. Besides, If we only consider these two labels then strikingly, the negative label has a more significant impact than the neutral one.</blockquote><blockquote><strong>-Determined</strong>: This feature has an exciting plot. The results have hardly any difference between them. It is hard to interpret it at once. But this can be much easily understood using its box plot.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MfOofJxv25-OvIOLciIruA.png" /><figcaption><strong>Box plot graphs.</strong> (Image source: Author.)</figcaption></figure><p>These box plots provide a thorough graphical representation, and they are easy to read too, as they give a clear differentiation of the three different moods or labels based on the features or thoughts. More or less, it depicts the same results as the KNN graphs. However, it provides a better explanation for:</p><blockquote><strong>-Determined</strong>: Even though it may look like this feature distinctly will be classified as positive but based on the data, the KNN graph shows a similarity among all three labels, which, in a way might be misleading. So, if you look at its box plot, you will notice that the positive outcome is just a bit higher than the other two. Hence this feature is categorized as a positive label.</blockquote><blockquote>-<strong>Happy</strong>: Undeniably, this feature classifies as a positive label. However, its quartile for neutral is much more than that of positive, and if we only consider neutral and negative, then neutral is higher than the two.</blockquote><h3>Conclusion</h3><p>This was an exciting project. At first, I thought that I would just get a simple classification result which would be quite obvious, but after completing this project, I realised that there is more to this classification. It taught me how an ML program, not just has the capability to predict specific tasks which a human can do easily, but it can also derive an in-depth analysis of the dataset. This might just be the zeroth step towards replicating intelligence but still, isn’t this so interesting. Perhaps, this is the reason why it is termed as ‘Machine Learning’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E2gOQGQM0noi4n37oWXoCQ.png" /><figcaption>Image source: Author.</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d4b21f707b66" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/how-i-used-machine-learning-to-help-achieve-mindfulness-d4b21f707b66">How I Used Machine Learning to Help Achieve Mindfulness.</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I see ‘DeepMind’ as a promising future for Machine Intelligence.]]></title>
            <link>https://medium.com/carre4/how-i-see-deepmind-as-a-promising-future-for-machine-intelligence-28770c17f07f?source=rss-6f1e2bfd8926------2</link>
            <guid isPermaLink="false">https://medium.com/p/28770c17f07f</guid>
            <category><![CDATA[robotics]]></category>
            <category><![CDATA[google-deepmind]]></category>
            <category><![CDATA[inventions]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[machine-intelligence]]></category>
            <dc:creator><![CDATA[Pineapple Tales]]></dc:creator>
            <pubDate>Tue, 01 Sep 2020 09:05:29 GMT</pubDate>
            <atom:updated>2021-05-30T08:15:56.073Z</atom:updated>
            <content:encoded><![CDATA[<h4>A state-of-the-art company advancing in AI.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TRq-RYRc43yigvDznH6T5w.png" /><figcaption>Image source: Author.</figcaption></figure><blockquote>“Does this implicate that the finite human intelligence is transformed into infinite intelligence by the creation of a human-like machine?”</blockquote><p>It has nearly been ten years since the company, ‘DeepMind’ broke new ground in the Artificial Intelligence (AI) domain. Although the past decade has seen a rapid development of smart machines in many companies, still I specifically chose to write on DeepMind because I have been inspired by it for about two years now. I chanced upon an article on some website while I was struggling with formulating an idea to kick start my very first research paper: I knew what to do but the pressing question at that time was, ‘How to do’? Browsing indefinite web-pages, tired of clicking anywhere and everywhere and still not finding the precise machine learning branch to incorporate into my research, I was exhausted by the time the clock struck midnight. Flagging by now, I opened another link and voilà! I found DeepMind. At first, More than the kind of work it does, I was far more intrigued by the name ‘DeepMind’. I am still fascinated by this name, tell me in the comment section below how do you feel about it. Anyways coming back; At that point, I knew it had to do something with Deep-learning or Neural-networks and hence I was relieved that I might have reached the stop. Little did I know that this stop would be my start to every new research.</p><p>If you are unrelated to the field of computer science, then you probably must be thinking what is this company all about. Well, it started in 2010 when inventions in the field of artificial intelligence were not as buoyant as they are now in 2020. The pedestal intentions were clear to the founders: Demis Hassabis, Mustafa Suleyman and Shane Legg, to build a powerful company. It was all about bringing experts from variegated branches of AI and making safe and smart machines for solving problems through machine intelligence; primarily producing expert AI tools to combat the issues related to humankind. It soon became a highly reputed artificial intelligence startup with its early but massive success in computer games. They built an AI program which could learn how to play ‘forty-nine’ different Atari games right from scratch just by learning from its previous scores, to be literal, its past ‘experiences’. The AI agent later came to be known as ‘Alpha Go’ the well renowned first AI program to beat a professional player in the classical ‘Go’ game.</p><blockquote>“The kind of learning, which is based on experiences, is called Reinforcement Learning (RL). These RL algorithms were the base to build the program of Alpha Go”.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QGmyIm7MswOZywFIX-deIQ.png" /><figcaption><strong>Atari Squad on my sweatshirt: Pong, Major Havoc, Lunar Lander, Missile Command, Crystal Castle, Warlords, Star Ship, Breakout.</strong> (Image source: Author)</figcaption></figure><blockquote><strong>Side note: Like, my any other research fascination, I was infatuated with the use of ‘Deep RL’ algorithms in Atari Games after studying this </strong><a href="https://arxiv.org/pdf/1312.5602v1.pdf"><strong>research paper</strong></a><strong> by DeepMind; To my surprise, I realized it later that I always had an Atari sweatshirt. Even though it has been years now, I still love it because it is reminiscent of how I started to pursue research.</strong></blockquote><p>Coming back to the context, the success DeepMind gained was perhaps indicative that the winds of change might begin to blow soon. Understanding the incredible potential DeepMind withholds, in 2014, the tech giant ‘Google’ bought this company for more than 500 million dollars. Again in 2015, DeepMind became a whole owned subsidiary of the company — ‘Alphabet Inc’. This completes a brief history of the company. So, in a nutshell, it is a UK originated Artificial Intelligence-driven company and a research lab which is the hub for formulating quicker AI solutions.</p><p>Now that you are familiar with DeepMind let us dive a little more deep. While working on my research project and taking inspiration from the deep reinforcement learning algorithms of DeepMind, I learned that some of the remarkable research areas this company works on, are: Deep Learning, Control and Robotics, Reinforcement Learning, Unsupervised Learning, Neuroscience and Safety. These are some of the most thriving research areas of 2020, and DeepMind has pioneered the art of combining all the advances in machine learning for scientific discoveries and overall public welfare. This exceptional and innovative ability is very much evident from their significant research contributions:</p><p><strong>1) </strong>Alpha Zero: It is an AI agent which learns to play <em>Chess, Shogi</em> and the game of<em> Go</em>, right from scratch, on its own. Not to mention that this artificial mind has defeated many grandmasters in their own games, starting with a random play with absolutely no knowledge embedded in its system regarding the rules of the game. This program has achieved exceptional and faster results as compared to any other smart system developed ever before. Studying this <a href="https://kstatic.googleusercontent.com/files/2f51b2a749a284c2e2dfa13911da965f4855092a179469aedd15fbe4efe8f8cbf9c515ef83ac03a6515fa990e6f85fd827dcd477845e806f23a17845072dc7bd">research paper</a>, I realized that having Reinforcement learning algorithms as a backbone, it won 91.2% of overall games. Here is what a former world chess champion, ‘Garry Kasparov’ had to say about Alpha Zero:</p><ul><li><em>“I can’t disguise my satisfaction that it plays with a very dynamic style, much like my own!”</em></li><li><em>“The implications go far beyond my beloved chessboard….not only do these self-taught expert machines performs incredibly well, but we can actually learn from the new knowledge they produce.”</em></li></ul><p>This impeccable intelligence poses two questions: ‘Has the human intelligence produced something from which we might learn in the future?’ and ‘Does this implicate that the finite human intelligence is transformed into infinite intelligence by the creation of a human-like machine?’</p><p><strong>2) </strong>Differentiable Neural Computers (DNC): This was the next breakthrough in the field of AI. It is a memory augmented neural network. Non-technical readers can consider this DNC as a mimic of human memory. For example, if your new neighbour asks you something like this- “If I cross the main road, take a left, then walk for about a kilometre, which of the gas stations will I be nearer to — A or B ?” To answer such a question, you would generally reply by simultaneously plotting a map in your mind while the question is being asked. Retrieving this map from your memory and responding to the problem whilst you are imagining, is the process which DNC can replicate.</p><p>Isn’t this so fascinating? For all those ‘NeuralHeads’ who wish to read further in-depth, check out this complete <a href="https://www.nature.com/articles/nature20101.epdf?author_access_token=ImTXBI8aWbYxYQ51Plys8NRgN0jAjWel9jnR3ZoTv0MggmpDmwljGswxVdeocYSurJ3hxupzWuRNeGvvXnoO8o4jTJcnAyhGuZzXJ1GEaD-Z7E6X_a9R-xqJ9TfJWBqz">research paper</a> and this <a href="https://github.com/deepmind/dnc">GitHub</a> repository.</p><p><strong>3)</strong> DeepMind has played its card not just in modern inventions but also in one of the most prevalent issues since decades — Energy Consumption. In 2016, DeepMind helped Google reduce its data centre cooling bill by 40%. By incorporating super-efficient energy savers, they could utilize 3.5 times the computing power used before 2016 with the same amount of energy. Honestly speaking for an enormous company like Google, a 40% reduction is phenomenal. I can’t help but think about a time in future where regular households can benefit from such a technology.</p><p>These were just some of the significant researches done by DeepMind.</p><p>Quite often, people tend to perceive the nexus of artificial intelligence as a far-fetched possibility. To comprehend AI’s ability, they tend to draw a parallel image to sci-fi movies. The real reason behind it might be the failure to perceive its power in their day to day life. Of course, it is evident that in 2020, smart machines are not an integral part of every regular household but there is no hiding from the fact that AI has started to establish its roots all around us. The actuality that we are using smartphones equipped with AI assistants (Google Assistant, Siri, Bixby, Cortana, Alexa) and bots (Echo by Amazon) which we use these days to perform simple activities are indicative that we are already involved in AI’s network. Then why is it a common notion that AI is still a distant possibility? Almost ten years ago, it wasn’t easy to see the advancements we are experiencing now since it was just the start. But now that we have stepped into the ever-changing AI world and have learned to be its part then it is not apt to ignore the highly advanced researches going on to build machine intelligence so that it might be an “inherent” part of us someday. This is the reason why I see DeepMind as a promising future for machine intelligence. The state-of-the-art research it carries out, speaks about the various possibilities that the artificially created intelligent minds might be a crucial part of our future lives.</p><blockquote><em>“</em>Artificial intelligence will reach human levels by around 2029. Follow that out further to, say, 2045; we will have multiplied the intelligence, the human biological machine intelligence of our civilization a billion-fold.”</blockquote><blockquote>— Ray Kurzweil, American inventor and futurist.</blockquote><p>For the nonce, I can say that if something like this is stirring in the company’s pot right now, then it is not hard to comprehend the kind of potential it is holding on for the future. Perhaps, this is one of the primary reasons why Google invested in this company — to be a super-competitive power in the AI industry.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E2gOQGQM0noi4n37oWXoCQ.png" /><figcaption>Image source: Author.</figcaption></figure><h4>References</h4><p>[1] <a href="https://deepmind.com/">https://deepmind.com/</a></p><p>[2]<a href="https://en.wikipedia.org/wiki/DeepMind#:~:text=DeepMind%20Technologies%20is%20a%20UK,owned%20subsidiary%20of%20Alphabet%20Inc.">https://en.wikipedia.org/wiki/DeepMind#:~:text=DeepMind%20Techn ologies%20is%20a%20UK,owned%20subsidiary%20of%20Alphabet%20Inc.</a></p><p>[3]<a href="https://deepmind.com/impact#significant_breakthroughs">https://deepmind.com/impact#significant_breakthroughs</a></p><p>[4]<a href="https://www.brainyquote.com/quotes/ray_kurzweil_591137#:~:text=Ray%20Kurzweil%20Quotes&amp;text=Follow%20that%20out%20further%20to,our%20civilization%20a%20billion%2Dfold.">https://www.brainyquote.com/quotes/ray_kurzweil_591137#:~:text=Ray%20Kurzweil%20Quotes&amp;text=Follow%20that%20out%20further%20to,our%20civilization%20a%20billion%2Dfold.</a></p><p>[5]<a href="https://deepmind.com/blog/article/alphazero-shedding-new-light-grand-games-chess-shogi-and-go">https://deepmind.com/blog/article/alphazero-shedding-new-light-grand-games-chess-shogi-and-go</a></p><p>[6]<a href="https://deepmind.com/blog/article/deepmind-ai-reduces-google-data-centre-cooling-bill-40">https://deepmind.com/blog/article/deepmind-ai-reduces-google-data-centre-cooling-bill-40</a></p><p>[7]<a href="https://en.wikipedia.org/wiki/DeepMind#:~:text=On%2026%20January%202014%2C%20Google,with%20DeepMind%20Technologies%20in%202013.">https://en.wikipedia.org/wiki/DeepMind#:~:text=On%2026%20January%202014%2C%20Google,with%20DeepMind%20Technologies%20in%202013.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=28770c17f07f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/carre4/how-i-see-deepmind-as-a-promising-future-for-machine-intelligence-28770c17f07f">How I see ‘DeepMind’ as a promising future for Machine Intelligence.</a> was originally published in <a href="https://medium.com/carre4">CARRE4</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>