LSSVM
Python implementation of Least Squares Support Vector Machine for classification on CPU (NumPy) and GPU (PyTorch).
Install / Use
/learn @RomuloDrumond/LSSVMREADME
LSSVM - Least Squares Support Vector Machine
This repository contains a Python implementation of the Least Squares Support Vector Machine (LSSVM) model for both CPU and GPU. You can find theory and usage examples in the LSSVC.ipynb Jupyter notebook.
For a better viewing experience of the notebook: https://nbviewer.jupyter.org/github/RomuloDrumond/LSSVM/blob/main/LSSVC.ipynb
Installation
To use LSSVM in your project, install it from PyPI (when available):
# Install from PyPI (when available)
pip install lssvm
Alternatively, you can install it directly from the source:
git clone https://github.com/RomuloDrumond/LSSVM.git
cd LSSVM
pip install .
Contributing and Development
Contributions are welcome! We use modern Python development practices with a focus on code quality and comprehensive testing.
Quick Start for Contributors
- Fork and clone the repository.
- Set up the development environment. This project uses uv for dependency management.
# If you don't have uv, install it first make install-uv # Install dependencies make install-dev - Create a new branch for your feature or bug fix.
- Implement your changes. Make sure to add tests for any new functionality.
- Run checks before committing. This ensures your changes meet our quality standards.
make pre-commit - Submit a pull request.
Development Commands
The Makefile contains several commands to streamline development. Run make help to see all options.
make check: Run linting and type checking.make test: Run all tests.make test-fast: Run fast unit and integration tests.make test-slow: Run slow benchmark and complex dataset tests.
Related Skills
openhue
344.4kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
344.4kElevenLabs text-to-speech with mac-style say UX.
weather
344.4kGet current weather and forecasts via wttr.in or Open-Meteo
tweakcc
1.5kCustomize Claude Code's system prompts, create custom toolsets, input pattern highlighters, themes/thinking verbs/spinners, customize input box & user message styling, support AGENTS.md, unlock private/unreleased features, and much more. Supports both native/npm installs on all platforms.
