Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bgmp/svm
Support Vector Machine implementation written in Python
https://github.com/bgmp/svm
iris-dataset scikit-learn svm
Last synced: 3 days ago
JSON representation
Support Vector Machine implementation written in Python
- Host: GitHub
- URL: https://github.com/bgmp/svm
- Owner: BGMP
- Created: 2024-10-12T01:42:32.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-10-12T01:50:23.000Z (3 months ago)
- Last Synced: 2025-01-07T15:10:38.938Z (8 days ago)
- Topics: iris-dataset, scikit-learn, svm
- Language: TeX
- Homepage:
- Size: 221 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
SVM
===
A really simple implementation of the Support Vector Machine (SVM) algorithm, which is an effective tool for solving
classification and regression problems in machine learning.## Running
To run the program, first install the dependencies:
```bash
pip install -r requirements.txt
```Then run the main script:
```bash
python main.py
```## Results
The program will output the accuracy of the model, as well as a scatter plot of the data points and the decision
boundary.![image](plots/svm_decision_boundary_20241011_222144.png)
## Dependencies
### Python
- [Python 3.8 or above](https://www.python.org/downloads/)
- Python modules:
- numpy
- pandas
- scikit-learn
- matplotlib
- I suggest using venv & pip for development & dependency management. (In case of Apple Silicon use conda)## Notes
This project was written as part of the Masters in Computer Science course "Advanced Topics on Databases" at the
University of the Bío-Bío.