<?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 Jaideep Negi on Medium]]></title>
        <description><![CDATA[Stories by Jaideep Negi on Medium]]></description>
        <link>https://medium.com/@jaideepnegi7?source=rss-fce258b1afe------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ucVWKvMSd2pWBcG7.jpg</url>
            <title>Stories by Jaideep Negi on Medium</title>
            <link>https://medium.com/@jaideepnegi7?source=rss-fce258b1afe------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 21:43:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jaideepnegi7/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[The Last Girl: A difficult book to read, but a must read.]]></title>
            <link>https://medium.com/@jaideepnegi7/the-last-girl-a-difficult-book-to-read-but-a-must-read-319dc59ad73e?source=rss-fce258b1afe------2</link>
            <guid isPermaLink="false">https://medium.com/p/319dc59ad73e</guid>
            <category><![CDATA[india]]></category>
            <category><![CDATA[iraq]]></category>
            <category><![CDATA[nadia-murad]]></category>
            <category><![CDATA[yazidi]]></category>
            <category><![CDATA[reading]]></category>
            <dc:creator><![CDATA[Jaideep Negi]]></dc:creator>
            <pubDate>Wed, 22 Jul 2020 07:13:24 GMT</pubDate>
            <atom:updated>2020-07-22T07:13:24.675Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>The Last Girl: </strong>A difficult book to read, but a must read.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/0*l72XdSrpEXgvXDkA.jpg" /></figure><p>I recently completed the memoir “The Last Girl” by Nadia Murad and i cried many a times while reading it. The reality of ISIS and what’s it like to live as a refugee is captured very nicely. There are many places where it gets really hard to read but overall a really nice book about fighting for what is right and perseverance and so much more.</p><p>Nadia who lives in a small Yazidi town Kocho in Iraq, she is youngest among all the family members and had a dream to get a good education and wanted to open her own salon in Kocho. In 2014 her village gets surrounded by the ISIS and after few weeks of hiding without food, water and clothes they finally got a warning from Daesh to either get convert to Islam or be ready to get massacred. All the men in the village were massacred and little boys were kept alive to be trained to join the ISIS army. All the old women were killed including Nadia’s mother whom she consider her role model. All the young girls were taken as sex slaves, as ‘Sabayyas’ (sex slaves ). The Daesh consider them as Kuffars (non-believers) and as per their rule they can do whatever (rape, beat or kill) they want with these “Sabayyas”.</p><p>This book is a heart rending account about the things that took place with Nadia and Yazidi people in Iraq and how she ran away from the captivity of ISIS. I applaud Murad’s courage to come forward of course and she’s clearly come a long way from Kocho to stand up for victims of violence like herself. She rightfully has been awarded the<strong> Nobel peace prize</strong> for standing up against the Daesh and many governments around the world who were supporting ISIS with arms and ammunition.</p><p>Whatever went through with Nadia should not take place with any human being in this world and this message she has well conveyed at the last paragraph of this book as:</p><p><strong>Nadia’s Quote</strong> ~ “I want to be the last girl in the world with a story like mine”</p><p><strong>PS:</strong> A good story always becomes a part of you.You carry it everywhere. It becomes tangled with your thoughts, your emotions, your attitude and your essence.</p><p>Thank You!</p><p>Jaideep Negi</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=319dc59ad73e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Impact of AI Singularity on World Economy]]></title>
            <link>https://medium.com/voice-tech-podcast/the-impact-of-ai-singularity-on-world-economy-d8baf087b573?source=rss-fce258b1afe------2</link>
            <guid isPermaLink="false">https://medium.com/p/d8baf087b573</guid>
            <category><![CDATA[signal-processing]]></category>
            <category><![CDATA[audio]]></category>
            <category><![CDATA[naturallanguageprocessing]]></category>
            <category><![CDATA[conversational-ui]]></category>
            <category><![CDATA[speech-recognition]]></category>
            <dc:creator><![CDATA[Jaideep Negi]]></dc:creator>
            <pubDate>Tue, 21 Jul 2020 10:37:14 GMT</pubDate>
            <atom:updated>2020-07-25T11:20:59.661Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A few million years ago our ancestors were still swinging from the branches in the vast African Jungles.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/0*nF8OoK_d70zPhlHo.jpg" /></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fbingewith.com%2Farticle%2F%3A%3A_Generate_Audio&amp;dntp=1&amp;display_name=BingeWith&amp;url=https%3A%2F%2Fbingewith.com%2Farticle%2F%3A%3A_Generate_Audio&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=bingewith" width="480" height="110" frameborder="0" scrolling="no"><a href="https://medium.com/media/d6a9e202d4ee773dbc23199fcf6d186c/href">https://medium.com/media/d6a9e202d4ee773dbc23199fcf6d186c/href</a></iframe><p>On a evolutionary timescale, the rise of Homo-Sapiens from our last common ancestor with the great apes happened swiftly. We developed upright posture, longer thumbs relative to fingers, and some major changes in our brain size and neurological organization that lead to a great leap in our cognitive ability. As a result, humans can think abstractly, communicate complex thoughts, and culturally accumulate information over the generations far better than any other species on Earth. These capabilities let humans develop increasingly efficient productive technologies that made possible our ancestors to migrate far away from African canopy to mainland. The adoption of agriculture had rose the population densities in these areas. More people meant more ideas and higher densities meant that the ideas could spread more easily and some intelligent individuals could devote themselves to develop specialized skills. These developments increased the rate of growth of economic productivity and technological capacity.</p><p>Later developments, related to <strong>industrial revolution </strong>brought a second but comparable step in rate of growth. These changes had a great role in the rate of growth. A few hundred thousand years ago, in early human prehistory, rate of growth was so slow that it took one million years for human productive capacity to increase it to such an extent that it can sustain an additional one million individuals. By 5000 BC, following the agricultural revolution, the rate of growth had increased to the point where the same amount of growth just took 200 years. Today, in the era of industrial revolution, the world economy grows on an average by that amount in every 90 minutes. Even by the present rate of growth it will produce an impressive results for a moderately long time. If the world economy will grow the way it has grown for the past 50 years the world economy will be 4.8 times richer by 2050 and 34 times richer by 2100 that it is today. Yet the prospect of continuing on a steady rate of growth for a long time fades as what would happen if the world were to experience yet another revolution that would change the rate of growth comparable to those associated with agriculture and industrial revolution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/799/1*XOhXjd-xwABec6rNRqlHhg.png" /><figcaption>Long-term history of world GDP. Plotted on a linear scale, the<br>history of the world economy looks like a flat line hugging the x-axis, until it<br>suddenly spikes vertically upward. (a) Even when we zoom in on the most<br>recent 10,000 years, the pattern remains essentially one of a single 90° angle.<br>(b) Only within the past 100 years or so does the curve lift perceptibly above<br>the zero-level.</figcaption></figure><blockquote>Build better voice apps. Get more articles &amp; interviews from voice technology experts at voicetechpodcast.com</blockquote><p>The economist Robin Hanson estimates, based on historical, economic and<br>population data has mentioned that in hunter gatherer society the world economy had doubled in every 224,000 years; for farming society it doubled in every 909 years and for industrial society it took 6.3 years. If another such transition to a different growth mode were to take place, and if it’s impact were of similar magnitude of the previous two, it would ignite a new growth in which the world economy will double in size in every two weeks. Such a revolution can make it possible for a person to see world economy to double multiple times within a single lifespan. This can be possible if we attain <strong>technological singularity</strong> that would lead to intelligence explosion in the market. Machines matching humans in general intelligence — that is, possessing common sense and an effective ability to learn, reason, and plan to meet complex information-processing challenges across a wide range of natural and abstract domains — have been expected since the invention of computers in the 1940s. It is expected that<strong> artificial general intelligence </strong>will be attained by 2062 and if it is attained we can shorten our economic doubling rate to a huge extent.</p><p>The <strong>singularity-related idea</strong> that interests us here is the possibility of an<br>intelligence explosion, particularly the prospect of <strong>machine super-intelligence. </strong>The world economy’s doubling time shortens to mere weeks that would not involve in the creation of minds that are much faster and more efficient rather it will depend on a <strong>Super-intelligent machine</strong> to do all such kind of work.</p><p><strong>But before we turn to what lies ahead, it will be useful for us to create law’s that would control the application of Artificial Intelligence in destructive manners.</strong></p><p>Thanks you!</p><p>Credit: “SuperIntelligence: Paths, Dangers &amp; Strategies” <strong>book by Nick Bostrom.</strong></p><h3>Something just for you</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Flinks.collect.chat%2F5d8c870c8705ce12e45fb7d0&amp;dntp=1&amp;display_name=Collect.chat&amp;url=https%3A%2F%2Flinks.collect.chat%2F5d8c870c8705ce12e45fb7d0&amp;image=https%3A%2F%2Fcollect.chat%2Fassets%2Fimages%2Flogo-green.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=collect" width="600" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/7f5cb45fd785102f7af729c560e2de3f/href">https://medium.com/media/7f5cb45fd785102f7af729c560e2de3f/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2F6b7b35%3Fas_embed%3Dtrue&amp;dntp=1&amp;display_name=Upscribe&amp;url=https%3A%2F%2Fupscri.be%2F6b7b35%2F&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/8a76a1650cf30355bd307195d382558a/href">https://medium.com/media/8a76a1650cf30355bd307195d382558a/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8baf087b573" width="1" height="1" alt=""><hr><p><a href="https://medium.com/voice-tech-podcast/the-impact-of-ai-singularity-on-world-economy-d8baf087b573">The Impact of AI Singularity on World Economy</a> was originally published in <a href="https://medium.com/voice-tech-podcast">Voice Tech Podcast</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[In layman’s terms, what is lasso and ridge regression?]]></title>
            <link>https://medium.com/analytics-vidhya/in-laymans-terms-what-is-lasso-and-ridge-regression-54f9d6827b13?source=rss-fce258b1afe------2</link>
            <guid isPermaLink="false">https://medium.com/p/54f9d6827b13</guid>
            <category><![CDATA[regularization]]></category>
            <category><![CDATA[regression]]></category>
            <category><![CDATA[lasso-regression]]></category>
            <category><![CDATA[ridge-regression]]></category>
            <category><![CDATA[statistics]]></category>
            <dc:creator><![CDATA[Jaideep Negi]]></dc:creator>
            <pubDate>Sat, 04 Jul 2020 12:00:04 GMT</pubDate>
            <atom:updated>2024-03-06T08:04:27.329Z</atom:updated>
            <content:encoded><![CDATA[<p>The objective of lasso and ridge regression is to reduce over fitting. Essentially, we can break our data points into two components —</p><p><strong>pattern + stochastic noise</strong></p><p>For instance, if you were to model something about the general health of the population, but only surveyed patients in doctors’ waiting rooms. That systematic error (polling sick people over and over again) will create a statistic that’s completely off the mark. The variation in health is the noise.</p><p>As another example, consider driving. Given a curve with a specific curvature, there is an optimal direction of steering and an optimal speed. When you observe 100 drivers on that curve, most of them would be close to that optimal steering angle and speed. But they will not have the exact same steering angle and speed. So again, the curvature of the road contributes to the pattern for steering angle and speed, and then there is noise causing deviations from this optimal value.</p><p><strong>Now the goal of </strong><a href="https://www.analyticsvidhya.com/blog/2022/01/machine-learning-algorithms/?utm_source=Backlink&amp;utm_medium=SEO"><strong>machine learning</strong></a><strong> is to model the pattern and ignore the noise. Anytime an algorithm is trying to fit the noise in addition to the pattern, it is over-fitting.</strong></p><p><a href="https://www.analyticsvidhya.com/blog/2021/10/everything-you-need-to-know-about-linear-regression/?utm_source=Backlink&amp;utm_medium=SEO"><strong>Linear models</strong></a> are one of the simplest way to predict the output using a linear function of input features. Below we have shown the linear model based on the n number of features:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0cxPU-fOGCGFVbvj.png" /><figcaption><strong>linear model</strong></figcaption></figure><p>In the above equation<strong> w[0],w[1]</strong>,etc. are the coefficient values and <strong>b </strong>is the intercept. Linear regression looks for optimizing w and b such that it minimizes the cost function. The cost function for the above model can be written as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eWdt0U8WCGdyiujc.png" /><figcaption>cost function of a linear model</figcaption></figure><p>Once we use linear regression on a data-set by dividing it into training and test set, calculating it’s scores on training and test set we get a rough idea whether our model is suffering from over-fitting or under-fitting. Underfitting occurs when a model is too simple — informed by too few features or regularized too much — which makes it inflexible in learning from the dataset. On the other hand if we have large number of features and test score is relatively poor than the training score then it’s the problem of over-generalization or over-fitting. <strong>Lasso and Ridge regression are some of the techniques to reduce the model complexity and prevent over-fitting by penalizing the coefficients of the predictors which may exist due to a simple linear model.</strong></p><blockquote><strong>Ridge Regression</strong></blockquote><p>In Ridge regression, the cost function of a linear regression is altered by adding a penalty term equivalent to square of the magnitude of the coefficients as shown in the below image:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*00kwhcMUxJuR0Bd--hFt7g.png" /><figcaption>Cost function for ridge regression</figcaption></figure><p>Our main aim here is to minimize the cost function in equation 1.2. Ridge regression puts constraint on the coefficients (w). The penalty term (λ) regularizes the coefficients such that if they take large values it shrinks them by penalizing the optimization function. By shrinking the coefficients Ridge regression reduces the model complexity and multi-collinearity.</p><p>In equation 1.3 above if λ →0, the cost function becomes similar to the linear regression because the penalty term becomes zero in the above equation. Let’s explain it by an image:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/0*NbjD8nhBcP2b0EWX.png" /><figcaption>Ridge regression for different values of λ</figcaption></figure><p>Let’s understand the figure above. The <strong>X-axis</strong> here is <strong>coefficient index</strong> that represents 13 predictors available in the data-set and <strong>Y-axis </strong>is the magnitude of coefficient for all those predictor variables. For low value of α (0.01), when the coefficients are less restricted the magnitudes of coefficients for all variables are almost as of a linear regression. For higher value of α (100), we can see above that the values of the magnitude of coefficients for many variables are considerably less as compared to linear regression. This proves that ridge regression shrinks the coefficient magnitude for different values α.</p><blockquote><strong>Lasso Regression</strong></blockquote><p>The cost function for a Lasso regression can be written as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*rvBCdEX9i1SDifpuX8iQlw.png" /><figcaption>cost function of Lasso regression</figcaption></figure><p>Same like Ridge regression in cost function if the value of λ = 0, the above equation reduces to a linear regression. Here, the difference between Lasso and Ridge regression is instead of taking the square of the coefficients, magnitudes are taken into account.</p><p>Lasso regression can shrink the coefficient values of predictors to zero i.e. some of the features are completely removed from the model and because of that it helps to reduce over-fitting in the model and also helps for feature selection. Let’s explain it by an image:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/0*xru9x-8TOeuLhno2.png" /><figcaption>Lasso regression for different values of α</figcaption></figure><p>Let’s understand the figure above.</p><ol><li>For the default value of α (=1), out of 30 features only 4 (for which the coefficient value is non-zero) are selected and for rest of the variables the coefficient value have been shrinked to zero.</li><li>By reducing α to 0.01, out of 30 features only 10 features (for which the coefficient value is non-zero) are selected and for rest of the variables the coefficient value have been shrinked to zero.</li><li>The comparison of coefficient magnitude for two different values of alpha are shown in the left panel of the above picture. For alpha =1, we can see most of the coefficients are zero or nearly zero, which is not the case for alpha=0.01.</li><li>Further reduce α =0.0001, 22 non-zero features have been selected and their coefficient values are similar to basic linear regression.</li><li>In the right panel of figure, for α = 0.0001, coefficients for Lasso regression and linear regression show close resemblance.</li></ol><blockquote><strong>How does Lasso and Ridge regression do feature selection ?</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/0*eX8nkNBGsCzebOQo.png" /><figcaption>How does lasso and ridge regression select features</figcaption></figure><p>Let’s explain how does lasso and ridge regression do feature selection:</p><ol><li>Ridge regression only reduces the coefficients close to zero, but not zero</li><li>In the above image the elliptical contours are the cost function of linear regression . Now if we have relaxed conditions on the coefficients, then the constrained regions can get bigger and eventually they will hit the centre of the ellipse. This is where it resembles the linear regression.</li><li>Else, both methods determine coefficients by finding the first point where the elliptical contours meet the region of constraints.</li><li>The diamond i.e. Lasso regression has corners on the axes, unlike the ridge regression, and whenever the elliptical region hits such point, one of the features completely vanishes!</li><li>Lasso regression can be applied even when number of features is larger than number of data.</li><li>Lasso ignores non-significant variables that may, nevertheless, be interesting or important.</li><li>Lasso doesn’t follow the hierarchy principle.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54f9d6827b13" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/in-laymans-terms-what-is-lasso-and-ridge-regression-54f9d6827b13">In layman’s terms, what is lasso and ridge regression?</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>