Welcome to the Raw Models Implementation project! This repository contains implementations of various machine learning models using Python and NumPy. The goal of this project is to provide clear and concise implementations of linear models, decision tree-based models (boosting and bagging), and neural network models, all written using only NumPy for educational purposes.
Machine learning is a fascinating field, and understanding the inner workings of different algorithms is crucial for mastering it. This project aims to help individuals grasp the fundamentals by providing implementations of key machine learning models.
- Linear Regression: Simple linear regression using gradient descent.
- Logistic Regression: Binary classification using logistic regression.
- Decision Trees: Implementation of a basic decision tree for classification.
- Random Forest: Ensemble method combining multiple decision trees for improved performance.
- Gradient Boosting: Boosting technique using decision trees as weak learners.
- Feedforward Neural Network (FNN): Implementation of a basic feedforward neural network with customizable architecture.
- Backpropagation: Implementation of the backpropagation algorithm for training neural networks.
To use any of the implemented models, follow these general steps:
-
Clone the repository:
git clone https://github.com/Nunyapa/raw_models.git cd raw_models
-
Choose the model you want to explore from the appropriate directory.
-
Open the Python script in your favorite editor or Jupyter notebook.
-
Run the script to see the model in action.
Feel free to modify the models and experiment with different datasets.
The implementations in this project rely on the following libraries:
- NumPy
You can install the required dependencies using the following command:
pip install numpy
If you'd like to contribute to this project, please follow the contribution guidelines. Contributions, suggestions, and bug reports are highly encouraged!
This project is licensed under the MIT License - see the LICENSE file for details. Feel free to use, modify, and distribute the code for educational and non-commercial purposes.