<?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 Irshad Muhammad on Medium]]></title>
        <description><![CDATA[Stories by Irshad Muhammad on Medium]]></description>
        <link>https://medium.com/@irshaduetian?source=rss-d6d1a1a6310f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*TY8txlecaeSqolv5.</url>
            <title>Stories by Irshad Muhammad on Medium</title>
            <link>https://medium.com/@irshaduetian?source=rss-d6d1a1a6310f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 01:41:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@irshaduetian/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[Decrypting Obfuscated .NET Malware Strings Using de4dot Emulation.]]></title>
            <link>https://medium.com/@irshaduetian/decrypting-obfuscated-net-malware-strings-using-de4dot-emulation-6614c5a03dab?source=rss-d6d1a1a6310f------2</link>
            <guid isPermaLink="false">https://medium.com/p/6614c5a03dab</guid>
            <category><![CDATA[malware-analysis]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[malware]]></category>
            <dc:creator><![CDATA[Irshad Muhammad]]></dc:creator>
            <pubDate>Wed, 11 Dec 2019 17:00:27 GMT</pubDate>
            <atom:updated>2019-12-11T17:00:27.906Z</atom:updated>
            <content:encoded><![CDATA[<h3>Decrypting Obfuscated .NET Malware Strings Using de4dot Emulation.</h3><p>Recently, I came across a highly obfuscated piece of .NET malware. While going through the code I found a lot of references to function &lt;Module&gt;.\u206A as shown in Figure 1.</p><figure><img alt="Figure:1" src="https://cdn-images-1.medium.com/max/759/1*t9bYxH0L9ZnUB_OcNG3CLw.png" /><figcaption>Figure 1</figcaption></figure><p>Taking a look a the definition of the function, shown below, shows that it takes an integer as input and returns a string. So obfuscator uses this function to decode strings at run time. Notice the token identifier of the function 0x060000002 we will need this while decrypting strings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/1*vT3H8IBLA13z2f61tEvk1A.png" /><figcaption>Figure 2</figcaption></figure><p>Now switch to the command line and issue the following commands</p><pre>$ de4dot.exe 1.exe --strtyp emulate --strtok 0x06000002</pre><p>--strtok is the token of string decrypting function we identified above. If malware uses more than one functions to decrypt string, you can specify all of them like this</p><pre>de4dot file1.dll --strtyp delegate --strtok 06012345 --strtok 060ABCDE</pre><p>where --strtyp is the type of string decryptor to use. de4dot supports the following</p><pre>String decrypter types</pre><pre>none     Don&#39;t decrypt strings<br>default  Use default string decrypter type (usually static)<br>static   Use static string decrypter if available<br>delegate Use a delegate to call the real string decrypter<br>emulate  Call real string decrypter and emulate certain instructions</pre><p>if one doesn’t work, try to use another. Here is output when we run the command for our malware.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/805/1*Mnd0jCp-BNIdqhUUFmTlfQ.png" /><figcaption>Figure 3</figcaption></figure><p>We can ignore the errors.</p><p>Here is the same function that is shown in Figure 1 after string decryption.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/855/1*cedmP6dRQ5P04sbFfK-1Pg.png" /><figcaption>Figure 4</figcaption></figure><p>Turns out this malware is browser credential stealer. This particular piece of malware is AgentTesla. A great writeup of malware by Cisco is available <a href="https://blog.talosintelligence.com/2019/11/custom-dropper-hide-and-seek.html">here.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6614c5a03dab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Defining a Data Science problem]]></title>
            <link>https://medium.com/@irshaduetian/defining-a-data-science-problem-28c21d817c0b?source=rss-d6d1a1a6310f------2</link>
            <guid isPermaLink="false">https://medium.com/p/28c21d817c0b</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-analysis]]></category>
            <dc:creator><![CDATA[Irshad Muhammad]]></dc:creator>
            <pubDate>Mon, 12 Feb 2018 13:55:37 GMT</pubDate>
            <atom:updated>2018-02-12T15:32:35.172Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*zPiik9vlW_G7GU9bTjxhJQ.jpeg" /></figure><p><em>This topic was covered in last week </em><a href="https://www.youtube.com/channel/UC5c7r0SlnNmPfqxEyni71FA"><em>Data Science Office hours session</em></a><em>.</em></p><p>Defining a Data Science problem is one of the most important parts of DS(Data Science) pipe line. Below are the important points that will help you to get this part right.</p><h4>In Detail Discussion With Your Client</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*O5hch90u3A8xwsl9LjpPMA.jpeg" /></figure><p>Have a detailed discussion with your client. Try to understand the problem from their point of view. Ask questions about the problem from different angles. Sometimes, you will find that client himself don’t understand the problem well enough. In such cases, you will need to work with your client to come up with a definition of the problem that is acceptable to both of you.</p><h4><strong>Define Scope of DS Team</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*geU-IT12ee40LOCzh7tnzQ.jpeg" /></figure><p>Not every problem related to data is a Data Science problem. If your company doesn’t have a clear definition of responsibilities of Data Science Team, figuring that out should be your first preference. A good thumb rule is</p><p>“<strong><em>If a problem can be solved in Excel, you don’t need a Data Scientist to handle i</em>t.</strong>”</p><h4><strong>Measurable Parameter of Progress</strong></h4><p>Once you have understood the problem, next step should be defining and agreeing on a measurable parameter of progress with your client. In long run, it will save you from a lot of problems.</p><h4>Set up Pipeline to Acquire Right Data</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*DeOJw0zvyC9a8fngcfPTzw.jpeg" /></figure><p>Most of the time your client will not have sufficient or right data to solve the problem. In such cases, you will first work with your client to set up a pipeline to acquire the right data.</p><h4><strong>Regular Communication with Client</strong></h4><p>Regular communication with your client is very helpful to define a DS problem, to update them about your progress, and get their feedback. Problem definition can change as you progress in your project, so staying in touch with stakeholders is vital.</p><h4>Documentation</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*yJ5TnmBJbdXVAXUd7c49QA@2x.png" /></figure><p>Prepare a sound documentation of the whole process that led to the clear definition of Data Science problem i.e. questions you asked, progress criteria, deadlines etc.</p><h4>Understand the Business</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/535/1*jwwjDKZ_0bD3tMFCU5WO5w.jpeg" /></figure><p>Understand the business model of your client and prepare a plan of action accordingly. This will save you from spending too much time on a problem that provides less value to your client’s business.</p><h4>Sell Yourself to Your Company</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qflJfK8BDPliJjBaV8WQ4Q.jpeg" /></figure><p>Being a Data Scientist, it is your responsibility to show your company that how investing in new tools and techniques can increase productivity.</p><p>Having a clear definition of Data Science Problem will make sure that you and your client are on the same page. It will help you allocate you resources efficiently and provide more value to your client’s business.</p><h4>References:</h4><ul><li><a href="https://medium.com/u/e8ec6fa4d7d4">Favio Vázquez</a> <a href="https://www.linkedin.com/feed/update/urn:li:activity:6367380860731219968">Important Points notes on Linke</a>dIn</li><li><a href="https://www.youtube.com/watch?v=iGSTiEcnyp8">Session Video</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=28c21d817c0b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kaggle Planet Competition: How to land in top 4%]]></title>
            <link>https://medium.com/data-science/kaggle-planet-competition-how-to-land-in-top-4-a679ff0013ba?source=rss-d6d1a1a6310f------2</link>
            <guid isPermaLink="false">https://medium.com/p/a679ff0013ba</guid>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[kaggle]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Irshad Muhammad]]></dc:creator>
            <pubDate>Sun, 14 Jan 2018 07:46:15 GMT</pubDate>
            <atom:updated>2018-02-12T13:51:37.503Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eWPDDgBx_h4IFpk7bBQIhw.png" /></figure><p>In this blog post, we will learn how can we achieve world class result in one of the famous Kaggle competition “<a href="https://www.kaggle.com/c/planet-understanding-the-amazon-from-space">Planet: Understanding the Amazon from Space</a>”.</p><p><em>Techniques used in the blog are generic and can be applied to any other problem that requires Object Detection. All of these techniques are taught in </em><a href="http://forums.fast.ai/t/unofficial-release-of-part-1-v2/9285"><strong><em>fast.ai Deeplearning MOOC</em></strong></a><em>. In this tutorial we will be using </em><a href="https://github.com/fastai/fastai"><em>fastai</em></a><em> deeplearning library, which is built on top of PyTorch.</em></p><h3>Downloading the competition data</h3><p>let’s get started, login to Kaggle account, head over to <a href="https://www.kaggle.com/c/planet-understanding-the-amazon-from-space">competition page</a>, and accept the rules of competition, go to <em>Data</em> tab and download the following files.</p><ul><li><em>sample_submission_v2.csv.zip</em></li><li><em>test-jpg-additional.tar.7z</em></li><li><em>test-jpg.tar.7z</em></li><li><em>train-jpg.tar.7z</em></li><li><em>train_v2.csv.zip</em></li></ul><p>We can download the files using <strong><em>k</em></strong><a href="https://github.com/floydwch/kaggle-cli"><strong><em>aggle-cl</em></strong></a><strong><em>i</em></strong>, it is useful when you are using cloud VM instance such AWS, Paperspace. To download files using <strong><em>kaggle-cli </em></strong>use the following command.</p><pre>$ kg download -u &lt;username&gt; -p &lt;password&gt; -c planet-understanding-the-amazon-from-space -f &lt;name of file&gt;</pre><p>where planet-understanding-the-amazon-from-space is name of the competition, you can find the name of competition at end of URL of competition after /c/ part, <a href="https://www.kaggle.com/c/planet-understanding-the-amazon-from-space">https://www.kaggle.com/c/planet-understanding-the-amazon-from-spac</a>e . There is also another great Chrome extension<em> </em><strong><em>Curl Widget</em></strong> to download data on cloud instances. You can check it out <a href="http://Builds a command line for &#39;curl/wget&#39; tools to enable the download of data on a console only session.">here</a>.</p><p>Once the file download is complete, we can extract the files using following commands.</p><pre>#To extract .7z files<br>7z x -so &lt;file_name&gt;.7z | tar xf -</pre><pre>#To extract.zip files<br>unzip &lt;file_name&gt;.zip</pre><p>once the extraction is complete, move all of files from folder test-jpg-additional to test-jpg.</p><p>Our data is ready. Let start building the model.</p><h3>Initial Model</h3><p><em>Note: Only important snippet of code shown in this blogpost, full notebook is available </em><a href="https://github.com/irshadqemu/Kaggle-Competitions/blob/master/Planet_amazon_resnet34.ipynb"><em>here</em></a><em>.</em></p><ul><li>If you read the evaluation criteria of the competition, you will know it is based on <a href="https://clusteval.sdu.dk/1/clustering_quality_measures/5">f2 score</a>. we define metrics for the model accordingly. We will be using pre-trained implementation of Deep Residual model <strong>renet34</strong> which was <a href="https://arxiv.org/pdf/1512.03385.pdf">made public by Microsoft</a>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/906/1*FXDETSJm1VF7qOd6QTehhw.png" /></figure><p>Get 20% of the available training data as validation data, and load the pre-trained model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3jVEyvJ1_m9eX3EBP0QgIw.png" /></figure><h4>Finding the Learning Rate</h4><p>Learning rate(LR) is one of the most important hyper parameter of the model. It determines how fast or slow the model will learn.If LR is too high, model will try to learn too fast and loss function will not converge. If LR is very too low the model will take too long to converge.</p><p>Finding a good learning rate using fastai library is very easy, just run the following two lines of code. (<em>it helps in finding LR using a techniques introduced in research-paper </em><a href="https://arxiv.org/abs/1608.03983"><em>Cyclical Learning Rates for Training Neural Networks</em></a>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/339/1*AWpz-ruplxN1PsCwh1LsZQ.png" /></figure><p>This will plot a graph of LR against loss function. A good value for LR will be where the slop of the loss function is highest. As we can see slope is highest around 0.1, you can use any value close to it. It would be a good idea to experiment with a few values around 0.1 to find the optimal value for LR. After experimenting with a few values, 0.2 seemed to work best for me.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/730/1*rzlllHN5l7dQcufHk9RliA.png" /></figure><h4>Training the model</h4><p>Total size of chips in competition is 256X256, we start training our model with 64x64 and will <em>gradually increase the size of image as training progress</em>. This is a very good technique to avoid over-fitting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*md0v7M1fXL_BPasDT2ERZw.png" /></figure><p>Output has the following format</p><p>[ &lt;epoch_number&gt; &lt;train loss&gt; &lt;val loss&gt; &lt;val set f2 score&gt;]</p><p>Let’s try to understated the fit function. When training the model <em>fastai </em>implements a technique called <em>stochastic gradient descent with restarts (SGDR)(</em><a href="https://arxiv.org/abs/1608.03983"><em>paper link</em></a><em>).</em> It trains model in cycles where each cycle consists of one or more epochs. For each cycle, it starts with given LR value and will exponentially decrease the LR (<em>Exponential learning rate schedule</em> ) as the training progress. Second parameter in fit denotes the total number of cycles. Total number of epochs in a cycle are controlled by 2 parameter cycle_len and cycle_mult as follows.</p><p>epochs in first cycle = cycle_len <br>epochs in second cycle = epochs in previous(first) cycle x cycle_mult<br>epochs in third cycle = epochs in previous(second) cycle x cycle_mult<br>Here is the graph that shows change in LR for each cycle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*d5QmE_tv4jtm7jrgVasTWQ.png" /></figure><p><strong>Unfreezing all of layers and setting different learning rates for layers</strong></p><p>By default the fastai will freeze the weights of all of the layers except a few last layers and the ones that it adds to fine-tune the model for given dataset. (<em>Data scientist with background in Keras will appreciate this, no need for </em><em>model.pop, </em><em>model.add, </em><em>model.layers[index].trainable=False </em><em>model.compile</em>…)</p><p>So in above epochs all of learning is done by those unfrozen last layers.<br>Next, we will unfreeze the weights of all of the layers to get more accuracy out of our model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tjz55Yvqn8-vwCLLj9s9qQ.png" /></figure><p>If you give an array of 3 elements to <em>fastai</em>, it will divide the layers into 3 sets, [&lt;initial convolution layers&gt;, &lt;remaining convolution layers&gt;, &lt;last fully connected layers&gt;] . For each set, it will use the corresponding value from array.</p><p>In a CNN initial layers learn to find simple features (like an edge, color gradient, corners) and these features will be equally helpful for for planet data set. So, we are using the lowest LR for them. Higher layers in CNN learns to find complex features (like geometrical patterns, faces, specific objects, etc). An increased value of LR for higher layers would help them to adapt more rapidly to given data set.</p><p>As you can see from output, our model has started to over-fit. I will stop the training here and increase the training image size to 128x128.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*l4wjRSfEyktPsT7R3eZ5rg.png" /></figure><p>Similarly, train the model by increasing the image size to 256x256. This will finish the training phase of the model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/1*6C7dFX_2UWorwZ8DYNR4rg.png" /></figure><p><em>fastai</em> has another very good feature called <strong>Test Time Augmentation (TTA)</strong>. The idea is simple; apply simple augmentation on each test image to generate five copies of it and then do the prediction for each copy. You can average these prediction to get a significant(1–2%) decrease in error. As you can see in code below, F2 score increased from 0.928 to 0.930 using TTA. This is a good score.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z4g54iPaHcPUOlDo1BUwhw.png" /></figure><h3><strong>Making first submission to Kaggle</strong></h3><p>In submission file, we need to place predicted labels against each image. Each image can belong to more than one class.</p><p>file_10770,agriculture clear cultivation primary road test_26732,agriculture clear cultivation haze primary</p><p>If you look at an example of predictions from our validation set(figure below), you will see our original labels are in the form of 1’s, 0’s, but our predictions are floating point numbers. So, we need to pick a threshold for our predicts to be included in submission files (0.66 would be ideal for below example).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zJbAA2V9czHXi5e4q2wbGQ.png" /></figure><p>op_th function tries multiple threshold in a given range and returns the one which maximize the F2 score.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f5-qVwWPQxwoKjPyPz0JbQ.png" /></figure><p>Now we have our optimal threshold, let’s generate a submission file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*msL4hEnrSuo8NPfiCEJMcw.png" /></figure><p>Here are the submission results from Kaggle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TpDhBn3ybvE90xzNPyW__w.png" /></figure><p>Private score of 0.92997 would have put us at 65th position out of 938. This initial model would have been landed in<strong> top 7% . </strong>It is quite an achievement. Let’s improve it further.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZRQ-5G-qIUSL7tC4R2T8rA.png" /><figcaption>Private leader board of Kaggle planet competition.</figcaption></figure><h3>Ensembling</h3><p>My next goal was to land in top 5%. I trained an ensemble of 5 resnet34 models. Training set of each model consisted of 90% of available training data and remaining 10 % data as validation set. I also applied a slightly different data augmentation to training set for each model. Here are the F2 Score for each model in the ensemble.</p><pre>f2 Score: 0.9285756738073999                 <br>f2 Score: 0.9325735931488134                 <br>f2 Score: 0.9345646226806884                 <br>f2 Score: 0.9331467241762751                 <br>f2 Score: 0.9349772800026489</pre><p>After seeing this, I became very hopeful about improvement in position. I prepared the submission file and submitted it to Kaggle. Here are the results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bQuMeD0FSNYkvHaFkjFbqQ.png" /><figcaption>Kaggle submission result for ensemble</figcaption></figure><p>Here is the private leader board of Kaggle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v0t5su_z_Vedpnt72WzBeg.png" /></figure><p><strong>A private score of 0.93078 would have put us at 35 position out of 938</strong>. That is top 3.7%.</p><h4>So we have landed in top 4% . GOAL ACHIEVED</h4><p><em>code for ensemble can be found </em><a href="https://github.com/irshadqemu/Kaggle-Competitions/blob/master/Planet_amazon_resnet34.ipynb"><em>here</em></a><em> or note book at the bottom.</em></p><h3>How to Improve Further</h3><p>I will leave you with suggestion to improve further.</p><ul><li><strong>Better way to find threshold: </strong>When preparing the submission file, I used a threshold of ~0.2 to select classes for all of test images, but ideally each test image should have a separate threshold depending on the prediction values from model. I experimented with training a ML model to find the better threshold but didn’t succeed. (<em>code is in the note book</em>)</li><li><strong>Figure out which classes model is predicting incorrectly: </strong>From the validation set predictions you can figure out which classes are predicted mostly incorrect by the model. You can introduce multiple slightly augmented copies of those classes in the training set.</li><li><strong>Use tiff instead of jpg: </strong>Size of training data set in tiff format is 12.87 GB while size in jpg is only 600MB for same number of images, so it is obvious tiff data has much more information than jpg. It will surely help to improve model further.</li><li><strong>Try other architecture: </strong>I have only used the resnet34 model, they are many other advance models such as resnet50, resent101. You can experiment with those.</li><li><strong>Reduce Overfitting: </strong>If you look at output of training of ensemble in notebook, you will know some of my models stared to overfit while training. You can experiment with early stopping or dropout to reduce overfitting.</li><li><strong>Train an ensemble of multiple CNN architectures: </strong>While preparing the ensemble, I have only used the ensemble of resnet34. You can prepare a ensemble which includes multiple architectures such as resnet50, resnet101, etc.</li></ul><p>If you enjoyed reading this, please clap. :-)</p><p><a href="https://github.com/irshadqemu/Kaggle-Competitions/blob/master/Planet_amazon_resnet34.ipynb">irshadqemu/Kaggle-Competitions</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a679ff0013ba" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/kaggle-planet-competition-how-to-land-in-top-4-a679ff0013ba">Kaggle Planet Competition: How to land in top 4%</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Review of Machine Learning course by Andrew Ng and what to do next]]></title>
            <link>https://medium.com/@irshaduetian/review-of-machine-learning-course-by-andrew-ng-and-what-to-do-next-1184d45ad16a?source=rss-d6d1a1a6310f------2</link>
            <guid isPermaLink="false">https://medium.com/p/1184d45ad16a</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[mooc]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Irshad Muhammad]]></dc:creator>
            <pubDate>Sun, 26 Nov 2017 10:33:48 GMT</pubDate>
            <atom:updated>2018-01-16T18:39:46.465Z</atom:updated>
            <cc:license>http://creativecommons.org/publicdomain/zero/1.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*M4V6W0J2dKgEha498YtYCA.png" /></figure><p><a href="https://medium.com/@Synced/artificial-intelligence-is-the-new-electricity-andrew-ng-cc132ea6264">“AI is the new electricity”</a>. It is going to change the world the way electricity did a hundred year ago. If you want to learn AI, start a career and looking for a good course to start then keep reading, this blog is written for you. I recently <a href="https://www.coursera.org/user/350b70b954de005149b1ea8e17bae990">completed</a> this course, and I can say I have yet to see another online course on ML that comes near it in terms of quality of content, delivery and assignments.</p><h3>Brief Introduction of Instructor</h3><p><a href="http://www.andrewng.org/">Andrew Ng</a> is one of the world’s best known AI experts. In 2011 he founded the CourseEra. Previously, he was head of AI Division at <a href="http://www.baidu.com/">Baidu</a> (A Chinese research engine ). <strong><em>Just to give you an idea of how bigger impact Andrew has in AI, </em></strong><a href="http://uk.businessinsider.com/baidu-value-took-a-15-billion-plunge-after-chief-scientist-andrew-ng-announced-hes-leaving-2017-3/?IR=T"><strong><em>Baidu lost $1.5 Billion</em></strong></a><strong><em> in value due to his resignation</em></strong>.</p><h3>How much Math you need to know</h3><p>Machine Learning highly depends on <strong><em>Linear Algebra, Calculus, Probability Theory, Statistics, Information Theory.</em></strong> But don’t get scared, you don’t need to have a background in all of these Math’s fields to start learning ML. If you have studied basic Linear Algebra, Probability and Calculus in university or high school, you are good to go. If you need to refresh your concepts of Linear Algebra, I would highly recommend watching these excellent videos <a href="https://www.youtube.com/watch?v=kjBOesZCoqc&amp;list=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab"><strong><em>“Essence Of Linear Algebra</em></strong><em>”</em></a>. <a href="https://www.khanacademy.org/">Khan Academy</a> was also helpful to clear some of my concepts.</p><h3>Contents of Course</h3><p>This course covers the following topics in ML</p><ul><li><strong>Supervised Learning</strong><br>Linear regression, logistic regression, neural networks, SVMs.</li><li><strong>Unsupervised Learning</strong><br>K-means, PCA, Anomaly detection</li><li><strong>Special Applications/ Topic</strong>s<br>Recommender system, large scale machine learning</li><li><strong>Advice on building a machine learning system</strong><br>Bias/variance, regularization, evaluation of learning algorithm, learning curves, error analysis, ceiling analysis.</li></ul><p>In my opinion, the most important part of the course is the 4th one, which highlights all of the tools, tricks, and tips that you will need to build the state of the art ML system. While solving a real problem using ML, you will often find yourself stuck at some issue, this is where these tools will come to rescue. I haven’t seen any online course discussing this important topic in such a detail.</p><h3>Delivery Method</h3><p>This course is very interactive and highly involving, you should be ready to spend 5–7 hours/week to get the most out of this course.</p><h4>Video Lecture and Quizzes</h4><p>Each lecture consists of multiple videos with average length of 10–15 minutes. Almost every video has a quiz question to help you make sure that you understand the concept covered in the video. At the end of the each lecture there is also a quiz. Lecture notes under Resource section provide a great reference for topics covered in lecture.</p><h4>Assignments</h4><p>Assignments are the really fun part of this course, they come with the pre-setup environment in which you need to add the snippet of code, usually the implementation of concepts you learned during lecture. You can use Matlab (paid software) or <a href="https://www.gnu.org/software/octave/">Octave</a>(free software) to do the assignments. If you already have access to Matlab then use it. If not, no need to spend the money just use octave.</p><h3>What to do after this course</h3><p>After the completion of this course successfully, you will have an expert level of understating concepts of ML. But there is a lot more to do on the implementation side.</p><h4>Learn ML in Python</h4><p>You might not be surprised to know that almost no company uses Matlab/Octave in their production ML models. Most of the time they are just used to build the prototype. In a production environment, Python or R is used. I would recommend going for Python, since it is easy to learn and widely used by big companies (Google, Amazon, Microsoft).</p><p>I would recommend going through the first 11 chapter of an amazing book.</p><p><a href="https://www.amazon.com/Hands-Machine-Learning-Scikit-Learn-TensorFlow/dp/1491962291/ref=pd_bxgy_14_img_2?_encoding=UTF8&amp;psc=1&amp;refRID=KZ4X67EBYDD1TBRV5H16"><strong><em>Hands-On Machine Learning with Scikit-Learn and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems</em></strong></a><strong><em>.</em></strong></p><p>This book is written by one of ex-googler and considered the one of the best books on the topic.<br> Since you already you know all of the concepts, you will be done with these chapters in one or two weeks.</p><h4>Move to Deep Learning</h4><p>Deep learning is a specialized field for ML which has become very popular in last couple of years. If you want to start a career in AI you, will need to have sound knowledge of this field.<br>There are two great MOOCs available online that cover the topic very well.</p><ol><li><a href="https://www.deeplearning.ai/">Deep Learning Specialization</a> by Andrew Ng.</li><li><a href="http://course.fast.ai/">Practical Deep Learning for Coders</a> by Jeremy</li></ol><p>After reading <a href="https://towardsdatascience.com/thoughts-after-taking-the-deeplearning-ai-courses-8568f132153">this</a> great blog by <a href="https://medium.com/u/6e6d06d4b300">Arvind N</a>, I decided to take the part 1 of Practical Deep Learning for coders and then move Andrew Ng specialization.</p><h4>Forums and persons to follow</h4><ul><li>Join <a href="https://www.kaggle.com/">Kaggle</a>, it is one of the worlds best community of data scientist, Kaggle holds data science competition regularly. You will learn a lot from competition kernels.</li><li>On LinkedIn, I follow <a href="https://www.linkedin.com/in/andriyburkov/">Andriy Burkov</a>, <a href="https://www.linkedin.com/in/eric-weber-060397b7/">Eric Weber</a>, <a href="https://www.linkedin.com/in/mattmayo13/">Matthew Mayo</a>,</li><li>On Medium, I find <a href="https://towardsdatascience.com/">Towards Data Science</a> page very helpful. They often publish great tutorials, one of my favorite author is <a href="https://medium.com/u/6db35fa87ba2">Arden Dertat</a>.</li></ul><h3>Conclusion</h3><p>Starting a career in AI is not very hard. Quality material is available online, all you have to do stay motivated and patient, at the end it all worth it.</p><p>Thank for reading, do let me know your thoughts in comments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1184d45ad16a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>