<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: AbuBakar Shabbir</title>
    <description>The latest articles on DEV Community by AbuBakar Shabbir (@abubakar_shabbir).</description>
    <link>https://dev.to/abubakar_shabbir</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2087221%2F93a01409-31cf-477e-810f-7a772977ce8d.png</url>
      <title>DEV Community: AbuBakar Shabbir</title>
      <link>https://dev.to/abubakar_shabbir</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abubakar_shabbir"/>
    <language>en</language>
    <item>
      <title>🩺 NephroPredict: Machine Learning for Chronic Kidney Disease Detection</title>
      <dc:creator>AbuBakar Shabbir</dc:creator>
      <pubDate>Sun, 07 Sep 2025 20:31:58 +0000</pubDate>
      <link>https://dev.to/abubakar_shabbir/nephropredict-machine-learning-for-chronic-kidney-disease-detection-2nc8</link>
      <guid>https://dev.to/abubakar_shabbir/nephropredict-machine-learning-for-chronic-kidney-disease-detection-2nc8</guid>
      <description>&lt;p&gt;Chronic Kidney Disease (CKD) is a global health concern affecting millions of people worldwide. Early detection is crucial, as timely intervention can significantly reduce the need for dialysis and kidney transplants.  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;NephroPredict&lt;/strong&gt; is a machine learning-based project designed to provide an efficient solution for early CKD detection using clinical and laboratory data.&lt;/p&gt;




&lt;h2&gt;
  
  
  Project Overview
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Goal&lt;/strong&gt;: Early detection of CKD using predictive machine learning models
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dataset&lt;/strong&gt;: Chronic Kidney Disease dataset (UCI Repository)
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Approach&lt;/strong&gt;: Implemented multiple ML models such as Logistic Regression, KNN, SVM, Decision Tree, and Random Forest
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tuning&lt;/strong&gt;: Applied hyperparameter tuning (GridSearchCV) to improve model performance
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Evaluation Metrics&lt;/strong&gt;: Accuracy, Precision, Recall, F1-score, and Cross-validation scores
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx3hrgu8s93zmkjxnet8z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx3hrgu8s93zmkjxnet8z.png" alt=" " width="800" height="372"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Attributes Used
&lt;/h2&gt;

&lt;p&gt;The dataset consists of important medical attributes, including:  &lt;/p&gt;

&lt;p&gt;&lt;code&gt;Blood Pressure (Bp), Specific Gravity (Sg), Albumin (Al), Sugar (Su), Red Blood Cells (Rbc), Blood Urea (Bu), Serum Creatinine (Sc), Sodium (Sod), Potassium (Pot), Hemoglobin (Hemo), White Blood Cell Count (Wbcc), Red Blood Cell Count (Rbcc), Hypertension (Htn), Class (Target Variable)&lt;/code&gt;  &lt;/p&gt;




&lt;h2&gt;
  
  
  Models &amp;amp; Results
&lt;/h2&gt;

&lt;p&gt;The following models were implemented and compared &lt;strong&gt;before and after hyperparameter tuning&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Logistic Regression&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;K-Nearest Neighbors (KNN)&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Support Vector Machine (SVM)&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Decision Tree&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Random Forest&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Key Findings
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Logistic Regression and KNN showed slight improvement after tuning, but also signs of overfitting
&lt;/li&gt;
&lt;li&gt;SVM significantly improved after tuning, highlighting the importance of kernel and regularization
&lt;/li&gt;
&lt;li&gt;Decision Tree accuracy dropped after tuning, showing sensitivity to depth and splitting criteria
&lt;/li&gt;
&lt;li&gt;Random Forest consistently achieved the best results with &lt;strong&gt;100% training accuracy&lt;/strong&gt; and &lt;strong&gt;96.55% test accuracy&lt;/strong&gt;, making it the most robust model
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;: Random Forest is the most reliable model for this dataset and is recommended for CKD prediction.  &lt;/p&gt;




&lt;h2&gt;
  
  
  📈 Visualization
&lt;/h2&gt;

&lt;p&gt;The project includes professional visualizations such as styled tables and bar charts for comparing model performance.  &lt;/p&gt;




&lt;h2&gt;
  
  
  Repository
&lt;/h2&gt;

&lt;p&gt;The complete source code, dataset, and notebook are available on GitHub:  &lt;/p&gt;

&lt;p&gt;🔗 &lt;a href="https://github.com/Abubakar-Shabbir/Machine-Learning-for-Chronic-Kidney-Disease-Detection" rel="noopener noreferrer"&gt;Machine Learning for Chronic Kidney Disease Detection&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  👨‍💻 Author
&lt;/h2&gt;

&lt;p&gt;Developed by &lt;strong&gt;Abubakar Shabbir&lt;/strong&gt;  &lt;/p&gt;




