Skip to main content

skl2neonsvm

PyPI - Version PyPI - Python Version

Library for converting scikit-learn SVM-based classification and regression models to neonsvm YAML format for optimized inference on ARM devices using C++ library neonsvm.

Installation

From PyPi

pip install skl2neonsvm

From repository

pip install git+https://github.com/R3dKar/sklearn-neonsvm

Usage

# Training model
from sklearn.datasets import make_classification
from sklearn.svm import SVC

X, y = make_classification(random_state=42)
model = SVC().fit(X, y)

# Converting and exporting
from skl2neonsvm import to_neonsvm

data = to_neonsvm(model)
with open("model.yaml", "w") as f:
    f.write(data)

Supported models

All models of submodule sklearn.svm are supported.

Supported classification models:

  • SVC
  • NuSVC
  • LinearSVC
  • OneClassSVM

Supported regression models:

  • SVR
  • NuSVR
  • LinearSVR

Metadata

Release files for skl2neonsvm 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for skl2neonsvm 0.1.0
File Size Uploaded
skl2neonsvm-0.1.0.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for skl2neonsvm 0.1.0
File Interpreter ABI Platform
skl2neonsvm-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.7 kB

Release files / skl2neonsvm-0.1.0.tar.gz

Download URL skl2neonsvm-0.1.0.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
56959fdd9234ccad0b950cfce5df6f069c60f2eb497863f991db7e0a6fb3dd54
BLAKE2b-256 checksum
How to use checksums
a2eee9c6a9fe4eb7a9bc7834c75752b864b0c79b838ebeb8a24f7c3568314e66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / skl2neonsvm-0.1.0-py3-none-any.whl

Download URL skl2neonsvm-0.1.0-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c581e227e9e92dfd308d47208462b7ec1302a8e69bdbc947c3744edb738e404
BLAKE2b-256 checksum
How to use checksums
327a062be154746a89c595ec0657e303558fc628f6070451869b7f065b0f5abf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page