<?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 Chinta Sandhya Rani on Medium]]></title>
        <description><![CDATA[Stories by Chinta Sandhya Rani on Medium]]></description>
        <link>https://medium.com/@chintasandhyarani973?source=rss-54a45258bdb1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*MczT7-wbwG1IfI0o</url>
            <title>Stories by Chinta Sandhya Rani on Medium</title>
            <link>https://medium.com/@chintasandhyarani973?source=rss-54a45258bdb1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 03:36:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@chintasandhyarani973/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[CRISP ML(Q) Methodology in Machine Learning]]></title>
            <link>https://medium.com/@chintasandhyarani973/crisp-ml-q-methodology-in-machine-learning-889bf799b739?source=rss-54a45258bdb1------2</link>
            <guid isPermaLink="false">https://medium.com/p/889bf799b739</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[model-evaluation]]></category>
            <category><![CDATA[data-preparation]]></category>
            <dc:creator><![CDATA[Chinta Sandhya Rani]]></dc:creator>
            <pubDate>Wed, 06 Mar 2024 04:59:48 GMT</pubDate>
            <atom:updated>2024-03-06T04:59:48.079Z</atom:updated>
            <content:encoded><![CDATA[<p>CRISP ML(Q) — Cross Industry Standard Process for Machine learning with Quality Assurance</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/582/0*Rs2cCykMAmzEPnTF" /></figure><p><strong>It consists of six phases:</strong></p><p>1. Business and Data Understanding</p><p>2. Data preparation</p><p>3. Model Building</p><p>4. Model evaluation</p><p>5. Model Deployment</p><p>6. Monitoring &amp; Maintenance</p><h4><strong>1.Business Understanding:</strong></h4><p><strong>Problem Understanding: </strong>Understanding the problem statement and its implications on other factors.</p><p><strong>Objective: </strong>Identifying the main goal of addressing the problem.</p><p><strong>Constraints: </strong>Recognizing any limitations or restrictions that may impact the solution process, such as time constraints, resource availability, budget limitations, and regulatory requirements.</p><p><strong>Success Criteria</strong>: Defining specific metrics to measure the success of the solution, including ML success metrics, business success indicators, and economic implications.</p><p><strong>Data Understanding:</strong></p><p>1. <strong>Data Types:</strong> Understanding whether the data is discrete or continuous. Discrete data consists of distinct, separate values, while continuous data can take any value within a range.</p><p>2. <strong>Data collection:</strong> Structure or unstructured data. Structured data is organized and formatted in a specific way, databases or spreadsheets. Unstructured data lacks a predefined data model or organization, such as text documents, images, or social media posts.</p><h4><strong>2.Data preparation:</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/758/0*GJu32OuonYiyKyws.jpg" /></figure><p><strong>Exploratory Data Analysis:</strong> EDA involves examining and visualizing the data to understand its characteristics, detecting outliers, missing values, duplicates ,identify patterns and gain insights that inform subsequent analysis. It helps to find relationships between variables and understanding the distribution of data.</p><p><strong>Data Preprocessing :</strong> Data Preprocessing involves cleaning and transforming the data to address issues such as missing values, outliers, or inconsistencies. It may also involve normalization, scaling, or encoding categorical variables to prepare the data for modelling.</p><p><strong>Feature extraction: </strong>Feature extraction involves selecting or creating relevant features from the raw data to represent the underlying patterns or relationships effectively. It aims to reduce dimensionality, improve model performance.</p><h4><strong>3.Model Building:</strong></h4><p>Data Splitting: Utilize the train-test-validation data splitting method to create data subsets for model training, evaluation, and validation.</p><p>Supervised Learning Algorithms: These algorithms make predictions based on labelled data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MCnUuAa9iLuuBPvF.jpg" /></figure><p><strong>Regression Models: </strong>Simple linear regression, Decision Tree, Support Vector Machine (SVM), k-Nearest Neighbors (kNN),XGBoost regression, Other regression techniques.</p><p><strong>Classification models:</strong> The models are based on binary, multi-class, multi-label, categorical classification output. These are logistic, decision tree, s SVM, Naive Bayes, KNN, and other classification models.</p><h4><strong>4. Model Evaluation:</strong></h4><p>The model evaluation is based on the type of accuracy measures and error functions. It helps to increase the performance and efficiency of the model.</p><ol><li>If the output label is continuous, We can use metrics like MAE, MSE, RMSE, R2, and Adjusted R2.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/393/0*bwmD0JTRnhtDggP-.JPG" /></figure><p>2. If the output label is discrete, we can use metrics like the confusion matrix that itself uses metrics like accuracy, precision, recall, ROC, AUC, F1 score, and other metrics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/0*P4e9GteyyoqzY7A9" /></figure><p>3. Confusion matrix helps in visualizing the performance of classification models by presenting the counts of true positive, true negative, false positive, and false negative predictions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/285/0*tDuk-76eeeudBvnC" /></figure><h3><strong>5.Model Deployment:</strong></h3><p>· Deliver the application to end users.</p><p>· Use hardware/software like Streamlit to deliver the application to users.</p><h3><strong>6.Monitoring &amp; Maintenance</strong></h3><p>· Monitor how our application is working.</p><p>· Identify factors that affect our application’s performance.</p><p>· Address any system degradation or issues that arise.</p><h3><strong>Conclusion:</strong></h3><p>The CRISP-ML(Q) process offers a systematic approach to machine learning project development, highlighting the need to make sure ML solutions fit with business goals, ensuring data quality, selecting appropriate models, and maintaining performance post-deployment.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=889bf799b739" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[K-Nearest Neighbors (KNN)]]></title>
            <link>https://medium.com/@chintasandhyarani973/k-nearest-neighbors-knn-bffa8c91d2c0?source=rss-54a45258bdb1------2</link>
            <guid isPermaLink="false">https://medium.com/p/bffa8c91d2c0</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[supervised-learning]]></category>
            <dc:creator><![CDATA[Chinta Sandhya Rani]]></dc:creator>
            <pubDate>Mon, 04 Mar 2024 10:11:52 GMT</pubDate>
            <atom:updated>2024-03-04T10:11:52.997Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction:</h3><p>“KNN, the K-nearest neighbors, is a fundamental machine learning algorithm applicable to both classification and regression tasks, primarily used for label data in supervised learning. Its principle centred around predicting the correct class or value for test data by calculating the distance between the test instance and all training points. As a distance-based algorithm, KNN determines the k-nearest neighbors of the test instance based on a chosen distance metric. Here, ‘k’ denotes the number of closest data points considered. KNN is also called the “lazy learning technique”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*KpaWWW08nfLmeFlO.png" /></figure><h3><strong>HOW KNN WORKS:</strong></h3><p>1. Set the value of k.</p><p>2. Calculate the distance between the query point and all data points.</p><p>3. Sort the collection of distances and indices from smallest to largest (in ascending order) based on the calculated distances.</p><p>4. Select the first K entries from the sorted collection.</p><p>5. Retrieve the labels of the selected K entries.</p><p>6. For regression tasks, calculate and return the mean of the K labels.</p><p>7. For classification tasks, calculate and return the mode of the K labels.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/949/0*tF3UECIRhCq4tMTN.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/574/0*kKBQnCmosvWB0RAM.png" /></figure><h3>Choosing K value:</h3><p>The selection of the ‘k’ value significantly impacts the accuracy and generalization ability of a model. By employing K-fold cross-validation, we can systematically evaluate the model’s performance across different ‘k’ values and choose the optimal one that yields the best accuracy and ensures unbiased results.</p><h3><strong>Applications of KNN:</strong></h3><p>· <strong>Anomaly Detection</strong>: Detect anomalies or outliers in datasets.</p><p>· <strong>Classification</strong>: Categorize items into different classes based on features.</p><p>· <strong>Recommendation Systems</strong>: Recommend products or items based on user preferences.</p><p>· <strong>Medical Diagnosis</strong>: Assist healthcare professionals in disease diagnosis and patient classification.</p><p>· <strong>Credit Risk Assessment</strong>: Identify risky or fraudulent behaviour in financial services.</p><h3><strong>Advantages of KNN Algorithm:</strong></h3><p>· Simple to understand and implement.</p><p>· Does not require a training phase.</p><p>· Versatile in various domains.</p><p>· Effective with large training datasets.</p><h3><strong>Disadvantages of KNN Algorithm:</strong></h3><p>· Determining the value of K can sometimes be tricky.</p><p>· Calculating distances between data points for all training samples can be time consuming.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bffa8c91d2c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>