&lt;h2&gt;
  
  
  📜 License
&lt;/h2&gt;

&lt;p&gt;This project is licensed under the &lt;strong&gt;MIT License&lt;/strong&gt; – feel free to use, modify, and share.  &lt;/p&gt;




&lt;p&gt;✨ &lt;em&gt;If you found this project helpful, don’t forget to leave a ⭐ on GitHub!&lt;/em&gt;  &lt;/p&gt;

</description>
      <category>programming</category>
      <category>kidney</category>
      <category>ai</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title># CardioInsight: Machine Learning-Based Heart Risk Prediction</title>
      <dc:creator>AbuBakar Shabbir</dc:creator>
      <pubDate>Fri, 05 Sep 2025 13:56:32 +0000</pubDate>
      <link>https://dev.to/abubakar_shabbir/-cardioinsight-machine-learning-based-heart-risk-prediction-120l</link>
      <guid>https://dev.to/abubakar_shabbir/-cardioinsight-machine-learning-based-heart-risk-prediction-120l</guid>
      <description>&lt;h1&gt;
  
  
  CardioInsight: Machine Learning-Based Heart Risk Prediction
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Project Overview
&lt;/h2&gt;

&lt;p&gt;CardioInsight is an advanced machine learning project designed to predict cardiovascular risk in patients using clinical data. By analyzing key features such as age, cholesterol levels, and chest pain type, the system identifies high-risk individuals with remarkable accuracy, supporting early detection and preventive care. The project uses a Random Forest Classifier as the primary model along with feature selection techniques to ensure reliable and interpretable predictions.  &lt;/p&gt;

&lt;p&gt;Multiple models were trained and evaluated, including &lt;strong&gt;Logistic Regression, Decision Tree, K-Nearest Neighbors, Support Vector Machine, and Random Forest&lt;/strong&gt;, to select the best-performing model for deployment. Detailed evaluation metrics were recorded to compare performance and reliability.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;High-Performance Prediction&lt;/strong&gt;: Achieves over 98% test accuracy with Random Forest.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Insightful Feature Analysis&lt;/strong&gt;: Identifies the most significant clinical features affecting heart disease risk.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data Visualization&lt;/strong&gt;: Correlation heatmaps, feature importance plots, and model evaluation charts included.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scalable &amp;amp; Modular&lt;/strong&gt;: Easily adaptable to new datasets or alternative ML models.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multi-Model Evaluation&lt;/strong&gt;: Allows comparison of multiple models to select the most effective one.
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Trained Models &amp;amp; Metrics
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Accuracy&lt;/th&gt;
&lt;th&gt;Precision&lt;/th&gt;
&lt;th&gt;Recall&lt;/th&gt;
&lt;th&gt;F1-Score&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Logistic Regression&lt;/td&gt;
&lt;td&gt;86.6412&lt;/td&gt;
&lt;td&gt;83.8509&lt;/td&gt;
&lt;td&gt;93.75&lt;/td&gt;
&lt;td&gt;88.5246&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Decision Tree&lt;/td&gt;
&lt;td&gt;97.3282&lt;/td&gt;
&lt;td&gt;97.2414&lt;/td&gt;
&lt;td&gt;97.9167&lt;/td&gt;
&lt;td&gt;97.5779&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Random Forest&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;98.4733&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;97.2973&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;100&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;98.6301&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gradient Boosting&lt;/td&gt;
&lt;td&gt;96.9466&lt;/td&gt;
&lt;td&gt;95.9459&lt;/td&gt;
&lt;td&gt;98.6111&lt;/td&gt;
&lt;td&gt;97.2603&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SVM&lt;/td&gt;
&lt;td&gt;89.6947&lt;/td&gt;
&lt;td&gt;87.7419&lt;/td&gt;
&lt;td&gt;94.4444&lt;/td&gt;
&lt;td&gt;90.9699&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;KNN&lt;/td&gt;
&lt;td&gt;87.0229&lt;/td&gt;
&lt;td&gt;89.2857&lt;/td&gt;
&lt;td&gt;86.8056&lt;/td&gt;
&lt;td&gt;88.0282&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Top Features
&lt;/h2&gt;

&lt;p&gt;The following features were found to be most important in predicting heart disease risk:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Age&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cholesterol levels&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Chest pain type (Typical angina)&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to Use
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Clone the repository:&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/Abubakar-Shabbir/HeartScope-Predictive-ML-for-Cardiovascular-Risk.git
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Install the dependencies:&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; requirements.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Open the Jupyter Notebook&lt;/strong&gt;
Navigate to the notebook file to explore data analysis, modeling, and visualizations:
Notebooks/HeartScope_Predictive ML for Cardiovascular Risk.ipynb&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Author
&lt;/h2&gt;

&lt;p&gt;Abubakar Shabbir&lt;/p&gt;

