Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.