<?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 Rishabh Dhyani on Medium]]></title>
        <description><![CDATA[Stories by Rishabh Dhyani on Medium]]></description>
        <link>https://medium.com/@rishabhdhyani42?source=rss-88eef40f1469------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*haY6psitt975jUt2Y_yUuQ.png</url>
            <title>Stories by Rishabh Dhyani on Medium</title>
            <link>https://medium.com/@rishabhdhyani42?source=rss-88eef40f1469------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 15:05:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rishabhdhyani42/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[Data Scientist Internship Interview Experience at CRED]]></title>
            <link>https://medium.com/swlh/data-scientist-internship-interview-experience-at-cred-d54bacd475d0?source=rss-88eef40f1469------2</link>
            <guid isPermaLink="false">https://medium.com/p/d54bacd475d0</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[placement]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[internships]]></category>
            <dc:creator><![CDATA[Rishabh Dhyani]]></dc:creator>
            <pubDate>Sat, 31 Jul 2021 00:40:42 GMT</pubDate>
            <atom:updated>2021-07-31T00:59:18.804Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-DwaYcIVqM7tM5MZ" /><figcaption>Photo by <a href="https://unsplash.com/@wocintechchat?utm_source=medium&amp;utm_medium=referral">Christina @ wocintechchat.com</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Hey folks! This is Rishabh Dhyani, a pre-final year student of IIIT Gwalior pursuing an integrated M.Tech course in the stream of Information Technology. I have recently given an interview for the position of data science intern at CRED and will share my experience in this article. <a href="https://cred.club/"><strong>CRED</strong></a> is an Indian fintech company based in Bangalore, which was founded in 2018 by Kunal Shah. CRED’s main feature is allowing users to make credit card payments through its app, for which they get rewarded. Later, CRED added features to allow users to make house rent payments and introduced short-term credit lines.</p><p>I applied to the organization through an employee’s referral. I got a link for an online assessment round conducted on the HackerEarth platform. There were 8 questions in the OA round to be completed in one hour. The first two questions were from DSA and were to be coded in Python only. The third question was related to splitting in the decision tree, where we have to write mathematical implementation on the text box. The rest five questions were easy MCQs related to data science, probability, and statistics. The detailing of the questions are as follows:-</p><p>Q1) The first question was from <strong>DP</strong> | Difficulty Level — Medium | <strong>Solved</strong></p><p>Q2) The second question was from <strong>Graph</strong> |<strong> </strong>Difficulty Level — Hard | <strong>Partial</strong></p><p>Q3) In the third question, we were given two data features, and we have to tell based on which feature we have to split for the root node in the case of the Decision tree. We were asked to provide the complete mathematical implementation for the answer. | <strong>Solved</strong></p><p>Q4-Q8) MCQs | Difficulty Level — Easy | <strong>Solved</strong></p><p>After the OA round, I was informed about the recruitment team for the first technical round. An NLP engineer took this interview round. A detailed discussion was done on my B.tech project. After that, he asked me to pick the best algorithm I know and to explain it from scratch with all the mathematical equations. I picked Logistic Regression as I was confident in it. After the follow-up questions, he started asking questions on decision trees and random forests. The round was pretty good, and I was able to explain all the questions. The interviewer put a major focus on my B.tech project in this round.</p><p>The next day, I was informed by the recruitment team of the next technical round. The head of data science took this round. He is from ISI(Indian Statistical Institute), so he focussed on probability and statistics concepts. Initially, he started with my B.tech project and then asked few questions related to my CV. Then, he gave me a probability question.</p><p>Q) To find the expected distance of the point from the center of a circle with a radius equal to one. The Point can be inside the circle or on the circumference. This question can be easily solved if you are good at the basics of probability and integration. | <strong>Solved</strong></p><p>Q) Next, he asked to code the above question in python. After that, he asked me to optimize the code. |<strong> Solved</strong></p><p>At last, there were various HR questions related to company work and culture.</p><p>The next day, I was informed by the recruitment team of the HR round. I was told that they had selected me, and in this round, there were discussions related to companies&#39; work culture, technologies they are working on, stipend, and other perks.</p><p>I can’t disclose the stipend amount, but it is surely one of the best in the industry. You can take intuition related to stipends from the <a href="https://www.glassdoor.co.in/Intern-Salary/CRED-Intern-Internship-Salaries-E3050300_D_KO5,11.htm">Glassdoor</a> website. Other than the stipend, they will offer you several perks. I have accepted the offer and will join remotely from 9th August for a 6-month data science internship. Wish me luck!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*As3FmKef7W1xajKI" /><figcaption>Photo by <a href="https://unsplash.com/@hannynaibaho?utm_source=medium&amp;utm_medium=referral">Hanny Naibaho</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d54bacd475d0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/data-scientist-internship-interview-experience-at-cred-d54bacd475d0">Data Scientist Internship Interview Experience at CRED</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[Weight Initialization Technique in Neural Networks]]></title>
            <link>https://medium.com/swlh/weight-initialization-technique-in-neural-networks-fc3cbcd03046?source=rss-88eef40f1469------2</link>
            <guid isPermaLink="false">https://medium.com/p/fc3cbcd03046</guid>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[matemática]]></category>
            <dc:creator><![CDATA[Rishabh Dhyani]]></dc:creator>
            <pubDate>Fri, 04 Dec 2020 11:26:07 GMT</pubDate>
            <atom:updated>2020-12-04T18:55:58.091Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*J4myYphX4opYaXVY" /><figcaption>Photo by <a href="https://unsplash.com/@brucemars?utm_source=medium&amp;utm_medium=referral">bruce mars</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In this blog, we will study about the importance of weight initialization technique in the neural network. We will also cover the problem caused due to wrong initialization of weights in the neural network. This article has been written under the assumption that the reader is already familiar with the concept of neural network, weight, bias, activation functions, forward and backward propagation etc.</p><p>In regression techniques such as Linear and Logistic regression, we initialize weights to be zero or some random value but the same technique proves not to be fruitful for neural networks. Further, we will clarify our statement and will discuss new weight initialization techniques.</p><h4>Zero initialization :</h4><p><em>Initializing all the weights with zeros leads the neurons to learn the same features during training.</em></p><p>In fact, any constant initialization scheme will perform very poorly. Consider a <em>neural network</em> with two hidden units, and assume we initialize all the biases to 0 and the weights with some constant <em>α</em>. If we forward propagate an input (<em>x</em>1​,<em>x</em>2​) in this network, the output of both hidden units will be <em>relu</em>(<em>αx</em>1​+<em>αx</em>2​). Thus, both hidden units will have an identical influence on the cost, which will lead to identical gradients. Thus, both neurons will evolve symmetrically throughout training, effectively preventing different neurons from learning different things.</p><h4><strong>Random initialization :</strong></h4><p>Assigning random values to weights is better than just 0 assignment. But if weights are initialized high values or very low values then we face two following problems:-</p><p>(i) If weights are initialized with very low values then we face the problem of vanishing gradient. Consider the case where every weight is initialized slightly smaller than the identity matrix.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/913/1*yDjekgiO6oG3oO2v7CO8YA.png" /></figure><p>This simplifies to <em>y</em>^​=<em>W</em>[<em>L</em>]0.5^{<em>L</em>−1}<em>x</em> and the values of the activation <em>a</em>[<em>l</em>] decrease exponentially with <em>l</em>. When these activations are used in backward propagation, this leads to the vanishing gradient problem. The gradients of the cost with respect to the parameters are too small, leading to convergence of the cost before it has reached the minimum value.</p><p>(ii) If weights are initialized with very high values then we face the problem of exploding gradient. Consider the case where every weight is initialized slightly higher than the identity matrix.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*6l3pzXXfIpohRXJjSoU8-g.png" /></figure><p>This simplifies to <em>y</em>^​=<em>W</em>[<em>L</em>]1.5^{<em>L</em>−1}<em>x</em>, and the values of <em>a</em>[<em>l</em>] increase exponentially with <em>l</em>. When these activations are used in backward propagation, this leads to the exploding gradient problem. That is, the gradients of the cost with the respect to the parameters are too big. This leads the cost to oscillate around its minimum value.</p><p>Now, we are clear why we are not using previously mentioned weight initialization methods in the neural network. Further, we will study about new weight initialization technique.</p><h4>New initialization technique :</h4><p>To prevent the gradients of the network’s activations from vanishing or exploding, we will stick to the following rules of thumb:</p><ol><li>The <em>mean</em> of the activations should be zero.</li><li>The <em>variance</em> of the activations should stay the same across every layer.</li></ol><p>Under the above-mentioned points in 2015, He et al. (2015) proposed activation aware initialization of weights (for ReLu) that was able to resolve this problem. ReLu and leaky ReLu also solves the problem of vanishing gradient.</p><p><strong>He Normal initialization:</strong></p><p>When your neural network is ReLU activated, He initialization is one of the methods you can choose to bring the variance of those outputs to approximately one (He et al., 2015).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/1*3ZhtUg9_x9VSeDMGQFXIUA.png" /></figure><p>W ~ N(0,σ) | We just simply multiply random initialization with the above-given value.</p><p>There are also some other techniques other than He initialization in use that is comparatively better than old techniques and are used frequently.</p><p><strong>Xavier Normal initialization:</strong></p><p>When your neural network is Tanh or sigmoid activated, you can choose Xavier Normal method for weight initialization purpose.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/665/1*qHoBxrDUKZhXUONZeP25Ag.png" /></figure><p>W ~ N(0,σ) | We just simply multiply random initialization with the above-given value.</p><p>These methods serve as good starting points for initialization and mitigate the chances of exploding or vanishing gradients. They set the weights neither too much bigger nor too much less. So, the gradients do not vanish or explode too quickly. <strong>They help avoid slow convergence, also ensuring that we do not keep oscillating off the minima. </strong>There exist other variants of the above, where the main objective again is to minimize the variance of the parameters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hJqBEtrrHgCrtOdK" /><figcaption>Photo by <a href="https://unsplash.com/@jontyson?utm_source=medium&amp;utm_medium=referral">Jon Tyson</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc3cbcd03046" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/weight-initialization-technique-in-neural-networks-fc3cbcd03046">Weight Initialization Technique in Neural Networks</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>
    </channel>
</rss>