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.0.tar.gz (3.3 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.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: k_reg-1.0.0.tar.gz
  • Upload date:
  • Size: 3.3 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.0.tar.gz
Algorithm Hash digest
SHA256 94aa5f97b1f4f29101fd237e562cf69e703b605aad5a7c85df73921d05c0316c
MD5 7521d7a741862173f58226676c326ef0
BLAKE2b-256 b4ca8f4627ae479676c7097b76c3d8f27635476f0953c1542848b002fc760613

See more details on using hashes here.

File details

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

File metadata

  • Download URL: k_reg-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2de9239799aa0371afb8ad170a26f50065e4a4f40d4c60e868a9450dba789043
MD5 4c1bd1c1fa178ab6c0431d5d48a6c9d3
BLAKE2b-256 b6d49ce1d4deed0e2824d7e0ab49231df9890e84b8281dcf8c2a03d04ac8f91d

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