<?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 Prathamesh Sonawane on Medium]]></title>
        <description><![CDATA[Stories by Prathamesh Sonawane on Medium]]></description>
        <link>https://medium.com/@prathameshsonawane?source=rss-41dc5a50d2ef------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*-xj1Al4gkpf3faT0C4QLTg.png</url>
            <title>Stories by Prathamesh Sonawane on Medium</title>
            <link>https://medium.com/@prathameshsonawane?source=rss-41dc5a50d2ef------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 21:15:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@prathameshsonawane/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[XGBoost — How does this work]]></title>
            <link>https://medium.com/@prathameshsonawane/xgboost-how-does-this-work-e1cae7c5b6cb?source=rss-41dc5a50d2ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1cae7c5b6cb</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[xgboost]]></category>
            <dc:creator><![CDATA[Prathamesh Sonawane]]></dc:creator>
            <pubDate>Mon, 04 Dec 2023 19:52:34 GMT</pubDate>
            <atom:updated>2023-12-08T06:16:58.396Z</atom:updated>
            <content:encoded><![CDATA[<h3>XGBoost — How does this work</h3><p>I’ll cover everything there is to cover about XGBoost in this blog. Lmk if you think something is missing in the comments.</p><p>XGBoost (eXtreme Gradient Boosting) is an advanced implementation of gradient boosting algorithm. It’s a powerful machine learning algorithm especially popular for structured or tabular data. XGBoost has gained fame for its performance in a wide range of machine learning competitions and tasks.</p><p>Here are some key aspects of XGBoost:</p><ol><li>Gradient Boosting Framework:<br>It works by sequentially adding simple models to correct the errors made by previous models.</li><li>Efficiency and Scalability:<br>It is optimized to be highly computationally efficient and can handle large datasets.</li><li>Handling missing Data:<br> XGBoost has an in-built routine to handle missing data. (More on this later)</li><li>Tree pruning:<br>More on this later.</li><li>High Performance:<br>XGBoost is often the algorithm of choice for winning competitions.</li></ol><p>Note — XgBoost is used for both Regression and Classification.</p><h3>Regression</h3><p>Let’s cover regression first then we can use a lot of it’s content to explain classification.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/511/1*kvPxGf5GY69gwFKpJrg1cQ.png" /><figcaption>Initial data and default preds that we start with.</figcaption></figure><h4>I. Given data and initial predictions</h4><p>We are given input features (X) and target feature (Y). Now we start with a default set of predictions (by default set to 0.5 in both classification and regression but you can start from other values as well)</p><h4>II. Calculating Pseudo Residuals</h4><p>Calculate the (pseudo) residuals by subtracting Y from default initial preds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*bS1E4x7-RWMHMDTOPrSIhg.png" /><figcaption>Calculating (pseudo) residuals</figcaption></figure><h4>III. Building XGBoost Trees (main part of algo.)</h4><ol><li><strong>Start with all residuals in the same leaf.</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*bFYMII4CVsBMM7JH6qTbiA.png" /><figcaption>Ex. of residuals all in same node at the start.</figcaption></figure><p><strong>2. Calculate the similarity score using the following formula.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*nvWPuR5HQP475-WFdyse9A.png" /><figcaption>Formula to calculate similarity score</figcaption></figure><p><strong>3. Finding the best splitting feature and its values.<br></strong>- Now we go through all the input features one by one. <br>- Select the first feature, sort it’s values in ascending order and go through those values one by one. <br>- Take 2 points at a time from the start, get the mean of those 2 values and then divide the leaf residuals according to the mean value, i.e. put residuals of elements with less than mean feature value to one node and the others to a different node.<br>- Do this for all features and all values in each feature.</p><blockquote>Note — If the dataset is huge we can see that this step will end up taking a lot of time. To tackle that we can split using weighted quantiles (more on this later)</blockquote><p><strong>4. Calculating Gain<br></strong>We now calculate the gain value for each of the splits created in step 3 as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*YLNxRBvXa8_1eW0r562lqA.png" /><figcaption>Calculating the gain for a split.</figcaption></figure><p>We go through all of the splits in step 3 and then take the split which gave us the highest gain. i.e. we select the one which best splits the observations.</p><p><strong>5. Creating the tree<br></strong>We continue doing step 3 &amp; 4 for the children of the tree to split it further. The stopping conditions are either the max depth has been reached (6 by default) or the leaf has just minimum amount of residuals in it (default = 1. Cover is used to determine this value. Discussed in later sections).</p><p>So after some time we may get a tree like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/1*ey5b8aEjAI3iQ-CwlHBcBQ.png" /><figcaption>A XGB tree with max depth set to 2 (for illustration purposes)</figcaption></figure><p><strong>6. Pruning the tree</strong></p><p>We use a hyper parameter gamma(r) to prune trees.</p><p>We go bottom up from the tree while pruning. If the Gain of a parent node is less than the gamma (r) value then we prune its children (more formally if gain-r &lt; 0). We only go up if we pruned at that particular point else we stop there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PAnVrst38NCzp3iF4_KbLQ.png" /><figcaption>In this case of gamma was 130 we would not prune (dosage &lt; 30) since gamma is less than the gain value. Since we didnt prune it we cant go to its parent i.e. (dosage &lt; 15) to check for pruning.</figcaption></figure><blockquote>Note — setting gamma to 0 doesnt turn off pruning because there may be nodes with negative gain values, and gain-r will be &lt; 0 in that case, leading to pruning.</blockquote><p><strong>7. Calculating the output Value</strong></p><p>Now we’ll calculate the output values for each of the child nodes in the tree using the following formula.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/534/1*v9RTCfx-Z8cvtExrhZ5nIg.png" /><figcaption>Formula to calculate the output value (regression)</figcaption></figure><p>Using this calculate the output values for each child node. Illustrated below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*BhfwNmOAW6hQEcn7AD7O0Q.png" /></figure><blockquote>Finally the first tree is complete!!!</blockquote><h4><strong>IV. Updating the residuals and getting the output</strong></h4><p>Now that we have a tree that can predict residuals, we can update are initial default vector of 0.5 predictions by adding these residuals to it (multiplied by a learning rate ofcourse. We don’t want to directly go to the pred value and overfit)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/809/1*E5GbraDqvWETi4-J_1-QYQ.png" /><figcaption>How the initial pred are updated.</figcaption></figure><p>The full process iteratively looks like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rla-0TTdbgPQTFTd7y4OxA.png" /></figure><p>Thats the end of regression in XGboost (at least the main chunk)</p><h3>Classification</h3><p>For simplicity lets initially consider that the problem statement is that of binary classification.</p><h4>I. Given data and initial predictions</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/511/1*6iKMNcRsA0TdQz0uhnOsGQ.png" /><figcaption>This remains the same, except you Y values will be discrete and not continuous.</figcaption></figure><h4>II. Calculating Pseudo Residuals</h4><p>This step pretty much remain the same.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/535/1*YZpGXy_nSVwXaik0Y9MNPQ.png" /><figcaption>Since Y is discrete this changes slightly but its the same concept.</figcaption></figure><h4>III. Building XGBoost Trees (main part of algo.)</h4><ol><li><strong>Start with all residuals in the same leaf.<br></strong>(Same as Regression)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*1a7v518ntC4URA5MmX7EXw.png" /><figcaption>All residuals are in the same leaf/node.</figcaption></figure><p><strong>2. Calculate similarity score<br></strong>Like we did in regression, we will calculate similarity score for nodes. Although the formula changes slightly for classification.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/518/1*1RyM0gZHXD_nCfWx_Eh8UA.png" /><figcaption>In the denominator instead of number of residuals be have a sum of previous probability equations.</figcaption></figure><p><strong>3. Finding the best splitting feature and its values. <br></strong><em>(Same as regression)</em></p><p>Go through all of the features one by one. Then sort all values in a feature and go through the values one by one. Find the mean of 2 values at a time and split leaf values according to that value.</p><p><strong>4. Calculating Gain <br></strong><em>(Same as regression)</em></p><p>Find the split with the highest gain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_dQ7HAtpRtjoO33rVIuxrw.png" /></figure><p><strong>5. Creating the tree</strong></p><p>Keep splitting the nodes in your nodes according to steps 3,4 to build the tree.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*yTazh11QP1t_YmsUDhGa1A.png" /><figcaption>After this you may get a tree that looks something like this.</figcaption></figure><p>The stopping conditions are either the max depth has been reached (6 by default) or the leaf has minimum number of residual in it (calculated using cover).</p><p>What is ‘cover’?<br>Cover is basically defined as the denominator of similarity score minus lambda. So basically the formula is…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/521/1*DIYruUXwoggnhSPpA9ugMQ.png" /><figcaption>Formulae for Cover in Regression and classification.</figcaption></figure><p>By default the value of cover is set to 1 in both cases. <br><strong><em>Regression:</em></strong> Since the minimum value of cover is 1 by default and we cant have less that 1 residuals in a leaf cover has no effect on how we grow the tree for the default value of cover.<br><strong><em>Classification:</em></strong> If the calculated cover value for a leaf is less than 1 then we discard that division (essentially pruning the left).</p><p>Note — Cover in code is the min_child_weight parameter.</p><p><strong>6. Pruning the tree<br></strong>(Same as regression)<br>Start bottom up and just prune based on the hyper-parameter gamma (r) and gain for each node.</p><p><strong>7. Calculating Output</strong></p><p>Calculating the output value at each node. <br>Heres the formula. As you can see its quite similar to what we saw in Regression.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/538/1*tlyNf_RR7Zx68QLAU_A3wg.png" /><figcaption>Output formula for each node (Classification)</figcaption></figure><p>Using the above formula you can calculate the output values as each leaf node and you’ll get some thing like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/1*dfybm0rEBWTDLT1si5hu8w.png" /><figcaption>Sample tree with output values calculated.</figcaption></figure><p>Finally we have our first tree!!!</p><h4>IV. Updating the residuals and getting the output</h4><p>But wait this isn’t regression and we cant simply add these values (multiplied by learning rate(eta)). We need to convert the initial probability (0.5) into log(odds), perform the addition with lr multiplied and convert it back to probability. Let’s take it step by step.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hb21I8ZrYXGJQw34zOImXw.png" /><figcaption>Quick overview of the difference between odds and probability (Context — if my team wins 5 out of 8 games). Difference between odds(top) and probability(bottom)</figcaption></figure><p>So now you know odds and probability? If still unclear watch <a href="https://www.youtube.com/watch?v=ARfXDSkQf1Y">this</a> and then continue.</p><p>How do I convert odds to probability?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*5Z-q9dJNnvJlQ0g2IHoS-g.png" /><figcaption>Formula to calculate odds from probability.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*2s6CLLBRcMePgi5diJYxCw.png" /><figcaption>Do some math and you’ll this equation as well.</figcaption></figure><p>Okay now we have all of the tools and understanding necessary for the next step.</p><ol><li>Convert the default initial probability (0.5) to log(odds). So that is, log(odds) = log(p/(1-p)) = log(0.5/1–0.5) = log(0.5/0.5) = log(1) = 0</li><li>Perform the step of adding the node value multiplied by lr</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZKg27Zx6cCRxvxK-NBPXmw.png" /></figure><p>3. Convert this log(odds) value back to probability using the second formula.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/994/1*KNs896o_NptbwB0SQ8gTzQ.png" /></figure><p>Thats all! Thats one iteration for classification!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/877/1*gKI3YYI26QM2KEcQ5WEBTQ.png" /><figcaption>How the initial preds are updated.</figcaption></figure><p>The full process iteratively looks like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*BWx3xw6lwhRFWMV8zsJgEg.png" /></figure><p>Thats the end of Classification in XGboost (at least the main chunk)</p><h3>Mathematical Details!!!</h3><p>You may have noticed that we just conjured most of the formulae for calculating stuff like similarity score and output. I’ll be diving into proofs (and hence reasons) for why they are the way they are.</p><p>This section is skippable, but the math isn’t complicated so I’d suggest at least skim over it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1AML6pouWY4muZApfSC0Kw.png" /><figcaption>The formulae we’ll be deriving</figcaption></figure><p>Lets begin…</p><p>We can determine the performance of our XGB models using loss functions. The general structure of loss function is as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/447/1*9xFX2jnQZLW9CCW2Y1VNwQ.png" /><figcaption>Full Loss function (generic)</figcaption></figure><h4>Okay, now lets derive the output value formula first</h4><p>Regression first.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/771/1*sBPLBbL5S-CFW2ItyE7oaw.png" /></figure><p>Now to derive the output value formula for classification.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/836/1*Ng1akU6xyQmMZQAvEcBUoA.png" /><figcaption>Output value formula derivation for Regression</figcaption></figure><h4>Now let’s derive the similarity score formula!</h4><p>🚧 work in progress 🚧</p><h3>Crazy Cool optimizations</h3><h4>Approximate Greedy Algorithm</h4><p>XGBoost uses a greedy algorithm to build trees because we split a node only based on the gain value and not how that particular split will affect the splitting in the future.</p><p>But even so, the greedy algorithm becomes slow because we need to check gain values for every split in every feature. This is where the approximate greedy algorithm comes in.</p><p>Instead of taking every pair of values in a feature and calculating the gain, we can instead divide the feature values in quantiles and test only for those values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nxuj_Ocfos71oWNrxT7u3Q.png" /><figcaption>Approximate Greedy Algorithm — quantile division (visually)</figcaption></figure><p>But..</p><p>How many quantiles should we split it by? Less is quick but inaccurate. More is slow but accurate. The default value is <em>about</em> 33 quantiles.</p><p>We have “about” 33 quantiles because these are not ordinary quantiles. We useparallel learning and sketch algorithm to get the weighted quantiles for a feature. Explaining this would take very long so those interested can have a look <a href="https://medium.com/@wjj1019/in-depth-overview-of-xgboost-partii-45384b90d818">here</a>.</p><p>The main crux of it is the data is split by weighted quantiles, that is, every quantile wont necessarily have the same number of samples. It may look somthing like this…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/590/1*jNoc2a6EY0qWFncu24ExlA.png" /><figcaption>weighted quantiles</figcaption></figure><p>Note — This is only used when the dataset is huge. If the dataset is small XGBoost just uses the normal greedy algorithm.</p><h4>Sparsity-aware split finding</h4><p>Basically, how does XGBoost handle missing values inherently.</p><p>Lets say we have a feature ‘Dosage’ with some nan values. We split the rows in 2 tables. One table without nan values and one with nan values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/1*LApWg-6j28XGFzZeOxRmkQ.png" /></figure><p>Now</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iU7rx-JVUoCeMjYvpz1MLQ.png" /></figure><h4>Cache aware access</h4><p>Gradients and Hessians are stored in Cache. Thats pretty much it lol.</p><h4>Questions</h4><ol><li>What happens to categorical features when we care trying to find the best splitting values in features?<br>Convert to one hot encoding. But the lastest version has released a more sophisticated way in beta. (need to understand that.)<br> — or label encoding</li><li>How does it work for multi-class classification?<br>One-v-one or one-v-rest approach is used.</li><li>Similarity score formula intuition?</li></ol><h3>References</h3><p>I learnt all of it from <a href="https://www.youtube.com/watch?v=OtD8wVaFm6E">Statquest</a> and quite honestly watching his videos is much better than this blog. So I’d suggest use this for revision and not first-hand learning. I’ve also taken a few screenshots and edited them from his videos, so yeah, there.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1cae7c5b6cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Graph Machine Learning — Intro]]></title>
            <link>https://medium.com/@prathameshsonawane/graph-machine-learning-intro-4e35098f5176?source=rss-41dc5a50d2ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e35098f5176</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[graph]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificalintelligence]]></category>
            <category><![CDATA[graph-neural-networks]]></category>
            <dc:creator><![CDATA[Prathamesh Sonawane]]></dc:creator>
            <pubDate>Sun, 03 Dec 2023 01:51:21 GMT</pubDate>
            <atom:updated>2024-02-14T03:03:18.414Z</atom:updated>
            <content:encoded><![CDATA[<h3>Graph Machine Learning — Intro</h3><p>I am writing this in order to force myself to learn this topic properly. If you end up reading this, pl lmk if you find an inconsistencies/mistakes/skipped topics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y4j4hXUmVfRd7EKne5Xdzg.png" /><figcaption>src: Dall-E</figcaption></figure><h3><strong>What is Graph ML?</strong></h3><p>Its pretty much in the name, Machine learning for Graphs. Common use cases are the study of Social Networks, Drug Discovery, Particle Physics, Traffic and Route Optimization, Knowledge Graphs, Financial transaction networks, Chemistry (atoms &amp; molecules), and so on.</p><ul><li>Uber Eats uses GNNs to recommend food to you.</li><li>Pinterest uses <a href="https://medium.com/pinterest-engineering/pinsage-a-new-graph-convolutional-neural-network-for-web-scale-recommender-systems-88795a107f48">PinSage GNN</a> to curate your feed.</li><li>X uses GNNs to detect fake news.</li><li><a href="https://icecube.wisc.edu/science/icecube/#:~:text=IceCube%2C%20the%20South%20Pole%20neutrino,depth%20of%20about%202%2C500%20meters.">Icecube labs</a> use GNNs to detect neutrino particles on the South Pole.</li><li>GNNs are used in drug discovery to beat <a href="https://www.nature.com/articles/s41598-019-45349-y">Cancer</a>!</li><li>Also other exciting apps like <a href="https://arxiv.org/abs/1704.01212">predicting quantum properties of molecules</a>, <a href="https://arxiv.org/abs/1509.09292">predicting molecule X’s chemical properties</a>, etc.</li></ul><p>NLP: <em>I manipulate text.</em> CV: <em>I manipulate images. </em>Graph ML: <em>hold my beer!</em> 🍺</p><p>Jokes aside, there are some nice parallels to be drawn between CV/NLP and Graph ML, which I’ll discuss later in this blog.</p><h3>Properties of a Graph</h3><p>Most things remain the same. You have nodes and edges that make up a graph. There is a whole field dedicated to graphs (<a href="https://en.wikipedia.org/wiki/Graph_theory">graph theory</a>) but you wont really need that.</p><p>Still, some of the properties of Graphs are:</p><ul><li>Directed/Undirected Graphs</li><li>Heterogeneous/Homogeneous Graphs<br>-<strong> Heterogeneous graphs</strong> have ‘typed’ nodes/edges. Typed means that you can have different types of nodes/edges in a graph. Think types of bonds and atoms in molecules.<br>- <strong>Homogeneous graphs</strong> are pretty much normal graphs with a single type of edge &amp; node.</li><li>Graph with/without self-edges.</li><li>Graphs with/without loops.</li><li>Multi/Hyper graphs.</li></ul><p>Before you begin, you must first consider the best characterization depending on your problem statement (homogeneous/heterogeneous, directed/undirected, etc)</p><h3>What are the Tasks in Graph Machine learning?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/891/1*bEDGOaZBETruk69xwet0ug.png" /><figcaption>Tasks in Graph ML</figcaption></figure><h3>How are Graphs represented?</h3><p>Pretty straightforward.</p><ul><li>Set of all edges</li><li>Adjacency list</li><li>Adjacency Matrix (tends to be sparse, so we can make a Laplacian matrix from it if needed.)</li></ul><p>… or other ways, but these are the most common ones.</p><p><em>Note</em> — Even though we have managed to represent them as ordered objects we cannot treat them as we treat other ordered objects in ML. Intrinsically, they need to be treated at the unordered objects that they are.</p><p>Apart from this, each node in the graph has a feature vector which basically describes that node. We can also have feature vectors for edges.</p><h3>Pre-[Graph Neural Networks]!</h3><p><em>Before we dive into Graph Neural Networks (GNNs) let&#39;s briefly look at techniques that were used before they came into existence. It helps for more context and allows me to appreciate the current methods.</em></p><p>Before GNNs, graphs were represented by arbitrarily extracting certain features from them, and using those to perform whatever task it is that we want to perform.</p><blockquote>It’s quite similar to what I thought Graph ML must be like when someone had asked me a GNN problem for the first time. My solution was to extract features like connections, node types, number of loops, etc based on my intuition of what the model may find useful, put them in a table, and train a normal NN to predict the output. Of course, retrospectively, that was quite naive.</blockquote><p>Nevertheless, lets go through some of the common features —</p><h4>Node level features:</h4><ul><li><strong>Node Type</strong></li><li><strong>Node Degree:<br></strong>Number of direct neighbors of a node</li><li><strong>Clustering Coefficient:<br></strong>Measure of how connected the node neighbors are.</li><li><strong>Centrality:<br></strong>Measures the node importance in the graph. It can be computed recursively by summing the centrality of each node’s neighbors until convergence, or through shortest distance measures between nodes.</li><li><strong>Graphlet Degree Vectors:<br></strong>Amount of different graphlets connected to a given node. Graphlets different mini-graphs you can create given a certain number of nodes.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/844/1*Q-RW0l1OJp7PslYP4yUGRA.png" /><figcaption>The 2- to 5-node graphlets and their automorphism orbits(ignore) (<a href="https://www.researchgate.net/publication/272888925_L-GRAAL_Lagrangian_graphlet-based_network_aligner">Pržulj, 2007</a>)</figcaption></figure><h4>Edge level features</h4><ul><li>Edge label (Edge type)</li><li>Shortest distance between 2 nodes.</li><li>Number of common neighbors.</li><li>Katz index — number of possible walks of up to a certain length between two nodes</li></ul><h4>Graph level features</h4><ul><li><strong>Graphlet counts:<br></strong>Total graphlet counts for each n number of nodes — computationally v. expensive.</li><li><strong>Graph similarity:<br>- </strong>Can be done using node degree and bag of nodes.<br>- <a href="https://en.wikipedia.org/wiki/Random_walk">Walk based methods</a> — Using the probability of visiting a node j from a node i on a random walk to define similarity metrics. Ex: <a href="https://snap.stanford.edu/node2vec/">Node2Vec</a></li></ul><p>However, all of these things pose a lot of limitations which will become more evident in the next section as we begin to understand GNNs.</p><h3>Before GNNs lets look at how Embeddings are made</h3><ul><li><a href="https://arxiv.org/abs/1403.6652">DeepWalk</a> — it’s reduced to Word2Vec if you do the following: sample “sentences” from the graph by doing random <a href="https://www.geeksforgeeks.org/mathematics-walks-trails-paths-cycles-and-circuits-in-graph/#:~:text=A%20walk%20is%20a%20sequence,can%20be%20open%20or%20closed.">walks</a>.</li><li><a href="https://cs.stanford.edu/~jure/pubs/node2vec-kdd16.pdf">Node2Vec</a> — literally the same idea as DeepWalk with the additional control of how you’ll sample from your graph (<a href="https://en.wikipedia.org/wiki/Breadth-first_search">BFS</a>/<a href="https://en.wikipedia.org/wiki/Depth-first_search">DFS</a>). If you give more weight to BFS the tightly coupled nodes will have similar embeddings.</li></ul><p>A brief clarification on DeepWalk — if you treat the nodes in the graph as words, then if you do a random walk you’re basically sampling a random sentence from your graph.</p><p>Once you have the sentence you can do the Word2Vec magic and learn your node embeddings such that those nodes that tend to be close in your sentences have similar embeddings.</p><h3>Graph Neural Networks</h3><p>How do we build a Neural Network that support Graphs as is?</p><p>Let’s formalize the requirements a bit.</p><p>Given f(x) is the NN, G is the Graph, P(x) is a random permutation function, we need the NN to satisfy 2 properties.</p><ul><li><strong>Permutation invariance:<br></strong><em>f(P(G))=f(G)<br></em>This means that, the output of a graph and any of its valid permutations will be exactly the same of passed through a GNN.</li><li><strong>Permutation Equivariance:<br></strong><em>P(f(G))=f(P(G))<br></em>This means that, it doesn’t matter if apply the permutation before of after passing through the GNN. Output remains the same.</li></ul><p>Typical NNs do not satisfy these properties, hence we had to create a separate category of NNs, <a href="https://ieeexplore.ieee.org/abstract/document/1517930">Graph Neural Networks</a>.</p><h4>Different ways of training GNNs!</h4><p>This concept is unique to GNNs (afaik). There are 2 types of learning settings — transductive and inductive.</p><ol><li>Transductive learning:<br>We split a single graph’s nodes into training, validation and test nodes and then train the model on this. During training the model can access the validation nodes if it reaches those during multi-layered aggregation, this is allowed. It is allowed to use the feature vectors but not the labels of those nodes. More on this later.</li><li>Inductive learning:<br>This is more along the lines of what we are used to in ML. We have separate sets of graphs for train, validation and test sets. (can be multiple graphs in a set.)</li></ol><h4>Now onto the actual meat, how do GNNs actually work?</h4><p>GNNs are networks that consume Graphs as is. GNNs work by aggregating information from a node’s neighbors (and the neighbors’ neighbors, and so on) to compute a representation (embedding) of each node or edge. These embeddings capture both the features of the nodes and the structure of the graph.</p><p>A GNN layer represents a node as an combination of its neighbors (aggregation), node’s own properties (message passing) and lastly an activation to introduce non-linearity in the network. You can draw parallels here between how you need to give positional &amp; word embeddings in a normal Transformer.</p><p>Intuition — A CNN can be seen as a generalization of a GNN, with fixed neighbor sizes (sliding filter) and ordering (permutation unequivariance) or a Transformer without positional embeddings can be seen as a GNN.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kVPIo-0dRAJGtysTQP6Wmw.png" /><figcaption>An example of a 4x4 pixel image — we can treat an image as a grid graph. pixel values become graph signals and you acn imagine just passing a 2x2 filter over this. Aggregation becomes pooling.</figcaption></figure><p><strong>Aggregation Techniques</strong></p><ul><li><a href="https://tkipf.github.io/graph-convolutional-networks/">Graph Convolutional Networks</a> (GCNs)<br>Average the normalized representations of a node’s neighbors.</li><li><a href="https://snap.stanford.edu/graphsage/">GraphSage</a><br>Basically selects only a certain random sub-sample of neighbors for aggregation at each layer. This reduces computation costs.</li><li><a href="https://arxiv.org/pdf/1810.00826v3.pdf">Graph Isomorphism Networks</a> (GINs)<br>The weights for the neighbors are determined by passing them through a fully connected NN.</li><li><a href="https://petar-v.com/GAT/">Graph Attention Networks</a> (GAT)<br>Assuming you know attention (transformers), this essentially weighs the neighbors based on their importance given by attention. Its like GINs but this is more computationally intensive. It has its pros and cons.</li></ul><p>Note — Some aggregation techniques like mean/max can fail in certain cases like if a node has the neighbors (-1, 1) and another node has the neighbors (-2, 0, 2, 0) both will get treated as the equals.</p><p>In conclusion, once you have feature vectors from your neighbors at your disposal,</p><ol><li>You somehow transform them (maybe a linear projection)</li><li>You somehow aggregate them (maybe weighing them with attention coefficients, voilà, we get GAT )</li><li>You update the feature vector (somehow) of the current node by combining its (transformed) feature vector with the aggregated neighborhood representation and activation.</li></ol><h4><strong>Over-smoothing problem in GNNs</strong></h4><p>This is unique to GNNs but it’s in the same class as overfitting, underfitting, etc.</p><p>In the first layer of a GNN you aggregate over the neighbors of a node. In the next layer you again aggregate over its neighbors, but this time the neighbors are a aggregation of their neighbors. This means that at every subsequent layer a node get more visibility into the graph (imagine CNNs its quite the same).</p><p>Now we can say that at every layer the radius of circle around any particular node increases by 1. After n layers the radius will be n. If n becomes larger than the max radius of the network then all of the nodes start becoming indistinguiable from each other. (because each node is then an aggregation of all of the nodes in the network!)</p><p><strong>How do you solve this?</strong></p><ul><li>Analyze the graph diameter and shape first, then determine the network depth based on that.</li><li>add skip connections. (throwback to vanishing gradients. Same but different.)</li><li>Dropping Edges or Nodes randomly (like dropout)</li><li>Using different (more complex) aggregation functions — attention, GINs, etc.</li><li>Add self-loops (like RNNs)</li><li>Add non-message passing layers</li></ul><p>It’s pretty evident that we can draw many parallels between what we are doing here and what we do to solve overfitting in normal NNs.</p><h3>Graph Transformers</h3><p>You may remember that we transformers had an inherent flaw compared to its predecessors (LSTMs, etc). It’s constructed in a way that it cannot determine the relative positions of words in a sentence. We need to give positional embeddings for each word for it to understand the order of words.</p><p>In GNNs this ‘bug’ becomes a feature. We get permutation invariance by not passing positional embeddings. This is a hot research topic right now (<a href="https://github.com/ChandlerBang/awesome-graph-transformer">survey</a>).</p><h3>Graph Attention Networks</h3><p>For this I’ll be looking at this <a href="https://arxiv.org/pdf/1710.10903.pdf">paper</a></p><ul><li>Each node in the graph will have a feature vector h. Let’s say we transform all feature vectors by multiplying them with certain separate weights (W) and get transformed feature vectors for each node (h^{tilde}).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MVvX7jwJtVsx_7s2BYg3cw.png" /><figcaption>Transformation and calculating eij</figcaption></figure><ul><li>So for example lets do this for h0. We’ll choose all neighbours of h0 and calculate eij. Thus we will get e01, e02, e03. For these 3 values we’ll do softmax.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/263/1*vueaz-5l3zjP4Sl7gAmVTA.png" /></figure><ul><li>Softmax gives you weights for each of the neighbors of ‘0&#39; node. We multiply this with the tranformed feature vectors, sum over them and apply a non linearity. The equation is given below (alpha is the softmax o/p).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/538/1*pIqWUrGPG2PP_6b3--qOuA.png" /><figcaption>Self-attention in Graph Attention Networks</figcaption></figure><ul><li>Now this is a single attention head. We can do this for multiple heads and then concatenate the outputs exactly like multi-headed attention in LLMs. Formula below.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/878/1*XFTU-7em0Rnyz8BulMnP3Q.png" /><figcaption>Multi-headed self-attention in Graph Attention Networks</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/878/1*mODw8D-xCg-yx-9t5jAzHg.png" /><figcaption>For last layer they don’t concatenate instead we average the results of multiple heads before passing through the non-linearity (which will probably also be different for the last layer.)</figcaption></figure><ul><li>A diagram for the whole process would look like this. Colored squiggly like are multiple attention heads.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*57OmQXgIFj5ocxuXsrtYuA.png" /><figcaption>An illustration of multi- head attention (with K = 3 heads) by node 1 on its neighborhood. Different arrow styles and colors denote independent attention computations. The aggregated features from each head are concatenated or averaged to obtain the next h1&#39;</figcaption></figure><ul><li>Lastly, the authors also use dropout, meaning that each node at every iteration will see a stochastically sampled neighborhood.</li><li>The authors tried using q, k, v matrices as it is done in traditional attention but that led to overfitting. Instead having just 1 matrix as shown above gave better results.</li></ul><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —<br>(I’ll continue to update this as I learn more!)</p><p>Note — I dont aim on making this blog into the goto resource for Graph ML. In fact I’m not trying to make this a resource at all. Though it works for me, I’ve realized that without the other things that I am looking at this is becoming a hot mess of half baked concepts. I’ll try to be as clear as possible while maintaining my sanity lol.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e35098f5176" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How What When .. A guide to MS]]></title>
            <link>https://medium.com/@prathameshsonawane/how-what-when-a-guide-to-ms-923b456c0560?source=rss-41dc5a50d2ef------2</link>
            <guid isPermaLink="false">https://medium.com/p/923b456c0560</guid>
            <category><![CDATA[toefl]]></category>
            <category><![CDATA[abroad]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[masters-degree]]></category>
            <category><![CDATA[gre]]></category>
            <dc:creator><![CDATA[Prathamesh Sonawane]]></dc:creator>
            <pubDate>Tue, 10 Aug 2021 10:53:33 GMT</pubDate>
            <atom:updated>2024-12-06T04:57:51.027Z</atom:updated>
            <content:encoded><![CDATA[<h3>How? What? When? A guide to Masters in CS</h3><h4>Hi! My name is Prathamesh and I’ll be pursuing my Masters in Computer Science from the University of Illinois Urbana-Champaign starting Fall ’22.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*V7IfFB4HlCeX2u5twXQYUg.jpeg" /><figcaption>Main Quad, UIUC</figcaption></figure><blockquote>I started writing this blog because I couldnt find one singular place where all of my doubts could be solved.</blockquote><h4><strong>My Profile</strong></h4><p>(At the time of application, around October 2021)</p><ul><li><strong><em>GRE</em></strong><em>: 329/340 [Quant — 169/170, Verbal — 160/170, AWA — 4/6]</em></li><li><strong><em>TOEFL</em></strong><em>: 116/120 [Reading — 29/30, Listening — 30/30, Writing — 29/30, Speaking — 28/30]</em></li><li><strong>Undergraduate CGPA</strong>: 9.6/10</li><li><strong>Experience</strong>: 2 research internships, 4 ML dev internships.</li><li><strong>No Job experience</strong></li></ul><p><em>Result — Admitted to UIUC, a </em><a href="https://www.usnews.com/best-graduate-schools/top-science-schools/computer-science-rankings/21775470034_variation"><em>top 5 CS university</em></a><em>.</em></p><blockquote>Before you begin, it’s best to maintain a google sheet for all of the information that you will encounter along the way. There are a lot of things to remember, and at some point, you are bound to forget. Besides, it’ll help you while writing an article on medium later ;)</blockquote><h3>1. Examinations</h3><p>In order to apply for a Masters in the USA, you’ll typically have to submit 2 exam scores, GRE and an English proficiency test score (TOEFL or IELTS).</p><p>I’ll be covering GRE and TOEFL in this blog since those are the ones I gave.</p><h4>GRE</h4><p>Most students give GRE in the 6th semester (3rd year). Exam preparation for both (GRE &amp; TOEFL) takes 3 months (considering you study for 2–3 hours daily)</p><blockquote><em>Unlike SATs, GRE &amp; TOEFL are given on a computer. I was initially under the impression that they would be on paper.</em></blockquote><p>GRE has been ‘waived off’ in some way, shape, or form in most US universities as of 2022. There are 4 common stances that universities take with respect to the exam. (You can find it easily on the university website)</p><ul><li>Required — must submit GRE scores</li><li>Recommended — They have given you an option, but I’d say treat these ones as ‘required’.</li><li>Optional — They are giving you an actual option. Not submitting your GRE score won&#39;t hurt your application, but submitting a high score may increase your chances.</li><li>Not accepted — These universities won&#39;t consider your score even if you send it to them. So don’t.</li></ul><p>You can skip GRE if most of the universities that you are interested in, take an ‘optional’ or ‘not accepted’ stance.</p><h4><strong>There are 7 sections in GRE.</strong></h4><p><strong>Analytical Writing Assessment<em> (2 sections)</em><br></strong><em>Time: 30 minutes<br>Avg. essay size: 400 words<br>Standard Structure: 5 paragraphs (Intro(1)+Body(3)+conclusion(1))</em></p><p><em>Essay 1: </em>An argument is given, and you have to present your opinion.<br><em>Essay 2: </em>An issue is given and you need to evaluate its validity.</p><ul><li>The main requirements are:<br>- Decent typing speed<br>- Good grammar<br>- A consistent flow of ideas<br>- Lastly, the ability to gather your thoughts in the first 5 mins.</li><li>Each essay is scored out of 6 marks. A score of ≥4 out of 6 is considered decent by most colleges (I’d aim for a 5).</li></ul><p>Final score = average(scores in both essays)</p><p><strong>Quantitative and Verbal (5 sections)<br></strong><em>Time: Quant section(35 minutes), Verbal section(30 minutes)</em></p><ul><li>Depending on your luck you may get:<br>- 3 <em>Quant</em> and 2 Verbal sections.<br>- 3 Verbal and 2 <em>Quant</em> sections.<br>I don’t feel there is an advantage either way.</li><li>Each section has 20 questions and is also scored out of 20.</li><li>Out of the 5 sections, one randomly selected section is an experimental section. The score you get in the experimental section doesn’t count towards your final score. Unfortunately, there is no way to determine which one is the experimental section, so just try to do well in all of them.</li><li>The purpose of an experimental section is for their own ‘experiments’. Rumour is, that they introduce newly made sections for field tests before introducing them as scored sections for other candidates (pretty neat).</li><li>On extremely rare occasions, you may get an un-scored ‘research’ section instead of an experimental section. In this case, they’ll clearly mention that it’s a research section. Hence you’ll know which sections are scored. This section will contain some survey questions, etc. So in this case your exam pattern will look like this:<br>- 2 Quant, 2 Verbal, and 1 Research section.</li><li>GRE as a test is adaptive — If you get a good score on your first <em>Quant</em> section then the next <em>Quant</em> section will be harder, and likewise, if you get a lower score in your first section the next section will be easier. (scores are not revealed to you, it happens in the backend)</li><li>Scoring — Harder sections have a more forgiving marking scheme while easier sections are a more strict marking scheme. What this means is, although it’s 20 marks and 20 questions, they don&#39;t give you 1 mark for every correct question. If it’s a hard section, they may give you 20 marks even if one of your answers is wrong. But if it&#39;s an easy section, they may deduct 2 marks for one wrong answer.</li><li><em>NOTE: This marking scheme is mostly speculation of the people on the internet, so take it all with a pinch of salt.</em></li><li>In the end, you’ll have two scores :<br>- <em>Quant</em>: x/40 <br>- Verbal: y/40</li><li>These are converted out of 340 as follows:<br><strong>Final score = [(130+x)+(130+y)] / 340.<br></strong>(Yes, you can not get a score below 260)</li></ul><p>Here is a percentile distribution of marks for 2021 (up till 11 Aug 2021)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/0*tMuRflYoLd4lqIOu.png" /></figure><ul><li>Scoring 320+ in GRE is deemed very good and scoring 330+ is deemed exceptional. Depending on how much the college emphasizes on GRE, this may have a good/great impression. Universities especially look into your GRE scores if your undergrad university is relatively less known in the USA.</li><li>If you are applying for a Mathematics based degree (ex. CS), universities will expect you to submit a near-perfect Quant score(169 or 170). The AWA part doesn’t matter much as long as you don’t get a very low score(&lt;4).</li><li><strong>NOTE</strong>: I’d like to add that, although a lot of emphasis is placed on it, GRE is only a cutoff criterion. A lot of it depends on your overall profile. One of my friends scored 321/340, yet got into Stanford MS CS because she had an exceptional profile, so make of it what you will.</li></ul><p><strong><em>Registering for GRE:</em></strong></p><ul><li>Go on the website, create an account, and register. It’s pretty straightforward.</li><li>I had some issues during the payment(as did all of my friends) and had to pay through Paypal instead of all the other transaction methods. Also, be patient with the ETS website in general, it is quite slow to process at times.</li></ul><p>Exam Cost: <em>205 dollars ~ 15000 rupees</em>.<br>You can additionally take additional mock tests for 30 to 40 dollars each. <br>(I took one, it’s not worth it. You’ll find free online mock tests easily.)</p><p><strong><em>My POV :</em></strong></p><ul><li>So how did I study? <br>I studied from February through June (yup ~5 months).</li><li>Why so long?<br>Pandemic. Didn’t really have an option, so kept postponing it until centers reopened.</li></ul><p><strong><em>Timeline:</em></strong></p><ul><li><em>Feb — April</em>: 30–50 words (once every 2 days)</li><li><em>May</em>: Galvanize (crash course)<br>They provide GRE prep material every day and it was easy to just do that and be done with it for the day. All in all a solid 8.5/10. If you plan on taking it do DM me, I may be able to get you a discount. (No, they aren’t paying me.)</li><li><em>June(2 weeks)</em>: Self-study</li></ul><p>I took a relaxed approach giving 3 months to just study words, but it’s really up to you and how you plan it. Studying seriously I’d say 2 months is enough for all of the prep.</p><p><strong><em>The study material that I used:</em></strong></p><ul><li>Kaplan Mock tests (4 tests) — 4d*</li><li>Princeton Mock test (4 tests) — 4d</li><li>ETS Mock tests (3 tests) — 3d</li><li><a href="https://galvanizetestprep.com/gre-test-prep/">Galvanize crash course</a> (1 month) — 30d</li><li><a href="https://www.amazon.in/Book-Practice-Problems-Manhattan-Prep/dp/1506247598/ref=sr_1_1?adgrpid=59308015179&amp;dchild=1&amp;ext_vrnc=hi&amp;gclid=CjwKCAjwx8iIBhBwEiwA2quaqyakvACMX-tnSf8ygtF-Iu5PxiBspqd08iyosHwtHYl8n0JvZZAiqRoC-y0QAvD_BwE&amp;hvadid=356412167242&amp;hvdev=c&amp;hvlocphy=1007788&amp;hvnetw=g&amp;hvqmt=e&amp;hvrand=18167830263309072184&amp;hvtargid=kwd-378241792528&amp;hydadcr=20565_1913836&amp;keywords=manhattan+5lbs&amp;qid=1628625968&amp;sr=8-1">Manhattan 5 lbs</a> — 4d</li><li><a href="https://www.amazon.in/McGraw-Educations-Prepration-Combo-books/dp/B07VYZCCH4/ref=sr_1_8?dchild=1&amp;qid=1628625876&amp;refinements=p_27%3AETS&amp;s=books&amp;sr=1-8">ETS reference books</a> (3 books) — 1d</li><li><a href="https://gre.magoosh.com/flashcards/vocabulary">Magoosh flash cards</a> — (set your own speed)</li></ul><p>p.s. did not buy all of the books. Pdfs ftw.<br>*d — days</p><p><strong>Financials:<br></strong>18000 (GRE) + 7500 (crash course) + 2500 (books) = 28000 rupees</p><h4>TOEFL</h4><ul><li>TOEFL is an English language proficiency test. It is to ensure that you’ll be able to cope with native English speakers once you reach the US. You can give TOEFL immediately after your GRE. I would suggest getting it out the way as soon as possible.</li><li>There are 2 types of exams, Toefl Essentials, and Toefl IBT. For MS you have to give the IBT version.</li><li>There is also a 3rd version, ‘Toefl Home-Edition’. Even if it’s accepted at your choice of universities, I’d say avoid it unless you don’t have any other option. The reason is, that it doesn’t have a speaking section (it’s the most important section).</li><li>Even if you skip the speaking section now, universities will require you to take another language proficiency test for RA/TA* roles. So just give the IBT version and those speaking scores will be applicable for RA/TA roles as well.</li><li>There are 4 sections in TOEFL (30 marks each)<br>- <strong>Reading</strong> — is much easier than GRE.<br>- <strong>Listening</strong> — you’re good if you can understand an episode of Big Bang Theory without subtitles. <br>- <strong>Speaking</strong> — most struggle here.<br>- <strong>Writing</strong> — is much easier than GRE.</li><li>I found TOEFL to be easier as well as more lenient compared to the GRE. If you scored well in the verbal section(around 160) then you’ll probably end up with a near-perfect score with a few days of practice. Most universities require a score of 100+, with a few exceptions where they expect 110+.</li><li>Apart from this, universities also have cutoffs with respect to the speaking section for TA roles (so while you can get into the uni., you may need a higher score to be eligible for a TA). The highest I have seen is ≥28 for a TA. On average, the cutoff is 24/30.</li></ul><p>*RA/TA — Research assistantship/Teaching assistantship.</p><p><strong><em>The study material that I used</em>:</strong></p><ul><li>Speaking :<br>- <a href="https://www.youtube.com/channel/UCL0ZOT3eKp4RvKcQyBZJ4bw">Youtube</a><br>- Apart from this, go to the first website that comes up after Googling ‘<a href="https://www.google.com/search?q=toefl+speaking+section+practice&amp;rlz=1C5CHFA_enIN1013IN1013&amp;oq=toefl+speaking+section&amp;aqs=chrome.1.69i57j0i512l9.5738j0j7&amp;sourceid=chrome&amp;ie=UTF-8">TOEFL speaking section practice</a>’, and practice until you are fluent. Practicing mocks with a friend is the best way to do this.</li><li><a href="https://play.google.com/store/apps/details?id=com.elearning.toefl">Listening</a>, Reading, Writing :<br>- These sections seemed easy so I didn’t study much for them (around 3 hours combined). You find most of the material by Googling.</li><li>NOTE — TOEFL is widely accepted in the US, but if your choice of university requires an IELTS score, you’ll naturally have to give that. <br>As I understand, the norm is:<br>- TOEFL-&gt;USA<br>- IELTS-&gt;UK.</li></ul><p><strong>Registering for TOEFL IBT:<br></strong>The same as GRE (TOEFL too comes under ETS, so the interface is similar)</p><p><strong>Miscellaneous Info:</strong></p><ul><li>Immediately after you finish your GRE /TOEFL you’ll have to give them the names of the 4 universities that you would like to send your scores to (for free). This happens in the exam hall itself and you won&#39;t be allowed to exit the premises before giving them the 4 names. So be prepared with a few names (you can scroll below to the section of university selection for help)</li><li>I had kept 2 sets of 4 universities in my mind before the exams. Depending on my score I had planned on giving either an ambitious set or a moderate set.</li><li>Apart from these 4 universities, if you need to send your scores to more universities, you can do that later from their website. It costs 20–25$ (~2000 INR) to send one score of either GRE/TOEFL.</li></ul><p><strong>Financials: <br></strong>18000 (GRE) + 7500 (crash course) + 2500 (books) + 15000(Toefl)= 43000 rupees.</p><blockquote>… and just like that, you are through the examinations!</blockquote><h3>2. University Selection!</h3><p>With the exams out of the way, we’re at the crux of the Master&#39;s application process, <em>University selection!</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*jMy33_DugHbFxHzj5xnxYg.png" /><figcaption><a href="https://www.polk.edu/wp-content/uploads/Top100.pdf">credit</a></figcaption></figure><h3>Let&#39;s begin…</h3><p>The first step(or more realistically one of n parallel steps) is selecting the universities that you are interested in.</p><p>Actually, before you select the universities, you’ll have to decide how many of them you’ll be applying to. I know people who applied to 3 universities and also those who applied to 23 of them. On average people apply to 6–10 universities. That&#39;s the sweet spot since it won&#39;t drive up the application cost too much while giving you a fair chance of getting selected to the best possible university.</p><p>Next, choosing which universities to apply to.<br>There are various things that you may take into account, I’ll be mentioning all those that I think have an effect on your overall experience.</p><ol><li><strong>University minimum score criteria<br></strong>This is the first thing you must look at. You won&#39;t get into the university if you don&#39;t pass their minimum score criteria. Typically universities have minimum (official/unofficial) score thresholds for undergrad CGPA, TOEFL, and GRE (GRE is waived off in most universities these days so this one is somewhat moot.)</li><li><strong>Tuition fee &amp; Funding<br></strong>There are 2 aspects to this, the first one is if you can afford the tuition and the second one is the ROI(return on investment). At a later stage in the process, universities give you an estimate of yearly expenses while studying there. You’ll have to show this amount in the form of liquid funds(read up on what liquid funds mean) to get an official acceptance from them. This amount can vary significantly, so it would be wise to look into that amount from the offset.</li><li><strong>University ranking/Research Ranking <br></strong>This is a controversial metric, mainly because it may not reflect the true quality of a University, but in my experience, it is a good indicator on the macro. My advice would be to look at multiple rank lists and then do a sort of weighted average. It’s a little time-consuming but it helps a lot when choosing the universities. Another tip would be, to look for rankings in your specific course/specialization rather than the overall rankings. Some websites that I personally found fairly authentic were — <a href="http://csmetrics.org/">CS metrics</a>, <a href="https://www.usnews.com/best-graduate-schools/top-science-schools/computer-science-rankings/21775470034_variation">US news</a>, and <a href="http://csrankings.org/#/fromyear/2015/toyear/2021/index?ai&amp;vision&amp;us">CSrankings</a>. I gave weightage in the same order, with the most weightage to CS metrics because it seemed the most transparent and directed towards my interests.</li><li><strong>Courses<br></strong>Depending on what you are specifically interested in, each university may offer some unique courses. This one takes a lot of research but is quite important. Unlike UG in India, you’ll have to choose your own courses each sem, hence these courses usually are given more importance during interviews.</li><li><strong>Professors<br></strong>Similar to the last one, do your due diligence. Look into what work is being done by professors and if it piques your interest. All professors are great, but finding a match in terms of interests is rare and this can make all the difference (especially for those who want to pursue research)</li><li><strong>Research scope<br></strong>This one is in continuation to the last point. Look at what research is being done at the university on a whole (specific to the area of your interest ofc).</li><li><strong>Internship/Job prospects <br></strong>You’ll want a great job after you pass out (unless you are going to continue studying, if so then skip this lol). Look at where the university is, region often plays a huge role. In my case(for Computer Science) California is the place to go since silicon valley is there along with most of the startups, MNCs, etc. Given I am writing this after the pandemic(or during?), I have to say remote jobs and interviews are much more accessible now. This point may have become moot, but that&#39;s something I’ll let YOU ponder over.</li><li><strong>Living expenses &amp; crime rate<br></strong>Look at the average living expenses in the area. Typically living expenses are lower where the crime rate is higher. Try to balance out those two based on your comfort level. <a href="https://spotcrime.com/map">Here is a website I found that shows crime in USA.</a></li><li><strong>Course duration<br></strong>Some courses are only 1 year long (ex. Meng@cornell). This does not mean you must not take them but you need to know what cons they carry. You’ll have much less time to concentrate on your studies since you’ll start looking for a job as soon as your course begins. Usually, getting an internship is easier than directly getting a job; since your course is 1 year long you won&#39;t get time for an internship (students do internships in the summer, after spending one year at the university).</li><li><strong>University Region<br></strong>Apart from job opportunities, the region also affects your comfort. Some people may like colder regions like Illinois/Michigan, others maybe prefer hotter places like California. Some may prefer living in a city, others may like something more rural. This one is pretty far down on the list for a reason.</li><li><strong>Fun things the university has to offer<br></strong>You are also here to have fun right? So do look into these aspects as well. Personally, this point could be a bit higher on the list but I’ll leave that up to you. Look at clubs, nightlife, beaches, mountains, and all the other things that may want to explore.</li><li><strong>Average student profile<br></strong>This one can be full of personal biases if not done properly so it’s quite hard to get right; hence it&#39;s at the bottom of this list. Look into the past/current batch as well as the individual profiles of students. Apart from LinkedIn(most trustworthy), there are other portals such as <a href="https://www.ymgrad.com/admits_rejects/">YMGrad</a>, <a href="https://admits.fyi/">admits.fyi</a>, <a href="https://www.thegradcafe.com/survey/?per_page=20&amp;q=&amp;institution=&amp;program=Computer+Science&amp;degree=">TheGradCafe</a>, <a href="https://yocket.com/">Yocket</a> where you can look at profiles of admitted students. Be aware that most of these websites are plagued by false reports too, so things that sound too good to be true are probably false. Use your best Judgement!</li></ol><p>These are the things I considered while finalizing the universities that I’d be applying to. Apart from accessing these things on your own, ask seniors, alumni, batchmates, and parents what they think. Most of what I am writing has been gathered through similar sources.</p><p>Note — Divide your list into 3 types of universities ambitious, moderate, and safe (1:2:1 is a good ratio) depending on how likely you are to get in. You can get a rough estimate of your chances by looking at past admits and talking to the students at the university.</p><p>Note#2 —<strong> Do not</strong> select ‘very’ safe universities that you may regret going to after getting an admit. This is a more common mistake than you may think it is. You must be at the very least ‘happy’ if you get an admit from the safest university on your list.</p><p>Note#3 — You probably won&#39;t be able to make a final list of 6–10 universities in the first go, but that&#39;s okay. Take your time, you’ll probably have months to make this decision. Your first iteration may have 20+ universities, just keep iterating over it. I brought mine down from 27 to 10 over the course of 2 months.</p><p>Lastly, for those who’d like to know which universities I applied to, here&#39;s my list.</p><ul><li>Stanford</li><li>UC Berkeley</li><li>Carnegie Mellon University</li><li>University of Illinois, Urbana-Champaign</li><li>UT Austin</li><li>UC San Diego</li><li>University of Maryland, College Park</li><li>NYU Courant</li><li>Georgia Institute of Technology</li><li>University of Southern California</li></ul><p><strong>Financials: <br>43000 (examinations) + 0(university selection)</strong>= 43000 rupees.</p><p>Now that you have a list of universities that you’ll be applying to, we’re at the most important part of your journey; <strong>university applications</strong>!</p><h3>3. University Applications!</h3><p><em>You’ll have a separate application for each university and you can create that by going to that respective university’s webpage and creating an account.<br>Tip — try to keep the email id and password consistent for all universities.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/744/1*DRE8HdR-3Y3iUkCAemTikg.png" /><figcaption><a href="https://www.pinterest.com/pin/382243087104941596/">Credit</a></figcaption></figure><p>Each of your applications will cost you around 70–150$ depending on the university. There are a bunch of things that you’ll need before you send in that application. I’ll try to cover all of them below.</p><h4>Resume</h4><ul><li>Create your resume in Latex. It looks a lot more professional and you can fully customize it. Sure, it takes more effort to make in latex but it’s a one-time investment, and well worth it. Use <a href="https://www.overleaf.com/">overleaf</a>, it&#39;s by far the best platform.</li><li>Your resume must cover the following key points:<br>- Undergrad university (uni. name+degree+CGPA)<br>- Work experience (Internships/FTE)<br>- Research papers (if any)<br>- Technical skills (languages, etc)<br>- Projects<br>- Extracurriculars.</li><li>Limit your resume to a single page. As an exception, you could use a second page but you must really make sure that it’s justified. <br>#NOTE: You do not need to mention all of the internships/ projects/ extracurriculars that you’ve been a part of. Mention only those that are either relevant or recent.</li><li>You can refer to this <a href="https://hwpi.harvard.edu/files/ocs/files/hes-resume-cover-letter-guide.pdf">pdf</a> shared by Harvard for additional tips on how to construct your resume.</li></ul><h4>SOP — Statement of purpose</h4><ul><li>What&#39;s an SOP? — This is the space that the university gives you to convince them why you must be accepted. Your SOP must summarize your journey (mostly undergrad journey) up till this moment and how it has shaped you to be a perfect candidate for higher studies at their university.</li><li>Give yourself ample time to write your SOP. I’ll describe how I wrote it, you should construct your own version. Realistically speaking there are many ways to write a good SOP. <br>#NOTE: You’ll have to write a different SOP for every university so it’s bound to take time.</li><li>I kept my SOP to the point, without any throwbacks to my childhood where I discovered my penchant for CS, simply because that would have been untrue. I started off with my first year in undergrad chronologically up till my third year. I explained how I discovered the field I am in, projects, research, achievements, and lastly why I wanted to get a master&#39;s. This made up for 2/3rd of the SOP. The other 1/3rd part was university specific, as to why I chose that particular university. I discussed their curriculum, the professors, and the work they were doing. Occasionally if I was very familiar with a professor’s work I’d delve into it deeper.</li><li>It’s important to mention a professor or two, whose work you’re interested in, in your SOP. The admissions committee may forward your profile to them for a second opinion, and if you’ve done your research well it will work in your favor.</li><li>Another tip would be, to look for places where you may sound high-handed or boastful. You may not want to do that but English being our 2nd/nth language these things creep in.</li><li>The university usually specifies a limit like a max of 1000 words or 2 pages for the SOP. Also, always use a 12pt font size, you won&#39;t be fooling anyone if you reduce the font size to fit more into those 2 pages.</li></ul><h4>LORs</h4><ul><li>Most universities require at least 2 out of your 3 LORs to be from people in academia. You can ask for one of the letters from your current/past employer.</li><li>Choose people who can really vouch for your skills and are willing to write you a strong LOR. These must be people whom you have worked with, simply being in your professor’s classes wont make up for a great LOR.</li><li>Usually, you just need to enter your recommender&#39;s email at the application portal. The recommender will then receive an email, with a link, where they’ll have to submit the LOR. While doing this you can either waive/not waive your rights to see the LOR. Waiving your rights is probably the best way to do this.</li><li>The LORs need not be on letterhead. A simple plain pdf does the work. Since it’s sent via your professor’s email that in itself is proof of its authenticity.</li><li>Ask your professors/employer well in advance. You must give them time to draft the LOR. They may have other commitments and you don&#39;t want any last-minute delays. Also, make sure to ask the person if they are willing to send LORs to all of the ‘n’ universities. The email your recommenders receive takes them to a portal where they are also asked a few questions in addition to submitting the LOR, so it can become quite time-consuming. If for instance, a recommender is only willing to send the LOR to ≤6 universities, in this case, you will have to find a 4th recommender.</li></ul><h4>PHS — Personal History Statement</h4><ul><li>Not all universities ask for this but this is another text document like your SOP. This one is more about your experiences in life, community work, etc. The university usually mentions clearly what they are looking for in your PHS, so do look into that.</li></ul><h4>Undergrad transcripts</h4><ul><li>Transcripts are different from your mark sheets, although the content more or less remains the same. Each undergrad university has a different process to request transcripts, so you’ll have to enquire about this one at your undergrad’s office.</li><li>You’ll need one copy of your transcripts (take max 2 if still unsure. I took 4 copies, 3 of which are completely useless now). Scan and upload, that&#39;s pretty much it. Your uni will take anywhere from 300 to 1500 INR for each set of transcripts.</li></ul><h4>GRE/TOEFL scores</h4><ul><li>You may remember that after your GRE/TOEFL you gave the names of 4 universities to which you’d like to send the scores. For those universities, you can skip this step.</li><li>For the rest of the universities that you are applying to you’ll have to send them your scores through ETS’s website. You’ll have to select the university and department from a drop-down list and pay the fee for sending it. Sending a score costs about 20–25$.</li><li>The university will receive an email from ETS and within a few days, it’ll show on your portal that the mark sheets have been received.</li></ul><h4>Financial Documents</h4><ul><li>It&#39;s best to confirm this with the particular university but in my experience, this is an optional section in the applications. Everyone I know submitted their financial docs after getting my admit, and only to the university that they decided to go to.</li></ul><h4>Deadlines</h4><ul><li>This is quite basic but look at the deadlines for submitting your application well in advance. There may be different types of deadlines line early-admission deadline.</li><li>Also, look into scholarship programs at the university. Sometimes to be eligible for consideration in these programs you’ll have to submit your application at an earlier date. In some cases, you may also need to submit an additional separate application. Stanford’s <a href="https://knight-hennessy.stanford.edu/">Knight Hennessy Scholars</a> program is a good example of the same.</li></ul><h4>Financials<strong>:</strong></h4><p>I’ve added all the costs for sending GRE &amp; TOEFL scores as well as the university application cost for all the universities. For the 10 universities that I chose, the total came up to 1,03,000 INR. <br>Hence on an average of 10,000/university.</p><p><strong>TOTAL: 43000 (examinations) + 1,03,000 (Applications) + 2400 (Transcripts)<br></strong>= 1,48,400 INR.</p><h3>4. The eternal waiting period</h3><p><em>So it’s presumably somewhere around Jan-Feb-March and you can’t wait for the decisions to roll out. You are probably spending most of your free time on </em><a href="https://www.reddit.com/r/gradadmissions"><em>Reddit</em></a><em> and </em><a href="https://www.thegradcafe.com/survey/?per_page=20&amp;q=&amp;institution=&amp;program=&amp;degree=Masters&amp;season=F22"><em>Gradcafe</em></a><em>. While you do that, here are some things you should keep in mind…</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ai3UADhqR8-ntFIyCkNcpQ.jpeg" /><figcaption><a href="https://miro.medium.com/max/1400/1*_W7Ggb7Zc4TCXvI8K9rZtw.jpeg">credit</a></figcaption></figure><ul><li>Even if you’ve received 5 rejects and no admits, wait, many students reject university offers towards the end and you may get an offer late in the process.</li><li>It is not rare to receive a rejection from a safe university and an acceptance from an ambitious/moderate one.</li><li>On the flip side, even if you receive an admit from a great university wait for all of the decisions to roll out. You may get a better offer. In case you need time to think beyond the university’s deadline, you can mail them requesting a decision deadline extension. They may give out quite generous extensions of up to one additional month.</li><li>Once you decide which university you are going to you may have to pay a ‘seat confirmation fee’. This amount may range from 0$ to 1000$. Although this amount is later subtracted from your tuition fee, I’m mentioning this so you can allocate funds for this in advance.</li></ul><h4>Financials:</h4><p><strong>TOTAL: 43000 (examinations) + 1,03,000 (Applications) + 2400 (Transcripts) + 0 (it only cost you your sleep)<br></strong>= 1,48,400 INR.</p><h3>5. VISA</h3><p><em>Congratulations! You have just jumped over the biggest hurdle. Now on to getting your VISA approved.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/570/1*iITKlxjHuGQv3n8_Ho0Cow.png" /><figcaption><a href="https://collegepond.com/apply-for-a-us-visa/">Credit</a></figcaption></figure><blockquote>At this point, the first thing you need to do is join the official groups of your university. Check your emails. Also look for the unofficial groups, usually these are significantly more active. As Indians usually prefer communicating on Whatsapp, you’re more likely to get your India specific doubts solved there.</blockquote><blockquote>Many people remain unaware of unofficial groups till the end, so try to be a bit extroverted initially. Talk to people on Reddit, Slack, Facebook, etc!</blockquote><h4>I20</h4><ul><li>This is probably the first thing that you need to get done. An i20 is the document that your university will give you once you have proven financial capability for pursuing a Masters in the US.</li><li>How this is done? — you’ll either receive an email or your application portal will ask you to upload the financials docs. Additionally, there may also be a separate form where you will have to fill up the names and general info. of your sponsors.</li><li>The university will give you an estimate of yearly costs which will cover tuition, living expenses, books and a few other miscellaneous things. You’ll need to show liquid funds worth slightly greater than this amount to the university. (If you are funded then the amount gets reduced accordingly)</li><li>What are liquid funds? — Fixed deposits, savings accounts, mutual funds, stocks, and the withdrawable amount in PF(usually 50% of the total amt), all count as liquid funds. Gold does not count, it&#39;s semi-liquid.</li><li>To match the i20 amount you can show multiple sponsors and multiple bank accounts (within reason).</li><li>NOTE — Although you are showing only liquid funds right now, you can still use any other funds during your Masters.</li><li>For savings accounts, a bank statement may not work. You need to get a letter from the bank where the account holder&#39;s name, closing balance, and that the funds are withdrawable at any time are mentioned on a letterhead. Same for FDs.</li><li>For mutual funds and stocks, you can just submit the report which your broker provides you. For PF, you can get a letter from the organization stating the holder’s name, balance, and that amount of funds are withdrawable at any time.</li><li>Once you have all your documents make a single pdf out of them. Scan, upload, and wait. If the documents are approved, you’ll have your i20 in 2 to 30 days depending on the university and how busy they are.</li></ul><h4>Education Loan (optional)</h4><ul><li>I’ve intentionally placed this point before you begin the Visa process. For those who will be taking an education loan, you’ll need to get the <em>sanction letter</em> from the bank at least a few days before your VISA interview. The reason being, for financial eligibility during VISA you’ll have to show 2x the i20 amount during the Visa interview (2x because these are the funds you’ll need throughout your 2 years in Masters).</li><li>Unlike during your i20, here you are also allowed to show semi-liquid funds in addition to liquid funds. What this means is stuff like gold and loan sanction letters are permitted. Gold can also be shown in your sponsor’s name.</li><li>Since most students take an education loan of 40–60 lakh rupees, it can cover a big share of the amount you need to show if you get the sanction letter before your interview.</li><li>There are many institutions that provide loans for students:-<br>- Government banks: Govt. banks operate transparently and have the lowest interest rates in the country(8.5%–9.5%). On the flip side, the sanctioning process may be quite long and tedious compared to private sector banks. Even the loan disbursement may be equally long and tedious. Additionally, you may only get a loan worth 7 lakh INR without collateral.<br>- Private sector banks/institutions: These banks may have hidden charges that are revealed later on in the process, as well as higher interest rates(10%–12%). On the flip side, the user experience is very good and the processes are quite streamlined. You may also be able to get significantly higher loans without collateral.</li><li>Given this information, you can compare specific banks/institutions and decide what&#39;s best for you. Some of the most preferred ones are:<br>- State bank of India<br>- Bank of Baroda<br>- HDFC<br>- ICICI<br>- Axis Bank<br>- Prodigy Finance</li><li>#NOTE — You can negotiate the interest rates with banks. There are cases where some have managed to get a lower interest rate from the same bank.</li><li>#NOTE 2— Although I did take an education loan, I will only include the amount I had to pay the bank as upfront charges (processing fee, etc). In my case, that fee was around 50,000 INR.</li><li>#NOTE 3: Buying insurance gives you a lower interest rate as well as ensures that no one has to bear the burden of your loan in case of untimely death.</li></ul><h4>DS-160</h4><ul><li>This is the non-immigrant visa application form. It’s one of the forms you’ll need to fill out before your visa interview &amp; slot booking. <a href="http://Visa slot booking Visa approval">Here&#39;s the link to the website where it is to be filled out</a>.</li><li>When you first create an application, an application ID will be assigned to you and you’ll be asked to set a security question. Make sure to save both of these things somewhere. You’ll need these two things to retrieve and continue filling out your form, in case you take a break mid-way.</li><li>The DS-160 is a very comprehensive form and also the most important as far as your visa is concerned. So make sure to cross-check all of the entered details. Things like the name on your passport not matching what you entered in your DS-160 are common mistakes. As a rule of thumb always follow the details on your passport on every form.</li><li>You don&#39;t need to pay anything for this application. Simply fill it out and submit it. Make sure to save the confirmation letter after submission. You’ll need this at the time of your visa interview.</li></ul><h4>Sevis fee</h4><ul><li>This is another form you need to fill in before your visa interview. <a href="https://www.fmjfee.com/i901fee/index.html">Here’s the link to the website.</a></li><li>This is a much smaller form, mainly for the purpose of paying a 350$ fee (28000 INR). The primary thing you’ll need is the sevis ID number mentioned on your i20.</li></ul><h4>Visa slot booking</h4><ul><li>This is a tricky one. Since there are so many students trying to book visa slots, most of them fill up as soon as they appear on the website. There are chrome extensions, and Telegram/Whatsapp groups that monitor when slots are released. You can join these groups to be a part of fastest finger first.</li><li>Before you start looking for slots you have to create an account, fill out basic profile information, and pay a 12800 INR VISA application fee. <a href="https://www.ustraveldocs.com/ee/ee-niv-waittimeinfo.asp">Here’s the link to the VISA website.</a></li><li>Since they take your passport for stamping purposes immediately after the VISA interview(if the visa is approved that is), they’ll also have to deliver it to you (in around a week). So, when filling out your VISA application you can opt-in for premium home delivery or delivery to their local center in your home city(the address is mentioned on the website). Premium delivery costs you an additional 800INR.</li><li>#NOTE: Usually, people opt for local center delivery, as it&#39;s allegedly quicker. But, I opted for the premium home delivery (mostly because I was unaware), and my passport was delivered 2 days after my interview.</li><li>You have to book 2 slots, and for successfully booking a Visa appointment you’ll need to book both of them in one go. The first slot is for your biometrics — they take your fingerprints and verify. basic docs. The second slot is for your actual visa interview where you’ll face the officers.</li><li>The biometrics and interviews happen on different days. First, you’ll have to get your biometrics done. After ≥1 day you’ll have your visa interview. Although both of these happen in under a minute, there are a lot of people and you’ll spend around half an hour waiting in lines.</li><li>Biometrics and interviews are done at the US embassy and hence you’ll have to travel to either of the following places for your Visa — Mumbai, Hyderabad, Delhi, or Chennai. You can choose any place as long as you can reach there on time. <br>#NOTE: I live in Maharashtra and had to go to Chennai for my VISA, as I couldn&#39;t afford to wait any longer.</li><li>For your VISA, on both days, there are 5 documents that you absolutely NEED to take with you:-<br>- i20(signed by you)<br>- DS-160 confirmation receipt<br>- Sevis fee payment receipt<br>- Latest Passport (must be valid for at least the next 6 months)<br>- Visa interview appointment letter.</li></ul><h4>Visa Interview</h4><ul><li>For your biometrics, you’ll only need the 5 documents mentioned above, but for the Visa interview, you’ll have to carry financial proof documents as well.</li><li>As you may remember, for your i20 you had shown proof of financials by showing liquid funds equivalent to the amount mentioned on your i20(i.e. for 1-year of study abroad). For your VISA you’ll have to show proof of funds for the whole course of study, i.e. 2 years. So this amount will be 2x the total amount mentioned on your i20.</li><li>Now how will you arrange for such a huge sum of money? — for your VISA interview you can show semi-liquid funds in addition to purely liquid funds. What this means is stuff like education loan sanction letters and gold are allowed. Gold can be shown even in your sponsor’s name. <br>#NOTE: property doesn&#39;t qualify as proof of funding.</li><li>Considering all of these things you’ll have a lot of documents to manage, hence it&#39;s best to buy a <a href="https://www.amazon.in/Generic-Harmonium-Folder-File/dp/B07Y6NSBVK">harmonium file</a> for proper organization. Print all of the documents mentioned, as no devices are allowed inside the consulate. Then arrange them as follows:-</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/699/1*8eO5XetfpSeUg-JXyV7mxg.jpeg" /><figcaption>The documents apply to you as well as your sponsors. Ex — get the ITR of your sponsors too.)</figcaption></figure><ul><li>How will the VISA interview be conducted? — reach the center 1/2 hour before the scheduled time. Carry only the harmonium file with you, leave everything else with the person accompanying you. In case no one is accompanying you, you can easily get a locker for 50–100 INR inside the consulate. (I went alone and it’s really not an issue.)</li><li>Next, you’ll be asked to stand in a few lines, and sit in some, but what matters is you’ll end up in front of the VISA officer in 20 minutes or so. The officer will take your interview and do one final check before approving your VISA. <br>They may ask you questions like:-<br><em>- Why the USA?<br>- Which Universities did you apply to?<br>- Why this university?<br>- Who is sponsoring you?<br>- What does your sponsor do?<br>- Annual income of the sponsor?<br>- How are you going to show your funds?<br>- How many acceptances and rejections did you get?<br>- Tell me something about the university you have finalized?<br>- Tell me something about your course?<br>- What subjects and how many credits do you plan to take in 1st sem?</em></li><li>Given you’ve done all of the previous steps, you will know the answers to most of these questions. My only advice would be to stay confident, answer truthfully &amp; answer precisely.</li><li>If all goes well your interview will last &lt;1 minute, they’ll take your passport and you’ll have your passport along with the Visa in the next few days.</li><li>#NOTE — In case they reject your VISA, you’ll be handed your passport and given a slip. You can reevaluate your profile and reapply for another VISA interview after 15 days or more. You&#39;ll have to pay the 12,800 INR Visa fee again and rebook slots in this case.</li></ul><p>Here is a <a href="https://drive.google.com/file/d/1IRGV2V_wQFF8KcksPy4mbgRkyDT_QxkP/view?usp=sharing">document</a> that will help you navigate all of the forms included in this step, step-by-step. It has a bunch of screenshots so that you don’t feel lost anywhere.</p><h4>Financials:</h4><p><strong>TOTAL: 43,000 (examinations) + 1,05,400 (Applications) + 50,000 (Edu loan processing fee) + 28,000 (Sevis fee) + 12,800 (Visa application fee)<br></strong>= 2,39,200 INR.</p><h3>6. University Requirements</h3><p><em>That was the last hurdle. Nothing can stop you from going to the US now! But you do have other things that you’ll have to set up before you leave.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CSNlH5jZoBKx6g81w0iSgg.jpeg" /><figcaption>Japanese garden, UIUC</figcaption></figure><h4>Claim uni email id &amp; others</h4><ul><li>At this point, you must have received an email from your university to set up your .edu email. Get that set up first so that you start getting emails for things you need to do before your leave.</li><li>Apart from that, there can be other things that you’ll have to set up like Teams accounts, and Slack channels. Keep a look out for these things, either way, they’ll find you even if you don&#39;t if you don&#39;t.</li></ul><h4>Medical Requirements</h4><ul><li>Check for any emails you’ve received regarding medical requirements. There are often clauses like ‘take these 2 doses 1 month apart’, so these things need to be looked at in advance.</li><li>For UIUC, I had to do 3 things. <br>- Get a physician’s form filled out by a doctor. It had a list of compulsory and recommended doses. <br>- Submit a TB-Gold Quantiferon test.<br>- 2 covid vaccines + 1 booster</li><li>For the physician’s form, I had to take an MMR and the dose. That cost around 1000 INR. The TB-Gold test cost 1500 INR.</li></ul><h4>RA/TA applications (optional)</h4><ul><li>If you haven&#39;t already been assigned an RA/TA, depending on your university, you may be asked to fill out a form for these roles. If that&#39;s not the case then you can approach professors on your own.</li><li>Since you have an official university email id now, professors are more likely to respond and take your application into consideration. A simple cover letter, transcripts, and your resume should do in most cases.</li></ul><h4>Submitting transcripts and other academic credentials</h4><ul><li>You’ll have to submit your transcripts to the university once again. Unlike during your applications, this time in a sealed envelope as proof of its authenticity.</li><li>Your university may also accept transcripts via email if your undergrad university has that service.</li><li>#NOTE:- This time around you’ll need to submit transcripts for all 4 years(8 semesters) of undergrad. During applications the universities allow you to submit for up to 6 semesters since some people apply in their 3rd year.</li><li>In addition to your transcripts, you may also need to physically go and show your degree certificate and mark sheets, once you are at the university.</li></ul><h4>Selecting courses (1st semester)</h4><ul><li>Some universities ask students to choose courses for the first semester after arriving at the university, while some ask students to choose before arrival.</li><li>It’s often the case that some courses will be in more demand than others, hence the seats will get filled up quickly for those ones. Moral of the story, keep an eye out for emails and register for courses as soon as possible. <br>#NOTE: You can change courses later if you change your mind.</li></ul><h4>Financials:</h4><p><strong>TOTAL: 43,000 (examinations) + 1,05,400 (Applications) + 50,000 (Edu loan) + 40,800(Visa) + 2500(Medical Requirements)<br></strong>= 2,41,700 INR.</p><h3>7. Personal preparation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/599/1*vdzKChQuIRdQrk9qjF8xfA.jpeg" /><figcaption><a href="https://www.pinterest.com/pin/college-student-leaving-parents-art-print-by-carolita-johnson-in-2022--1001558404606360696/">Credit</a></figcaption></figure><h4>Flight booking, luggage restrictions, and student discounts</h4><ul><li>After your Visa gets approved this is the first thing that you must do. The later you book your flight tickets the higher the cost. <br>#NOTE — you can book a flight ticket to the US without a visa, but this comes with some amount of risk in case your Visa gets rejected.</li><li>Flight tickets from India to the US will cost you anywhere from 60,000 INR to 1,20,000 INR (Economy seat), depending on how early you book, flight duration, no. of stopovers, destination, and amount various other factors. My flight cost me 95,000 INR. Here is a <a href="https://drive.google.com/file/d/1i2fnqpDTHlt6WO2n7pyzWMkcc_GYI1k8/view?usp=sharing">document</a>, created by students, that compares various airlines.</li><li>Also, check where the immigration is done for the flights. Sometimes immigration happens at your stopover (for ex. Abu Dhabi), and some people may prefer getting immigration out of the way while they wait for their next flight.</li><li>Most airlines have student discounts or student club memberships. So you’re bound to get some discount. In addition to a discount being a student may also get you some extra luggage allowance. Typically flights allow 2x23kg kgs for check-in luggage, but some airlines like Etihad and Emirates allow students to carry 3 (3x23kg) check-in bags instead of 2. So do look out for such offers, more luggage is always good.</li><li>#NOTE: For economy tickets, each bag needs to weigh under 23kg. (there may also be dimension limits, check with the airline.)</li><li>#NOTE 2: You can get the flight tickets reimbursed from your education loan provider.</li></ul><h4>Housing</h4><ul><li>There are 2 options. You can choose university housing, which is usually more expensive or you can go for off-campus housing services. The term ‘off-campus’ can be misleading, off-campus doesn&#39;t mean these are outside the campus, in fact, they can be closer to your classes than university housing in some cases. ‘off-campus’ means that the university has nothing to do with these apartments.</li><li>Housing is another aspect that will take a lot of effort, especially if you are looking for roommates. You may have preferences, people may have their preferences; it gets exhausting easily. Things like dietary preferences(vegan/veg/non-veg), smoking, alcohol, and gender. Ask around on those slack/WhatsApp/Facebook groups.</li><li>Looking for apartments — If you have chosen university housing, you probably won&#39;t have to do a thing, they’ll take care of this step. For the off-campus housing folks, some things that people look for in apartments are:<br>- Crime rate in the neighboring area.<br>- Individuals/room<br>- Monthly rent, utility fee<br>- Parking (if needed)<br>- Amenities (gym, etc)<br>- Washer &amp; dryer (if its inside the house or common)<br>- Carpets<br>- Average room area (sqft)<br>- Air conditioning (heating &amp; cooling)<br>- Apartment orientation (sunlight, etc)<br>- If TV, microwave, beds, tables, sofa, etc are included<br>- Distance from your Department buildings<br>- Is the apartment recently renovated?<br>- Property Manager and quality of service</li><li>Admin fee or deposit? Which one to choose? — At the time of signing your lease, you’ll be asked to choose between an admin fee or a deposit. If you take the admin fee they waive off registration charges and a cleaning fee (which was 70$ in my case). But the admin fee is non-refundable.<br>The deposit is completely refunded when you move out (unless you cause any damages) but you’ll have to pay the 70$ in this case. Admin fee for me was around 250$ and the deposit was 350$. You can choose one depending on your situation.</li><li>You can enquire about all of these things with the property manager. You can also ask for video tours of the apartments. Usually, property managers have websites where all of the apartments and information are mentioned. Ask your seniors. For UIUC we have <a href="https://www.smilestudentliving.com/">Smile student living</a> among many others.</li></ul><h4>Forex card &amp; USD cash</h4><ul><li>A forex card is useful for carrying money for the first few days when you reach the USA. After reaching you&#39;ll have to open a US Bank account and get a permanent debit/credit card.</li><li>You can get a forex card from any of the Indian banks. Banks charge a percentage/amount for every transaction and atm withdrawal. They will also take additional money by taking a few rupees above the current exchange rate, i.e. they may give you 1 USD for 81 INR, even if the exchange rate is 79 INR per USD. You’ll have to enquire and compare cards on your own.</li><li>You can also get a forex card from <a href="https://www.goniyo.com/">Niyo</a>, it&#39;s a private company that gives out forex cards. It will give you some of the best conversion rates and no transaction fee will be levied.</li><li>Another company catered towards international students is <a href="https://zolve.com/">Zolve</a>. Usually, you need an SSN to open a US banking account, but Zolve allows you to do that without an SSN. You can open a US banking account and also get a credit/debit card from them before you leave. In addition to this you’ll also get a sim card from them. I personally liked Zolve.</li><li>p.s. Not endorsing Zolve/Niyo in any way. These are the only companies I know apart from traditional banks. Since these are relatively new there may be more risk involved. Students have successfully used both types of cards so it&#39;s up to you really.</li><li>What about Cash? — You can get rupees converted to USD at your local bank for some minimal charges. For your flight, you are allowed to carry up to 3,000$ as a student (as of Aug 2022). <br>#NOTE: You can use your forex card in most places.</li></ul><h4>Sim card</h4><ul><li>You can get a sim card from Zolve. As of Aug 2022, they give you the first month free afaik. Apart from Zolve, there are companies like <a href="https://www.matrix.in/">matrix sim card</a>, <a href="https://www.lycamobile.us/">lyca mobile</a> which deliver international pre-paid sim cards to your doorstep. You can also change your current plan to an international one.</li><li>You can also buy a temporary pre-paid sim card at the airport once you land.</li><li>After landing choose your permanent sim card based on how good its connectivity is in your area. Common providers are Verizon and T-Mobile. You know this drill, I’ll just move on.</li></ul><h4>General shopping</h4><ul><li>There will be a lot of things you need to buy or arrange for. Fortunately, there are some very comprehensive lists created by students to help you out with this.</li><li>Everything that you will have to pack and may need in the US is covered here:<br>- <a href="https://drive.google.com/file/d/1OIK7BXMEzwhJyd78PQyE_0WgDx4u2wT_/view?usp=sharing">List 1</a><br>- <a href="https://drive.google.com/file/d/1O9JxWQC5EZZFHeFkPilkgLBjP53ThkqN/view?usp=sharing">List 2</a></li></ul><h4>Dentists, ear doctors.</h4><ul><li>It’s best to get checked up at your local dentist and ear doctor before leaving. Medical is very expensive in the US.</li><li>Additionally, many students take prescriptions &amp; medicines from their local doctor, for common diseases like cough, cold, fever, etc.</li></ul><h4>Financials:</h4><p><strong>TOTAL: 43,000 (examinations) + 1,05,400 (Applications) + 50,000 (Edu loan) + 40,800(Visa) + 2500(Medical Requirements) + 95,000 (flight) + 20,300(apartment admin fee) <br></strong>= 3,57,000 INR.</p><p>So this is how you’ll end up spending close to 3.5 lakhs before you even leave for the US! 🎃</p><p>I started writing this article, last year on 10th August 2021. What were the odds of me flying out on the same exact day this year (10/08/22)?</p><p>Please applaud the article if it served you in any way!</p><p>For now, ┏( ◣︡ ͜ʖ ◢︠ )┛</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=923b456c0560" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>