https://github.com/pathak-ashutosh/ml-from-scratch
A directory of ML algorithms implemented from scratch by me
https://github.com/pathak-ashutosh/ml-from-scratch
Last synced: 3 months ago
JSON representation
A directory of ML algorithms implemented from scratch by me
- Host: GitHub
- URL: https://github.com/pathak-ashutosh/ml-from-scratch
- Owner: pathak-ashutosh
- Created: 2024-07-15T15:58:11.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-22T00:11:00.000Z (9 months ago)
- Last Synced: 2025-01-02T01:26:52.167Z (5 months ago)
- Language: Python
- Size: 106 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Machine Learning from Scratch
This repository contains implementations of various machine learning algorithms from scratch using only pandas and matplotlib (and occasionally numpy). The purpose of this repository is to help me understand the inner workings of machine learning algorithms and to improve my understanding of the mathematics behind them.
## Algorithms Implemented
1. [Linear Regression](https://github.com/pathak-ashutosh/ml-from-scratch/tree/main/linear-regression)
## Dependencies
- pandas
- matplotlib## Usage
To run the code, simply clone the repository and run the following command:
```bash
cd ml-from-scratch
cd [your desired algorithm folder]
python3 [your desired file].py
```For example, to run the linear regression single variable implementation, you would run the following commands:
```bash
cd ml-from-scratch
cd linear-regression
python3 single_var.py
```> Note: If you want to use your own data, just place the file inside the data directory and update the `filepath` in the respective python file.
## License
This repository is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.
## Author
- [Ashutosh Pathak](https://ashutoshpathak.net)