Basic Machine Learning Algorithms
This repository contains basic Machine Learning algorithms implementation in both Python and R. The algorithms are as follows:
Supervised Algorithms
- Decision Tree Classification
- Decision Tree Regression
- Kernel SVM
- K-Nearest Neightbors
- Logistic Regression
- Multiple Linear Regression
- Naive Bayes
- Polynomial Regression
- Random Forest Classification
- Random Forest Regression
- Simple Linear Regression
- Support Vector Machine Classification
- Support Vector Regression
Unsupervised Algorithms
Execution
Python and R scripts are provided for every algorithm.
Python
To run the python script run the following command.
# Go to the Models Directory
cd "Decision Tree Classification"
# Run the corresponding python script
python3 decision_tree.py
R
Load the R script in R studio and simply run the file.
References
- The code and the datsets belong to the Machine Learning Course at Udemy.