<?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 Mariyazaib on Medium]]></title>
        <description><![CDATA[Stories by Mariyazaib on Medium]]></description>
        <link>https://medium.com/@mariyazaib76?source=rss-10f59fd76326------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*MLGs8ARxd5iqZGcq</url>
            <title>Stories by Mariyazaib on Medium</title>
            <link>https://medium.com/@mariyazaib76?source=rss-10f59fd76326------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 18:16:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mariyazaib76/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[Dealing with imbalanced Data :]]></title>
            <link>https://medium.com/@mariyazaib76/dealing-with-imbalanced-data-e85ed5c12fb8?source=rss-10f59fd76326------2</link>
            <guid isPermaLink="false">https://medium.com/p/e85ed5c12fb8</guid>
            <dc:creator><![CDATA[Mariyazaib]]></dc:creator>
            <pubDate>Tue, 04 Apr 2023 01:38:13 GMT</pubDate>
            <atom:updated>2023-04-04T01:38:13.713Z</atom:updated>
            <content:encoded><![CDATA[<p>Dealing with imbalanced Data :</p><p>Data imbalancement is a common problem in machine learning and data analysis. It refers to the situation where the number of observations in one class is significantly larger or smaller than the number of observations in another class. This can lead to biased predictions and inaccurate models, especially in situations where the rare class is of particular interest, such as fraud detection or medical diagnosis.</p><p>In this article, we will explore what data imbalancement is and how to deal with it using Python. We will discuss the different techniques and tools available to address this issue and improve the accuracy of our models.</p><p><strong>Understanding Data Imbalancement</strong>:</p><p>To understand data imbalancement, let&#39;s consider an example of a binary classification problem where we want to predict whether a customer will buy a product or not. Let&#39;s assume that we have a dataset of 1000 customers, out of which only 10 have purchased the product (positive class), while the rest have not (negative class). In this case, we have a highly imbalanced dataset where the positive class represents only 1% of the total observations.</p><p>The problem with such an imbalanced dataset is that the machine learning model will be biased towards the majority class (negative class in this case). As a result, the model will have a high accuracy score but will perform poorly in predicting the rare class (positive class).</p><p><strong>Dealing with Data Imbalancement using Python</strong></p><p>Python offers various techniques and tools to address data imbalancement. Let&#39;s explore some of these techniques:</p><p><strong>Resampling Techniques</strong></p><p>Resampling techniques involve modifying the dataset by either oversampling the minority class or undersampling the majority class. Oversampling involves creating more samples for the minority class, while undersampling involves removing samples from the majority class.</p><p>There are several resampling techniques available, such as Random Oversampling, SMOTE (Synthetic Minority Over-sampling Technique), and Random Undersampling. These techniques can be easily implemented using the imbalanced-learn library in Python.</p><p><strong>Cost-Sensitive Learning</strong></p><p>Cost-sensitive learning involves assigning different costs to different misclassification errors. In the case of imbalanced datasets, the cost of misclassifying the minority class is often higher than misclassifying the majority class. Cost-sensitive learning can be implemented using scikit-learn&#39;s classification models by setting the class_weight parameter.</p><p><strong>Ensemble Techniques</strong></p><p>Ensemble techniques involve combining multiple models to improve the overall performance. In the case of imbalanced datasets, ensemble techniques such as Bagging, Boosting, and Stacking can be used to improve the accuracy of the model.</p><p><strong>Performance Metrics</strong></p><p>Choosing the right performance metrics is crucial when dealing with imbalanced datasets. Accuracy, which is commonly used to evaluate classification models, can be misleading in imbalanced datasets. Other performance metrics such as Precision, Recall, F1-score, and AUC-ROC (Area Under the Receiver Operating Characteristic Curve) should be used to evaluate the model&#39;s performance.</p><p><strong>Conclusion</strong></p><p>In conclusion, data imbalancement is a common problem in machine learning and data analysis. It can lead to biased predictions and inaccurate models. However, Python offers several techniques and tools to address this issue, such as Resampling Techniques, Cost-Sensitive Learning, Ensemble Techniques, and Performance Metrics. By using these techniques, we can improve the accuracy of our models and make more accurate predictions on imbalanced datasets.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e85ed5c12fb8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Untitled]]></title>
            <link>https://medium.com/@mariyazaib76/untitled-45a29531d2c9?source=rss-10f59fd76326------2</link>
            <guid isPermaLink="false">https://medium.com/p/45a29531d2c9</guid>
            <dc:creator><![CDATA[Mariyazaib]]></dc:creator>
            <pubDate>Sun, 26 Feb 2023 08:49:19 GMT</pubDate>
            <atom:updated>2023-02-26T08:49:19.881Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*ecWHZmYXlBV3mZhJuiFmYA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=45a29531d2c9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[In data science field you will have to have a good understanding about some specific things.]]></title>
            <link>https://medium.com/@mariyazaib76/in-data-science-field-you-will-have-to-have-a-good-understanding-about-some-specific-things-4286ca60988c?source=rss-10f59fd76326------2</link>
            <guid isPermaLink="false">https://medium.com/p/4286ca60988c</guid>
            <dc:creator><![CDATA[Mariyazaib]]></dc:creator>
            <pubDate>Thu, 23 Feb 2023 08:08:52 GMT</pubDate>
            <atom:updated>2023-02-23T08:08:52.567Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/692/1*HE2Gc4K9RKRFsAxuNaZl0Q.png" /><figcaption>Skill set for data science journey</figcaption></figure><p>In data science field you will have to have a good understanding about some specific things.</p><ul><li><strong>Data visualization :</strong> Get deep understanding about visual tools like tableau and powerbi</li><li><strong>Data analytics :</strong> Necessary to get deep understanding about exploratory data analysis with Pandas and other python liberaries and feature engineering .</li></ul><p><strong>Web scrapping :</strong> As a data engineer you must have enough skill to scrap data from websites in efficient way. Beautiful soup Liberay is such a wonderful library in python. I highly recommend to explore it.</p><ul><li><strong>Programming languages and IDE:</strong> You must have deep knowing of modern programming languages like python is most popular now a days in data science field. And you should be familiar with IDE platforms like pycharm, jupyter and so on.</li><li><strong>Probability and maths:</strong> Polish your skills in maths like you have deeper understanding of linear algebra, calculus (chain rule etc ), different distance measures and statistical measures and so on.</li><li><strong>Machine learning :</strong> Don’t think that applying machine learning in filed is the job of MLOps or any other, no it’s you who will as a data Scientist , play with different ML models practically like random forest, decision tree, naïve Bayes, logistic regression, neural networks, linear regression, support vector machine etc etc .</li><li><strong>Deployment platforms:</strong> You need to get good understanding about specific most widely used deployment plateforms like amazon web services(AWS), Azure and so on.</li></ul><blockquote>Happy learning!!!!!</blockquote><p>Thanks</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4286ca60988c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Always set high goals in life for achieving success because there is chance where you will get loss…]]></title>
            <link>https://medium.com/@mariyazaib76/always-set-high-goals-in-life-for-achieving-success-because-there-is-chance-where-you-will-get-loss-3fad1e58fe9e?source=rss-10f59fd76326------2</link>
            <guid isPermaLink="false">https://medium.com/p/3fad1e58fe9e</guid>
            <dc:creator><![CDATA[Mariyazaib]]></dc:creator>
            <pubDate>Mon, 06 Feb 2023 17:23:19 GMT</pubDate>
            <atom:updated>2023-02-06T17:23:19.013Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/719/1*r8pYM78_HDpDf-5Ay5iMJw.png" /><figcaption>Aim higher</figcaption></figure><p>Always set high goals in life for achieving success because there is chance where you will get loss your Momentum at many stages, If you already set low aim OR target you will fall down more at the end, but if you set goals a little bit higher than expectations, you will achieve your goal by end at least, so aim Higher</p><blockquote>If you find it useful, do like</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3fad1e58fe9e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Without Data engineer, start is difficult]]></title>
            <link>https://medium.com/@mariyazaib76/without-data-engineer-start-is-difficult-9552c789101c?source=rss-10f59fd76326------2</link>
            <guid isPermaLink="false">https://medium.com/p/9552c789101c</guid>
            <dc:creator><![CDATA[Mariyazaib]]></dc:creator>
            <pubDate>Mon, 16 Jan 2023 10:10:02 GMT</pubDate>
            <atom:updated>2023-01-16T10:10:02.092Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/703/1*RcoR8QV3v7MjQPAyI0MdlA.png" /><figcaption>Without Data engineer, start is difficult</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9552c789101c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>