This repository contains implementations of various machine learning algorithms using Python. Each algorithm is implemented as a separate script, making it easy to understand and experiment with different techniques.
Machine-Learning-Algorithms/
βββ MachineLearning/
β βββ DecisionTree.py
β βββ DummyVariables.py
β βββ Ensemble_learning.py
β βββ Gradient_descent.py
β βββ HyperParameterTuning.py
β βββ KNN.py
β βββ K_Fold_crossvalidation.py
β βββ K_Means_Clustering.py
β βββ GD3.py
βββ README.md
- Decision Tree - Implementation of decision tree classification.
- Dummy Variables - Handling categorical variables for ML models.
- Ensemble Learning - Combining multiple models for better predictions.
- Gradient Descent - Optimization algorithm for model training.
- Hyperparameter Tuning - Methods to optimize model performance.
- K-Nearest Neighbors (KNN) - Instance-based learning method.
- K-Fold Cross-Validation - Model evaluation technique.
- K-Means Clustering - Unsupervised learning for clustering.
- Clone the repository:
git clone https://github.com/ayushbhopal/Machine-Learning-Algorithms.git
- Navigate to the folder:
cd Machine-Learning-Algorithms/MachineLearning - Install required dependencies:
pip install numpy pandas scikit-learn matplotlib
- Run any script:
python DecisionTree.py
Feel free to fork this repository and contribute by improving the implementations or adding new algorithms!