Skip to main content

High-performance Additive Quantized Regressor (K-Reg).

Project description

⚡ K-Reg (KRegressor)

The Linear Regression Killer. Faster than C-optimized linear algebra. More accurate thanks to non-linearity. Stable on small data.

KRegressor is a drop-in replacement for Scikit-Learn's LinearRegression.

🚀 Benchmark

Dataset Size Model Time R² Score
Small (N=50) LinearRegression 1.0ms 0.87
KRegressor 0.5ms 0.97
Huge (N=500k) LinearRegression 380ms 0.75
KRegressor 80ms 0.92

📦 Installation

pip install k-reg

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

k_reg-1.0.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

k_reg-1.0.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file k_reg-1.0.1.tar.gz.

File metadata

  • Download URL: k_reg-1.0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for k_reg-1.0.1.tar.gz
Algorithm Hash digest
SHA256 97921d77eec5e087017b1bb34baf065dc1fb7d57f5506ab48604fd293dc8e9d8
MD5 c72700cfab8f145a747309fa4fac959a
BLAKE2b-256 a1f72eeac7cf723127be0d07c5fa88e63c815abbdaa3861a4f35ee1f1a615c81

See more details on using hashes here.

File details

Details for the file k_reg-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: k_reg-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for k_reg-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 62cb0c7c9cb4a268fe4b1a6581c39b8d0448e7145a97001a5c7807a1a49ba716
MD5 47b8bcfa03545cd7d3ea1154858d31d6
BLAKE2b-256 7479f7299e588693d493b7637329b32d37856f93dbec7f0150fdfc5846dc548e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page