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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
k_reg-1.0.0-py3-none-any.whl
(3.4 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94aa5f97b1f4f29101fd237e562cf69e703b605aad5a7c85df73921d05c0316c
|
|
| MD5 |
7521d7a741862173f58226676c326ef0
|
|
| BLAKE2b-256 |
b4ca8f4627ae479676c7097b76c3d8f27635476f0953c1542848b002fc760613
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2de9239799aa0371afb8ad170a26f50065e4a4f40d4c60e868a9450dba789043
|
|
| MD5 |
4c1bd1c1fa178ab6c0431d5d48a6c9d3
|
|
| BLAKE2b-256 |
b6d49ce1d4deed0e2824d7e0ab49231df9890e84b8281dcf8c2a03d04ac8f91d
|