Welcome to the Machine Learning Projects repository! This repository contains several machine learning projects implemented in Python. Each project focuses on different datasets and algorithms, providing insights into various aspects of machine learning.
- Banknote Authentication
- Diabetes Prediction
- MNIST Handwritten Digits Classification
- Loan Prediction
- Decision Tree Classification on Drug Dataset
The Banknote Authentication project focuses on classifying banknotes as genuine or forged based on features such as variance, skewness, curtosis, and entropy. The classification task is performed using Decision Trees and K-Nearest Neighbors (KNN) algorithms.
The Diabetes Prediction project aims to predict whether a patient has diabetes based on diagnostic measures such as glucose level, blood pressure, skin thickness, etc. The prediction is made using the K-Nearest Neighbors (KNN) algorithm.
The MNIST Handwritten Digits Classification project involves classifying handwritten digits (0-9) from the famous MNIST dataset. Two different approaches are used: Decision Trees and Artificial Neural Networks (ANNs).
The Loan Prediction project predicts whether a loan application will be approved or not based on various features such as applicant income, loan amount, loan term, etc. The classification task is performed using Decision Trees.
The Decision Tree project demonstrates the use of Decision Trees for classification tasks. It includes examples such as the Banknote Authentication and Loan Prediction projects.
- Clone this repository:
git clone https://github.com/your-username/machine-learning-projects.git
cd machine-learning-projects
-
Navigate to the project directory you're interested in (e.g.,
Banknote Authentication and KNN Classification
,KNN Classification on Diabetes Dataset
,MNIST Dataset Analysis
,Loan Prediction Project
,Decision Tree Classification on Drug Dataset
). -
Run the Python script for the respective project.
python banknote_authentication.py
- Check the console output for results and follow any further instructions.
Ensure you have the following libraries installed:
- pandas
- numpy
- scikit-learn
- matplotlib
- tensorflow (for the MNIST Handwritten Digits Classification project)
You can install these libraries using pip:
pip install pandas numpy scikit-learn matplotlib tensorflow