&lt;h2&gt;
  
  
  License
&lt;/h2&gt;

&lt;p&gt;&lt;a href="//./LICENSE"&gt;MIT License&lt;/a&gt; © 2025 Abubakar Shabbir.&lt;/p&gt;

&lt;p&gt;GitHub Repository: &lt;a href="https://github.com/Abubakar-Shabbir/HeartScope-Predictive-ML-for-Cardiovascular-Risk" rel="noopener noreferrer"&gt;CardioInsight: Machine Learning-Based Heart Risk Prediction&lt;/a&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>machinelearning</category>
      <category>python</category>
      <category>healthcare</category>
    </item>
    <item>
      <title>Election Management System (EMS) – Secure Web-Based Digital Voting Platform</title>
      <dc:creator>AbuBakar Shabbir</dc:creator>
      <pubDate>Wed, 20 Aug 2025 15:51:25 +0000</pubDate>
      <link>https://dev.to/abubakar_shabbir/election-management-system-ems-secure-web-based-digital-voting-platform-228a</link>
      <guid>https://dev.to/abubakar_shabbir/election-management-system-ems-secure-web-based-digital-voting-platform-228a</guid>
      <description>&lt;p&gt;I, &lt;strong&gt;Abubakar Shabbir&lt;/strong&gt;, built the &lt;strong&gt;Election Management System (EMS)&lt;/strong&gt;, a modern, secure, and user-friendly digital voting web application using &lt;strong&gt;Python, Django, MySQL, and Bootstrap&lt;/strong&gt;. This platform provides a transparent and efficient way to manage elections, handle voter registration, and monitor results in real-time.&lt;/p&gt;

&lt;h2&gt;
  
  
  🔹 Key Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Secure Voter Management:&lt;/strong&gt; Register voters and allow secure logins with OTP verification.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OTP Authentication:&lt;/strong&gt; Email OTP ensures only verified voters can access the system.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Role-Based Access:&lt;/strong&gt; Separate dashboards for Admins, Voters, and Candidates.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Admin Dashboard:&lt;/strong&gt; Add and manage candidates, control elections, monitor voters, and view real-time results.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Voting Panel:&lt;/strong&gt; One vote per voter linked to a unique CNIC, preventing duplicate voting.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Real-Time Election Results:&lt;/strong&gt; Display results by constituency and party for transparency.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deployment Ready:&lt;/strong&gt; Can run locally or on a live server with MySQL backend.
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🔹 Technology Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Backend:&lt;/strong&gt; Python, Django
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Frontend:&lt;/strong&gt; Bootstrap, HTML, CSS
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Database:&lt;/strong&gt; MySQL
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Authentication:&lt;/strong&gt; OTP via Gmail SMTP
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🔹 Why EMS is Valuable
&lt;/h2&gt;

&lt;p&gt;This project is ideal for secure election management for &lt;strong&gt;educational institutions, organizations, or local communities&lt;/strong&gt;. It emphasizes security, transparency, and user experience, making voting easier and tamper-proof.&lt;/p&gt;

&lt;h2&gt;
  
  
  🔹 Voter Panel
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyhyvhix790uvuj342xh6.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyhyvhix790uvuj342xh6.PNG" alt=" " width="800" height="370"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The Voter Panel displays only the elections that have been created and approved by the admin. Each voter can view the elections they are eligible for and cast their vote securely within the specified election. This ensures role-specific access and prevents any unauthorized voting.&lt;/p&gt;

&lt;h2&gt;
  
  
  🔹 About Me
&lt;/h2&gt;

&lt;p&gt;This project was developed by &lt;strong&gt;Abubakar Shabbir&lt;/strong&gt;, focusing on secure web applications and modern software engineering practices.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/abubakar-shabbir/Election-Management-System" rel="noopener noreferrer"&gt;Election Management System&lt;/a&gt;&lt;/p&gt;




</description>
      <category>webdev</category>
      <category>python</category>
      <category>django</category>
      <category>abubakarshabbir</category>
    </item>
    <item>
      <title>Relative Grade Calculator</title>
      <dc:creator>AbuBakar Shabbir</dc:creator>
      <pubDate>Tue, 17 Sep 2024 14:24:45 +0000</pubDate>
      <link>https://dev.to/abubakar_shabbir/relative-grade-calculator-13ko</link>
      <guid>https://dev.to/abubakar_shabbir/relative-grade-calculator-13ko</guid>
      <description>&lt;p&gt;&lt;strong&gt;Check out this is a relative grade calculator. By entering your own marks and highest marks of class you can find your grade according to university grading process&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/AbuBakar-Shabbir/embed/BaggZmZ?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
      <category>codepen</category>
      <category>javascript</category>
      <category>css</category>
      <category>html</category>
    </item>
  </channel>
</rss>
