<?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 Manu Shaurya on Medium]]></title>
        <description><![CDATA[Stories by Manu Shaurya on Medium]]></description>
        <link>https://medium.com/@manushaurya?source=rss-db5267ecd068------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*yWT34gi3c6EdQlCEOIiV3w.jpeg</url>
            <title>Stories by Manu Shaurya on Medium</title>
            <link>https://medium.com/@manushaurya?source=rss-db5267ecd068------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 22:43:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@manushaurya/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 slow down your life]]></title>
            <link>https://medium.com/@manushaurya/how-to-slow-down-your-life-b712c3687096?source=rss-db5267ecd068------2</link>
            <guid isPermaLink="false">https://medium.com/p/b712c3687096</guid>
            <category><![CDATA[better-living]]></category>
            <category><![CDATA[happiness]]></category>
            <category><![CDATA[work]]></category>
            <category><![CDATA[meaning-of-life]]></category>
            <dc:creator><![CDATA[Manu Shaurya]]></dc:creator>
            <pubDate>Sat, 31 Dec 2022 14:27:59 GMT</pubDate>
            <atom:updated>2022-12-31T14:41:58.059Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*31_dKhV8FYDN1CAQhY9bqA.gif" /></figure><p>As the year of 2022 is coming to an end a thought which was buried in my subconscious mind popped up. I wasn’t very satisfied with my own life.</p><p>I realized that my past 4 years after graduating and being in the professional life had passed too quickly I hadn’t even realized. For the solution to the problem I begun checking Reddit.</p><p>(Side note : There’s a popular meme that you’ll find ANY solution on Reddit provided many years ago by some random anonymous user).</p><p>I came across below line while looking for the solution.</p><blockquote>The harder you work, the quicker this life will drain away.</blockquote><p>True ?<br>Sounded more like an ego boosting sentence.</p><p>What I found upon reading multiple threads are compiled below with my own comments :</p><blockquote>A lot of the feeling of time having passed too quickly comes from repeating the same old routine over and over, to the point where the brain doesn’t bother to remember each day of it in detail because it’s all the same. So then you look back and there’s no distinct memories of stuff that happened — just a vague grey blur.</blockquote><p>I felt above was true in my case. I was doing the same thing for a long time.</p><p><strong>Activities we can do or keep in mind (As pointed by several users):</strong></p><ul><li>Meditation</li><li>Spend less time doing ‘time-killing’ activities like social media, news debates.</li><li>Doing things you cherish (I, for example like photography, mindful walking, chess)</li><li>Don’t take your phone everywhere you go.</li><li>Vary your life as much as you can. Get some new hobbies, do new stuff, always be switching it up as much as you can or like to.</li></ul><p><strong>Additional read :</strong></p><p><a href="https://www.reddit.com/u/irishane/">/u/irishane</a> wrote:</p><blockquote>As a child, a lot of new things happened regularly. New schools, new people, growth, etc. As an adult, you are in a more repetitive cycle. Try not to repeat. Get into new stuff.</blockquote><blockquote>Make days memorable. The more happens in a day, the longer it seems. The more long days you have, the slower your life feels.</blockquote><p>Another user (account deleted) wrote :</p><blockquote>It’s more about memory than actual time perception. You don’t remember the past as an actual timeline, you remember it as a series of long-term memories. The fewer new things you experience, the fewer things you commit to long term memory and the less there is to remember, giving the illusion of it being a shorter time.</blockquote><p>I’ve found my solution (and hope you too have) which I plan to incorporate in my daily OR weekly routine whichever seems possible.</p><p>Few new fields which I want to explore are :</p><ul><li>Fine Arts</li><li>Chess</li></ul><p>Cheers and Happy New Year.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b712c3687096" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deep Work : My Notes from the book]]></title>
            <link>https://medium.com/@manushaurya/deep-work-my-notes-from-the-book-30ea28dfdcc4?source=rss-db5267ecd068------2</link>
            <guid isPermaLink="false">https://medium.com/p/30ea28dfdcc4</guid>
            <category><![CDATA[deep-work]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[cal-newport]]></category>
            <dc:creator><![CDATA[Manu Shaurya]]></dc:creator>
            <pubDate>Sun, 09 Jun 2019 16:24:02 GMT</pubDate>
            <atom:updated>2019-06-09T16:26:02.374Z</atom:updated>
            <content:encoded><![CDATA[<h3>Deep Work : My Notes from the book</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*2mnNiAC3U5ApVWenrxOJLQ.png" /></figure><p>In this article I’ll summarize the key points out of Cal Newport’s best selling, Deep Work which affected my biological neural networks deeply. So let’s get started.</p><p>What’s deep work? The author defines deep work as :</p><blockquote>“Professional activities performed in a state of distraction-free concentration that push your cognitive capabilities to their limit. These efforts create new value, improve you skill and are hard to replicate.”</blockquote><p>In this current new world there are two core abilities that can help in thriving :</p><ol><li>The ability to quickly master hard things.</li><li>The ability to produce at an elite level in terms of both quality and speed.</li></ol><p>There are few things to keep in mind to catalyze Deep Work :</p><ul><li>Distraction is the destroyer of depth. Therefore, separate them out from our efforts to think deeply and build.</li><li>When we retreat to solitude to think deeply, it can be helpful if we have someone to work side by side on the problem where we can push each other toward deeper levels of depth and therefore toward the generation of more and more valuable output as compared to working alone. Author uses the term the Whiteboard Effect for this. The book gives example of Bell Labs to substantiate his points.</li></ul><p><strong>Four disciplines of execution</strong> :</p><p><strong>Discipline 1</strong> : Focus on the wildly important. To generate a steadier stream of enthusiasm, have a goal that will generate tangible and substantial professional benefits.</p><p><strong>Discipline 2</strong> : Act on the lead measures. There are two types of measures to take. First, Lag measure, things we’re ultimately trying to improve. Second Lead measure, new behaviors that will drive success on the lag measures.</p><p>In simple terms, for men focused on deep work, lead measure is the time spent in a state of deep work dedicated toward your wildly important goal.</p><p><strong>Discipline 3</strong> : Keep a compelling scoreboard.</p><p>Keeping a scoreboard of deep hours helps us to connect deep work hours to tangible results. For instance, we can use journaling to quantify our effort (maybe in units of tangible results/deep hours)</p><p><strong>Discipline 4</strong> : Create a cadence of accountability. We can use the scoreboard for rhythmic reviewing and be accountable to our goals.</p><p><strong>Tools for greater productivity :</strong></p><p>Although it may sound paradoxical, but idleness is also important to get the work done. Idleness can also be known as the mental shutdown.</p><p><strong>Importance of mental shutdown :</strong></p><p><strong>Reason 1</strong> : Downtime aids insights.</p><p>Unconscious mind has more bandwidth and thus can take more complex decisions.</p><p><strong>Reason 2 : </strong>Downtime helps recharge the energy needed to work deeply.</p><p>Attention Restoration Theory (ART) : Shutdown means doing “inherently fascinating stimuli” which are free from directed concentration like walking in a park, talking to a casual friend, playing a game,listening music.</p><p><strong>Reason 3</strong> : The work that evening downtime replaces is usually not that important.</p><p><strong>Avoiding distraction and concentrating for long hours</strong></p><p>Don’t take breaks from distraction instead, take breaks from focus and give it to distraction.</p><p><strong>Productive meditation</strong> : Productive meditation can be explained as being occupied physically but mentally free. For example, Running, jogging. This strengthens distraction resisting and sharpens our concentration muscles. This isn’t for productivity but for thinking deeply. While being physically occupied, one even focus on a well defined professional problem.</p><p>Suggestions of productive meditation :</p><ol><li>Be aware of distractions and looping ( like doing same thing for longer periods of time).</li><li>Structure your deep thinking using variables and next step question after which try to consolidate you gains. This can be done in repeated cycles.</li></ol><p>Being minimalistic is a big part of being able to focus deeply on our work which can be hard if have so many items in the bucket. To determine whether something is useless or not, pack things you don’t need and see if you need to unpack. If there’s no need to unpack, that thing is useless or else you can keep it.</p><p>Unarguably, social media is be the biggest source of distraction constantly feeding on our likes, comments and shares ; also the biggest source of addictive neurotransmitter, dopamine. Someone may try to leave the platform, but the addiction of dopamine will eventually bring him/her back. But the valuable work requires distraction free environment, for which author asks us to Quit social media, and asks not to tell anyone about it as that affects our decision and ultimately reduces our willpower which is also limited.</p><p>Above were few major points I had noted in my journal which I found necessary to share, and thus shared this article. The book contains above points in much detail with proper arguments if needed, reading which is highly recommended.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=30ea28dfdcc4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sigmoid Neuron]]></title>
            <link>https://medium.com/@manushaurya/sigmoid-neuron-875822b0489f?source=rss-db5267ecd068------2</link>
            <guid isPermaLink="false">https://medium.com/p/875822b0489f</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[sigmoid]]></category>
            <category><![CDATA[padhai]]></category>
            <category><![CDATA[one-fourth-labs]]></category>
            <dc:creator><![CDATA[Manu Shaurya]]></dc:creator>
            <pubDate>Sat, 16 Mar 2019 21:03:15 GMT</pubDate>
            <atom:updated>2019-03-16T21:05:37.450Z</atom:updated>
            <content:encoded><![CDATA[<p>While going through Perceptrons in our <a href="https://medium.com/@manushaurya/mcculloch-pitts-neuron-vs-perceptron-model-8668ed82c36">last article</a> we saw that it wasn’t able to handle complex data, if they weren’t linearly separable. For instance see the dataset given below :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/1*f8nuicUbKIrP1p37IB2iSg.png" /><figcaption>We can’t find any plane which separates above data points</figcaption></figure><p>Moreover, the plot was a bit harsh at the boundaries.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/1*CJFpeoTuBtNHD6UvmEuF_Q.png" /><figcaption>A plot for Perceptron</figcaption></figure><p>In this article we’ll see an improvement to Perceptrons which are Sigmoid Neurons.</p><p>Just like perceptrons, Sigmoid Neurons too can handle real inputs. They can perform Regression/ Classification based tasks. The model is smooth at boundaries and can handle non-linear data.</p><p>This model makes use of sigmoid functions which is expressed as :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/189/1*S3mJ-5PMlPiP7i0LjxFwCw.png" /><figcaption>Function takes weight(w) and bias(b) as parameters.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/865/1*d-BGmuj6VCMtfFsaTzZT4A.png" /><figcaption>Sigmoid function</figcaption></figure><p>As we can see above, the range of the function lies in between [0,1]. A few observations reveal that on increasing the weight curve gets steeper while on increasing the bias parameter, the curve starts shifting to the left.</p><p>In this model, we make iterations to find parameters where the loss is minimum. We can see the Learning algorithm below :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/373/1*LtkO3jBzFNCkfyiuGLewaA.png" /><figcaption>In above algorithm, eta stands for learning rate and its coefficient is the rate of change of loss with respect to weight/bias. Negative sign coz minima lies in the direction opposite to the gradient.</figcaption></figure><p>In the above algorithm we’ve used squared error loss function which needs to be changed to KL Divergence if the comparison has to be made between two probability distributions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/464/1*G1p789szNPArKWfol_D4cw.png" /><figcaption>KL Divergence as Loss function</figcaption></figure><p>Notably, even a sigmoid neuron can’t handle non-linear datapoints which is why Deep Neural Network comes into the picture. A Deep Neural Network can use Sigmoid Neurons as the building block to represent any complex non-linear data which we’ll see in the next article.</p><p>You can find the code related to Sigmoid Neurons <a href="https://github.com/manushaurya/padhaibyonefourthlabs/blob/master/0403_SigmoidNeuron.ipynb">here</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=875822b0489f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to get started on Kaggle]]></title>
            <link>https://medium.com/@manushaurya/how-to-get-started-on-kaggle-ac95f59d2a27?source=rss-db5267ecd068------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac95f59d2a27</guid>
            <category><![CDATA[one-fourth-labs]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[kaggle]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[padhai]]></category>
            <dc:creator><![CDATA[Manu Shaurya]]></dc:creator>
            <pubDate>Sat, 02 Mar 2019 03:58:06 GMT</pubDate>
            <atom:updated>2019-03-08T19:35:44.056Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*GZrTyTz0OKMbxnO5Trhcew.png" /><figcaption>Kaggle is an online community of data scientists and machine learners, owned by Google LLC</figcaption></figure><p>I first heard about Kaggle when I was in my final semester and had just finished my Machine Learning course on Coursera (by Andrew Ng). I was eager to participate but wasn’t sure where to start. I read at several places about it. But didn’t know how to begin. Then in January ’19 I heard about <a href="http://padhai.onefourthlabs.in/">PadhAI</a> by One Fourth Labs. The instructors in their <a href="https://www.youtube.com/channel/UC337_KN0yuNvzeZnlstEa_A/featured">introductory video</a> had said that they would be using the platform to solve numerous projects inclined towards solving a major capstone project. That pushed me to sign up for the course.</p><p>For a newbie like me, who wants to get started on Kaggle. On sign up, there are several tabs to explore. We will see each one below :</p><h3>Competitions</h3><p>Competitions can take you to a page with on going competitions. Competitions can be held publicly in the General tab or private in Inclass tab. Interesting thing is that most of these competitions have a huge prize money involved with them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LWdFZATJ2qdwmKaXGdikpA.png" /><figcaption>Competition’s dashboard</figcaption></figure><h3><strong>Datasets</strong></h3><p>Datasets page will help you to explore all the public datasets for you to get your hands dirty.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3TbIGQXZbDJxBHhyUNcjoA.png" /></figure><h3><strong>Kernels</strong></h3><p>Kernels is just like a <a href="https://jupyter.org/">Jupyter</a> notebook where you can write code (Python or R) and see the magic happening. If you’ve worked on <a href="http://colab.research.google.com/">Google Colab</a>, you would be familiar with the interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kQcKK1rU_cqN5zI_WbDFqw.png" /><figcaption>That’s how the kernel looks</figcaption></figure><h3>Discussion</h3><p>There’s a huge community if you get stuck in a problem, or ever want to review other’s kernels, in those cases Discussion page comes to the rescue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YdTeB-iZVIHUjJaLYopHbA.png" /></figure><h3>Learn</h3><p>For people who want to learn the tools used in data science. You can take a stop here and learn stuffs like Python, Pandas, Data Visualization, Machine Learning, Deep learning using tensorflow and many more. There’s also a segment for micro challenges where you can test your skills on ultra-short challenges.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IrfYIe5mrI7rLk-sdOoDDQ.png" /><figcaption>Snapshot of courses offered on Kaggle</figcaption></figure><p><strong>How I started</strong></p><p>In the first competition held by padhAI on <a href="https://www.kaggle.com/">kaggle</a>, we were asked to solve a classification problem using MP Neuron and Perceptrons. As a first experience on this platform, I was surprised by the community I had just found. I began solving the problem. Tried to beat my own accuracy, Learned few new techniques to preprocess the data before model training. At the end of the competition I got 0.80 accuracy in 29% of test data using Perceptrons, Although it went down to 0.75 accuracy on 71% of test data, which was disheartening ( which means my model was overfitting on 29% of the data).</p><p>But, this competition taught me how data science looks like, how messy data can be if it’s not preprocessed, how much is the importance of hyperparameters and how they can affect our model if used naively.</p><p>At the end I’d say, if you want to break in to data science, Kaggle is the platform you’ll need to use, to learn, to teach and to implement things you know.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/475/1*sUHVxRoPHoZpPi7XjmVkzg.png" /></figure><p>As introduced above, padhAI is the learning platform offered by One fourth Labs founded by Mitesh Khapra and Pratyush Kumar ( Assistant professors at IITM )</p><ul><li>Stay tuned for more such articles on data science.</li></ul><figure><a href="https://usejournal.com/?utm_source=medium.com&amp;utm_medium=noteworthy_blog&amp;utm_campaign=guest_post_image"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f2IVAl0TbsfES9cFGYr40g.png" /></a></figure><p>📝 Read this story later in <a href="https://usejournal.com/?utm_source=medium.com&amp;utm_medium=noteworthy_blog&amp;utm_campaign=guest_post_read_later_text">Journal</a>.</p><p>🗞 Wake up every Sunday morning to the week’s most noteworthy Tech stories, opinions, and news waiting in your inbox: <a href="https://usejournal.com/newsletter/?utm_source=medium.com&amp;utm_medium=noteworthy_blog&amp;utm_campaign=guest_post_text">Get the noteworthy newsletter &gt;</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac95f59d2a27" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[McCulloch-Pitts Neuron vs Perceptron model]]></title>
            <link>https://medium.com/@manushaurya/mcculloch-pitts-neuron-vs-perceptron-model-8668ed82c36?source=rss-db5267ecd068------2</link>
            <guid isPermaLink="false">https://medium.com/p/8668ed82c36</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[perceptron]]></category>
            <dc:creator><![CDATA[Manu Shaurya]]></dc:creator>
            <pubDate>Wed, 13 Feb 2019 21:13:08 GMT</pubDate>
            <atom:updated>2019-02-13T21:13:08.890Z</atom:updated>
            <content:encoded><![CDATA[<p>McCulloch-Pitts Neuron abbreviated as MP Neuron is the fundamental building block of Artificial Neural Network. Similar to biological neurons, both MP Neuron as well as the Perceptron Model take inputs and process them to give an output, although they differ in how they process which we will see in this post down below.</p><p><strong>Biological Neuron</strong></p><p>But first, we will see how a biological neuron works. Firstly, a neuron can be divided into three basic units, Dendrites, Cell body(also called Soma) and Axon. For every task we do, in our brain, a specific network of these neurons fire signals which pass through Synaptic terminals to Dendrites through the Cell body to Axon which further get transferred to another neuron.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OihGfV5jNwgItq0N_QsjwA.png" /><figcaption>A Biological Neuron</figcaption></figure><p><strong>McCulloch-Pitts Neuron Model</strong></p><p>Proposed by Warren McCulloch and Walter Pitts in 1943, this model imitates the functionality of a biological neuron, thus is also called Artificial Neuron. An artificial neuron accepts binary inputs and produces a binary output based on a certain threshold value which can be adjusted. This can be mainly used for classification problems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/446/1*m_yt5VSLxEtk_9QAMB0UBA.png" /><figcaption>An Artificial Neuron ( looks similar to biological neuron, right? )</figcaption></figure><p>On taking various inputs the function aggregates them and takes decision based on the aggregation. Aggregation simply means sum of these binary inputs. If the aggregated value exceeds the threshold, the output is 1 else it is 0.</p><p><strong>Perceptron Model</strong></p><p>This model was developed by Frank Rosenblatt in 1957. This is a slightly tweaked version of the Artificial Neuron model we saw earlier. Here, the neurons are also called Linear Threshold Unit (LTU). This model can work on non-boolean values where each input connection gets associated with a weight. Here the function calculates the weighted sum and based on the threshold value provided, it gives a binary output.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/179/1*E_tMwuIAxRAYj4GiJo4uXA.png" /><figcaption>As seen in the image above, every input connection in the Perceptron is associated with a weight which determines how much that input affects the output y hat.</figcaption></figure><p><strong>Comparison between MP Neuron Model and Perceptron Model</strong></p><ul><li>Both, MP Neuron Model as well as the Perceptron model work on linearly separable data.</li><li>MP Neuron Model only accepts boolean input whereas Perceptron Model can process any real input.</li><li>Inputs aren’t weighted in MP Neuron Model, which makes this model less flexible. On the other hand, Perceptron model can take weights with respective to inputs provided.</li><li>While using both the models we can adjust threshold input to make the model fit our the dataset.</li></ul><p>You can find the paper McCulloch and Pitts published, <a href="http://goo.gl/Ul4mxW">here</a> .</p><p>This is the first post from the series on Deep learning I would be posting over a span of five months. So, stay tuned. :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8668ed82c36" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>