<?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 Ali Aryan on Medium]]></title>
        <description><![CDATA[Stories by Ali Aryan on Medium]]></description>
        <link>https://medium.com/@aliaryan?source=rss-aa8c592c2bc1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*daXYgFNtw88d-DMYf0ElSw.jpeg</url>
            <title>Stories by Ali Aryan on Medium</title>
            <link>https://medium.com/@aliaryan?source=rss-aa8c592c2bc1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 13:36:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aliaryan/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[AI powered Bing and Edge: The Ultimate Guide]]></title>
            <link>https://medium.datadriveninvestor.com/ai-powered-bing-and-edge-the-ultimate-guide-b7e841421f40?source=rss-aa8c592c2bc1------2</link>
            <guid isPermaLink="false">https://medium.com/p/b7e841421f40</guid>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Ali Aryan]]></dc:creator>
            <pubDate>Sat, 18 Feb 2023 05:18:15 GMT</pubDate>
            <atom:updated>2023-02-18T08:01:55.045Z</atom:updated>
            <content:encoded><![CDATA[<p>Microsoft’s Bing and Edge browser will now be powered by AI. The addition of AI will provide better searches, more thorough answers, a new chat experience, and the capacity to develop content. Microsoft wants Bing to act like an AI copilot for the web.</p><p>Bing is based on a <strong>“new, next-generation OpenAI large language model that is more powerful than ChatGPT and is customized specifically for search.” </strong>which is <strong>“even faster, more accurate and more capable”</strong>. [1] The model is bigger than GPT 3 and GPT 3.5 and it’s specifically configured for search to enable a better search experience.</p><p>According to Microsoft, out of 10 billion search queries, half of them go unanswered. Integration of AI will assist to fetch answers to more complex questions that the traditional search engines weren’t designed to do.</p><h3>Looks and Design:</h3><p>The new Bing search introduces a new wider search with a character limit of 1000 with a modern design, the search displays<strong> “ask me anything”</strong> in the textbox representing the AI capability of Bing. It has also introduced a separate chat section which has a conversational flow to answer your search queries by getting additional details.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*dAbrh4tNiWYtJ3zfnTYHEw.png" /><figcaption><em>Figure 1 Bing’s new homepage</em></figcaption></figure><h3>What’s new with the AI-powered Bing and edge?</h3><p>1. <strong>Get complete answers:</strong> Bing explores the internet, reviews the content, and summarizes it as per the search query. This reduces the need to go through multiple pages to find a perfect answer to a search query. The answers given by AI are displayed on the right along with the annotations so that the information can be verified from those sources. (Which lacked in ChatGPT)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*oM7wo05O_iTnmy6heqQWDg.png" /><figcaption><em>Figure 2 Complete answers</em></figcaption></figure><p>2. <strong>Chat Experience:</strong> The chat section on Bing allows you to modify your search until you get your answers by getting more information from you. It is very similar to ChatGPT but it has the ability to search the internet and provide reliable answers along with the annotations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vF-f3E01dRr3I-A8-MP_Fg.png" /><figcaption><em>Figure 3 Bing’s chat</em></figcaption></figure><p>3. <strong>Search experience:</strong> Using AI , Bing search has improved to give you more relevant answers for simple tasks like weather, score.</p><p>4. <strong>Create Generative content:</strong> Bing helps you to make your meal plans or write the email for your long vacation with annotations for your reference. Generative content is more reliable than ever before.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*R3W3wOdJOMutAwTdWzPVWg.png" /><figcaption><em>Figure 4 Generative content</em></figcaption></figure><p>5. <strong>AI-powered Edge browser:</strong> The new AI powered edge browser can summarize your long yearly reports and give you the key takeaways using the new sidebar. It can also help you to generate the content for your LinkedIn post or help you to compare one report to another.</p><h3>Future of search engines with AI:</h3><ol><li><strong>Applying AI to the ranking algorithms: </strong>By Applying AI to the core algorithm, Bing observed the largest jump in relevance in two decades. It will be harder to understand the ranking algorithms now since it’s affected by the AI model which is a black box for a common user.</li><li><strong>Large Language models arm’s race:</strong> Bing is running on the next generation of OpenAI’s LLM which is more powerful than GPT 3 and GPT 3.5. But the number of parameters on the new model is not yet disclosed. Google recently introduced BARD which is like ChatGPT within google search. BARD is trained on 137 billion parameters. Although ChatGPT is trained on 175 billion parameters, google has the advantage of having more user data to deliver personalized results. Google has also introduced PALM in works that are trained on 540 billion parameters. We are yet to see its full capability.</li><li><strong>From Page Rank to being referenced in the AI generative results:</strong> Not only is the focus now on Ranking higher but also being referenced in the results that are generated by AI.</li></ol><p>2023 is proven to be a year of generative AI and now with the advancements in Search engines, the future of search is going to be revolutionized.</p><h3>References:</h3><p><em>[1] Reinventing search with a new AI-powered Microsoft Bing and EDGE, your copilot for the web</em> (2023) <em>The Official Microsoft Blog</em>. Available at: <a href="https://blogs.microsoft.com/blog/2023/02/07/reinventing-search-with-a-new-ai-powered-microsoft-bing-and-edge-your-copilot-for-the-web/">https://blogs.microsoft.com/blog/2023/02/07/reinventing-search-with-a-new-ai-powered-microsoft-bing-and-edge-your-copilot-for-the-web/</a></p><p>Subscribe to DDIntel <a href="https://ddintel.datadriveninvestor.com/">Here</a>.</p><p>Visit our website here: <a href="https://www.datadriveninvestor.com/">https://www.datadriveninvestor.com</a></p><p>Join our network here: <a href="https://datadriveninvestor.com/collaborate">https://datadriveninvestor.com/collaborate</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7e841421f40" width="1" height="1" alt=""><hr><p><a href="https://medium.datadriveninvestor.com/ai-powered-bing-and-edge-the-ultimate-guide-b7e841421f40">AI powered Bing and Edge: The Ultimate Guide</a> was originally published in <a href="https://medium.datadriveninvestor.com/">DataDrivenInvestor</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Machine learning and deep learning in one liner using Libra]]></title>
            <link>https://medium.com/data-science/machine-learning-and-deep-learning-in-one-liner-using-libra-7eef4023618f?source=rss-aa8c592c2bc1------2</link>
            <guid isPermaLink="false">https://medium.com/p/7eef4023618f</guid>
            <category><![CDATA[deeplearing]]></category>
            <category><![CDATA[online-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[future]]></category>
            <category><![CDATA[machine]]></category>
            <dc:creator><![CDATA[Ali Aryan]]></dc:creator>
            <pubDate>Tue, 28 Jul 2020 18:06:19 GMT</pubDate>
            <atom:updated>2020-07-29T13:50:44.429Z</atom:updated>
            <content:encoded><![CDATA[<h3>One liner Machine learning and Deep Learning using Libra</h3><h4>The complete guide to understanding Libra for automated machine learning and deep learning.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bNL-T2BzjhFBuzOlLFZCpQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@brett_jordan?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Brett Jordan</a> on <a href="https://unsplash.com/s/photos/robot?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>With the rise of machine learning, we have seen the rise of many great frameworks and libraries like sci-kit learn, Tensorflow, Pytorch. These frameworks have made it easier for users to create machine learning models easily. But still one needs to follow the whole procedure that includes Data preparation, Modelling, Evaluation. Data preparation contains data cleaning and pre-processing. Modeling takes in the pre-processed data and uses algorithms to predict the result. Evaluation gives us a measure of how well our algorithm is performing. Due to these libraries and frameworks, our time to write everything is reduced but still, we need to write a handful amount of code.</p><blockquote>“Machine intelligence is the last invention that humanity will ever need to make.” -Nick Bostrom</blockquote><p>The advancements in this field are increasing day by day with the help of amazing open source communities which gave rise to the existing frameworks. Think about a framework that does all of the above-mentioned processes in a single line. Yes, you read it right, now you can also do that. Libra is a framework that does that work for you in a single line. It’s also easy to use even for a non-technical person. Libra requires the least average number of lines to train the model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*86rk_JnbAh40DzTo5zl_ZQ.png" /><figcaption>Image taken from the <a href="https://libradocs.github.io/index.html">documentation</a></figcaption></figure><p>In this blog, I will give complete guidance on how to use Libra. I will be taking different datasets for a different problem and will show you step by step approach.</p><h3>Credit Card Fraud Detection Using Libra</h3><p>I have used the Kaggle dataset for the prediction of credit card fraud. The data has already gone through the principal component analysis, so it is now reduced to less dimensional data as compared to the original one. It requires following a systematic approach while solving this problem. In the General way, you will follow the sequence mentioned in the first paragraph. But with Libra, you don’t have to worry about it.</p><p>Link of dataset https:/<a href="https://colab.research.google.com/drive/1khr-nqQVkP_XMUQ5y8GWrK5AUS41lyzC#">/www.kaggle.com/mlg-ulb/creditcardfraud</a></p><p>Most of the transactions in this data are Non-Fraudulent (99.83 Percent) of the time, while Fraudulent transactions occur (0.17 percent) of the time in the dataset. Which means that the data is highly imbalanced. Let us see how well Libra preprocess the data and gives us the result.</p><h4>Installing Libra</h4><pre>pip install -U libra</pre><h4>Importing client from libra</h4><pre>from libra import client</pre><h4>Using Libra</h4><p>Everything is built around the client object. You can call different queries on it and everything will be stored under the models field of the object.</p><p>We pass the location of our file in the client object and name it as newClient. Now to access various queries refer to the documentation. I am using a decision tree here. Instruction in the English language is a statement that represents the task you would like to complete. For example, predict the median house value, or please estimate the number of households. Else the instruction should correspond to a column in the dataset. Libra Automatically detects the target column but just to be sure that it select the right column, I have passed the target column name.</p><pre>newClient = client(&#39;creditcard.csv&#39;)</pre><pre>newClient.decision_tree_query(&#39;Class&#39;)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/517/1*dlptF7d8g8NM6X9ZxvmKww.png" /></figure><p>With just two lines of code, we acquired a score of approximately 0.99, which is the best we can get. If you check out other kernels, you would observe that only a handful of people got 0.99 accuracies, and that took them hours to preprocess the data and write code for it. In that case, libra saves you a lot of time and gives you the best result. Libra uses something known as Intelligent preprocessing so that you don’t need to preprocess the data, all by yourself.</p><h4>You don’t need to worry about analysing the results.</h4><p>newClient.analyze() Creates confusion matrix and ROC Curve for all classification problems. It Also calculates recall, precision, f1, and f2 score.</p><pre>newClient.analyze()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/537/1*uGuKjN3CPDXVW9pIK8urSg.png" /></figure><p>newClient.info() returns all the keys, representing each category of data generated for the dataset.</p><pre>newClient.info()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*rdIMer2YgYFoOfaOAxLqvA.png" /></figure><p>newClient.model() returns a dictionary of that model. It includes everything from accuracy, precision, recall, F1 score to all the preprocessing techniques. It’s more helpful for people who already know about these concepts and can code them. Non-tech users need not worry about this.</p><pre>newClient.model()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Uj_VIe8Dywy5KJidtOe9Yg.png" /></figure><h4>Accessing the model</h4><p>newClient.model()return a dictionary and if you want to access the model then you can directly use newClient.model()[&#39;model&#39;]</p><pre>newClient.model()[&#39;model&#39;]</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*ehlPbBkQWaEFtQSIsQ4SQQ.png" /></figure><h3>Convolutional Neural Network using Libra</h3><p>Use the below code to download Rock, paper, scissor dataset by Laurence Moroney on the colab notebook. I could have directly shown you the code for just creating CNN using Libra but instead, I thought to create an example that you can try in your colab notebook yourself for better understanding. You do not need to worry about the below code.</p><pre>!wget --no-check-certificate \</pre><pre>https://storage.googleapis.com/laurencemoroney-blog.appspot.com/rps.zip \</pre><pre>-O /tmp/rps.zip</pre><pre>!wget --no-check-certificate \</pre><pre>https://storage.googleapis.com/laurencemoroney-blog.appspot.com/rps-test-set.zip \</pre><pre>-O /tmp/rps-test-set.zip</pre><p>Use the below code to extract the downloaded files.</p><pre>import os</pre><pre>import zipfile</pre><pre>local_zip = &#39;/tmp/rps.zip&#39;</pre><pre>zip_ref = zipfile.ZipFile(local_zip, &#39;r&#39;)</pre><pre>zip_ref.extractall(&#39;/tmp/&#39;)</pre><pre>zip_ref.close()</pre><pre>local_zip = &#39;/tmp/rps-test-set.zip&#39;</pre><pre>zip_ref = zipfile.ZipFile(local_zip, &#39;r&#39;)</pre><pre>zip_ref.extractall(&#39;/tmp/&#39;)</pre><pre>zip_ref.close()</pre><p>Us the below code to create folder and put the extracted images into it.</p><pre>rock_dir = os.path.join(&#39;/tmp/rps/rock&#39;)</pre><pre>paper_dir = os.path.join(&#39;/tmp/rps/paper&#39;)</pre><pre>scissors_dir = os.path.join(&#39;/tmp/rps/scissors&#39;)</pre><pre>print(&#39;total training rock images:&#39;, len(os.listdir(rock_dir)))</pre><pre>print(&#39;total training paper images:&#39;, len(os.listdir(paper_dir)))</pre><pre>print(&#39;total training scissors images:&#39;, len(os.listdir(scissors_dir)))</pre><pre>rock_files = os.listdir(rock_dir)</pre><pre>print(rock_files[:10])</pre><pre>paper_files = os.listdir(paper_dir)</pre><pre>print(paper_files[:10])</pre><pre>scissors_files = os.listdir(scissors_dir)</pre><pre>print(scissors_files[:10])</pre><p>Below image shows you the information about the dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7PeobVaYzYHXjOfFYsxV4A.png" /></figure><p>Using the below code, you can create CNN. Data will be automatically augmented through zoom, shear, flip, and rescaling. Then the optimal image size will be chosen. You will also notice the number of images in each class and the number of classes associated with it. Finally, you will also observe the training accuracy and testing accuracy.</p><p>You can also pass <strong>read_mode </strong>hyper-parameter inside convolutional_query, in which you can specify the read mode. There are three read modes allowed. I will describe them one by one. By default <strong>read_mode=distinguisher() </strong>which automatically detects the type of data. The three read modes allowed are:</p><h4>1. Setwise</h4><p>Directory consists of a ‘training_set’ and ‘testing_set’ folder both containing classification folders with images inside.[1]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/566/1*W1Vm7UBACPKRn5TG-KYuJw.png" /><figcaption>Image taken from the <a href="https://libradocs.github.io/index.html">documentation</a></figcaption></figure><h4>2. Classwise</h4><p>Directory consists of classification folders with images inside.[1]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*EwhMZviHpbFfYlrpGBuIwA.png" /><figcaption>Image taken from the <a href="https://libradocs.github.io/index.html">documentation</a></figcaption></figure><h4><strong>3. CSV Wise</strong></h4><p>Directory consists of image folders and a CSV file that has an image column.[1]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/548/1*mvCq38wIIKt0ss4UNk4xBw.png" /><figcaption>Image taken from the <a href="https://libradocs.github.io/index.html">documentation</a></figcaption></figure><pre>newClient = client(&#39;/tmp/rps&#39;)</pre><pre>newClient.convolutional_query(&quot;Please classify my images&quot;)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/622/1*E6zd8VR1U_CHOovp8vChPA.png" /></figure><h3>NLP Text Classification using Libra</h3><p>I am using the <a href="https://www.kaggle.com/team-ai/spam-text-message-classification">spam-text-message-classification</a> dataset for this problem.</p><p>Link :<a href="https://www.kaggle.com/team-ai/spam-text-message-classification">https://www.kaggle.com/team-ai/spam-text-message-classification</a></p><pre>new_client = client(&#39;SPAM text message 20170820 - Data.csv&#39;)</pre><pre>new_client.text_classification_query(&#39;sentiment&#39;)</pre><pre>new_client.classify_text(&#39;new text to classify&#39;)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1001/1*C7_W2kcEkDtNY1A9kryq7w.png" /></figure><p>new_client.classify_text() will classify the text that is entered inside it. In the above output, you can see that it has classified my text to be ‘ham’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/442/1*hoXaeYRlDO6dvzJjcDxo3g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/442/1*Pz0G0W3Zzo7ULrFXJ2tEJQ.png" /></figure><h3>K means clustering using Libra</h3><p>I am using Mall Customer Segmentation Data for this problem :<a href="https://www.kaggle.com/vjchoudhary7/customer-segmentation-tutorial-in-python">https://www.kaggle.com/vjchoudhary7/customer-segmentation-tutorial-in-python</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/399/1*Ykt3FsSa-k-Phk5Ugb9X6A.png" /><figcaption>Image of the dataset.</figcaption></figure><p>The below code will create a K means clustering model and will Identifying best centroid count and optimizing accuracy and also the optimal number of clusters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*Ek21ugfKCZbTmuNwiB8Mtw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/414/1*Q75FiQmyoLrpKU1VLv4WFA.png" /></figure><h3>Neural Network for Classification using Libra</h3><p>In this section, I will be using a neural network query for classification. For this, I am using a private dataset that predicts behavior from the brain signals. Let’s check it how well does it perform on that dataset.</p><pre>new_client = client(&#39;Mood_classification.csv&#39;)</pre><pre>new_client.neural_network_query(&#39;Predict the behavior&#39;)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/882/1*fuKMQ1Su6bAMwhda1y2X9g.png" /></figure><p>From the above code, you can notice that the initial number of layers that the model used is 3. Then it also tests the accuracy with a different number of layers that vary according to the performance of the former layer. It predicts the best number of layers found and it’s training and testing accuracy. It Looks like I need to gather more data for my dataset.</p><p>You can use the new_client.model()[‘model’] to access the model and can use summary() function from Keras to gain a summary of the neural network model.</p><pre>new_client.model()[&#39;model&#39;].summary()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*yEcyPWNrwZlFp25CKdHuUQ.png" /></figure><h3>Conclusion</h3><p>Libra is a really interesting framework that is improving every day. This framework gives us an overview of how fast the field of Data Science is evolving and also gives us a glimpse of the type of changes that can be there in this field. They are also adding features for existing data scientists to modify the existing neural net and add layers like LSTM at the specified index. I’m excited by the concept that this framework brings. You can also contribute to it on <a href="https://github.com/Palashio/libra">Github.</a></p><h3>References:</h3><p>[1] Libra, Documentation(2020), <a href="http://libradocs.github.io/">Source</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7eef4023618f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/machine-learning-and-deep-learning-in-one-liner-using-libra-7eef4023618f">Machine learning and deep learning in one liner using Libra</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[Before you start learning Data Science online]]></title>
            <link>https://medium.com/data-science/before-you-start-learning-data-science-online-e82415ff8909?source=rss-aa8c592c2bc1------2</link>
            <guid isPermaLink="false">https://medium.com/p/e82415ff8909</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[online-lear]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Ali Aryan]]></dc:creator>
            <pubDate>Fri, 17 Jul 2020 09:06:05 GMT</pubDate>
            <atom:updated>2020-07-20T17:11:16.892Z</atom:updated>
            <content:encoded><![CDATA[<h4>Notes on mistakes a young aspirant makes while learning Data Science online and how to overcome it.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UP1pBdZjReX_LYqiKaImKw.jpeg" /><figcaption>Background Image by <a href="https://unsplash.com/@steinart"><strong>Steinar Engeland</strong></a></figcaption></figure><p>We generate over 2.5 quintillion bytes of data every day. Over the last two years alone 90 percent of data that we have in the world was created [<a href="https://blazon.online/data-marketing/how-much-data-do-we-create-every-day-the-mind-blowing-stats-everyone-should-read/">1</a>]. As a result, many fields related to data have emerged. Many young aspirants start learning data science every day. I have seen my friends and other people who started making mistakes while learning it. When I started learning data science, I made mistakes too.</p><p>There are amazing courses offered by many great Professors from well-known institutions in the field of data science. Many young candidates have made mistakes, at least once while learning. Even you might have made these mistakes once or wished that someone told you these things before you started learning Data Science. When I started, I wasn’t aware of many things. I have compiled points that one should know before they start learning data science online.</p><h4>Online Courses won’t teach you about domain knowledge</h4><p>Before solving any problem, you need to have the right domain knowledge. Right domain knowledge will help you understand the features of a dataset well and will help you to fabricate the approach of analyzing the dataset to tell stories from it. Most of the young aspirants forget this point. Domain knowledge is the most overlooked skill but the most important one for beginners. But one should realize that it’s necessary to take time to learn about the domain and the problem that they are trying to solve.</p><blockquote>Domain knowledge is the first step in approaching the problem. It’s the base on which your whole solution will depend.</blockquote><h4>You need to understand the dataset</h4><p>Before you rush to find missing values or start to clean the data, look at the dataset properly, and try to understand it well. Use describe() method from the pandas library to extract more information about the data like mean, standard deviation, first quartile. Take any particular example from the dataset and use the features to understand it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*_jS6Of8Z4yrgGn0shDW59w.jpeg" /><figcaption>Image by <a href="https://unsplash.com/@sctgrhm">Scott Graham</a></figcaption></figure><h4>Do not rush to create machine learning models</h4><p>Many beginners directly apply the ML algorithms before preprocessing any data. Anyone can write two to three lines to train the algorithm and predict the results. A data scientist spends 80% of their time preparing and managing the data. Look for outliers and correlations, fill in the missing values. Understand which feature is affecting the most. For Instance, if you want to solve a classification problem, then check for the class imbalance. In layman terms, A dataset is an imbalance if the classes do not contain the same number of examples. For example, Out of a binary classification task, my class A is 99% of the total data and class B is 1 % of the data. Imbalance data may lead to what is known as overfitting.</p><blockquote>Take time to prepare and manage the data. It’s okay to take the time in this preprocessing.</blockquote><h4><strong>Understand the code that has been written before solving the assignment</strong></h4><p>It’s common among many beginners to learn what they have done previously in that week of the course and apply it to the data. For Instance, if a student is learning about Support Vector Machines (One of the classification algorithms).In the assignment, If students had to train and test my model. Most of the students would just do that task. They won’t notice the code that has been previously written about preprocessing the data.</p><h4>Don’t be shy about asking questions</h4><p>Forums are a great way to ask questions. Do not be shy in asking questions. Always clear your doubts. Nobody should be embarrassed about asking questions. Keep feeding your curiosity.</p><blockquote>The important thing is not to stop questioning. Curiosity has its own reason for existing. — Albert Einstein</blockquote><h4>If you don’t understand the algorithm, then implement it from scratch</h4><p>If you are having issues in understanding a particular algorithm, then the best way is to code the algorithm yourself. In the process, you will learn about it and this will help you understand how the libraries like scikit-learn work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*PYjwNRK2MNN6ScAq8e3Dbw.jpeg" /><figcaption>Image by <a href="https://unsplash.com/@hiteshchoudhary">Hitesh Choudhary</a></figcaption></figure><h4>Don’t cheat yourself</h4><p>While you are doing assignments or quizzes, do not copy from internet resources. If you are stuck with the assignment, then take your time. It’s about how cleverly you think to solve the problem than just getting it done for a certificate. Most of the things that I learned came from getting stuck in a problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*6cOY0vJjsDLlkcgprvQrVg.jpeg" /><figcaption>Image by <a href="https://unsplash.com/@jeshoots"><strong>JESHOOTS.COM</strong></a><strong> on </strong><a href="https://unsplash.com/"><strong>Unsplash</strong></a></figcaption></figure><h4>Previous knowledge of coding and mathematics is highly beneficial</h4><p>I disagree with people who say that you don’t need experience in coding to learn some data science courses. Having a basic knowledge about coding helps to get along. They may teach you about Python/R later, but if you are learning about it in a course, then I would suggest you solve problems on platforms like <a href="https://www.hackerrank.com/">HackerRank</a>, <a href="https://www.hackerearth.com/">HackerEarth</a> to gain more experience in a particular language so that later if you use any library like matplotlib, NumPy then you would be comfortable to write it’s code. If you aren’t aware of basic mathematics, then don’t worry, there are excellent resources on YouTube to learn that. If you want to learn calculus, then I would suggest <a href="https://www.youtube.com/channel/UCYO_jab_esuFRV4b17AJtAw">3Blue1Brown</a>’s channel for Calculus, linear algebra, and<a href="https://www.youtube.com/user/joshstarmer"> Stat Quest</a> for Statistics. They are excellent for beginners who wish to start Mathematics for Data Science.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*TS3ToYvKiQfkRTNAZzLBzg.jpeg" /><figcaption>Image by <a href="https://unsplash.com/@antoine1003">Antoine Dautry</a></figcaption></figure><h4>Do not settle with initial results of ML algorithm</h4><p>You can always tune the values of various algorithms to improve your model. Do not settle with your initial results of the model. Always use hyperparameter tuning to get better results. Many algorithms allow you to change their hyper-parameter values like K nearest neighbor algorithm allows you to change the number of neighbors that may improve the result. Remember that you can always perform better.</p><h4>Never Stop Learning</h4><p>After you have finished any online course, do not stop learning. An online course will help you build strong fundamentals, but you have to keep learning. Keep looking for various data sets and practice. Practice is the key to become good at any job. Keep looking at various blog posts, notebooks, videos, research papers to learn more. Never restrict yourself to anything. As a Data Scientist, you need to keep learning new technologies all the time. Do not give up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*VacjCw1HqFQv8oPqS_7pTA.jpeg" /><figcaption>Image by <a href="https://unsplash.com/@element5digital">Elements5Digital</a></figcaption></figure><h4>References:</h4><p>[1] blazon, <a href="https://blazon.online/data-marketing/how-much-data-do-we-create-every-day-the-mind-blowing-stats-everyone-should-read/">How much data do we create every day</a> (2019)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e82415ff8909" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/before-you-start-learning-data-science-online-e82415ff8909">Before you start learning Data Science online</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>
    </channel>
</rss>