Skip to content

Python implementation of Least Squares Support Vector Machine for classification on CPU (NumPy) and GPU (PyTorch).

License

Notifications You must be signed in to change notification settings

thuchula6792/LSSVM-GPU

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This repository contains a python implementation of the Least Squares Support Vector Machine (LSSVM) model on CPU and GPU, you can find a bit of theory and usage of the code on the LSSVC.ipynb jupyter notebook. For a more enjoyable view of the notebook: https://nbviewer.jupyter.org/github/RomuloDrumond/LSSVM/blob/master/LSSVC.ipynb

To install dependencies run pip install -r requirements.txt on the main directory.

Important libraries used:

  • Pandas, for loading and preprocessing of the data;
  • Sklearn, for scaling features;
  • Numpy, for matrices computation on CPU version;
  • PyTorch, for matrices computations on GPU version;
  • Scipy, for the fast cdist function;

About

Python implementation of Least Squares Support Vector Machine for classification on CPU (NumPy) and GPU (PyTorch).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 52.2%
  • Jupyter Notebook 47.8%