High-performance non-linear K-Regressor (v19, predict=stream).
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==2.0.0
✅ v2.0.0 notes
- Default inference is
predict_mode="stream"(noX_augallocation) - v19 adds interaction autopilot (feature selection + (A+B)/(A-B) interactions)
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-2.0.0.tar.gz
(5.5 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-2.0.0-py3-none-any.whl
(6.4 kB
view details)
File details
Details for the file k_reg-2.0.0.tar.gz.
File metadata
- Download URL: k_reg-2.0.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee7d0b955f602393a22bc0421205cccc0314ce815166e584a68941675cad71f4
|
|
| MD5 |
e36ef6dae9da76e64250e695c89e240e
|
|
| BLAKE2b-256 |
63ccdb1640ac520b7098a4b5b66220b6a7c87b024041842cb1690b0fffa200b0
|
File details
Details for the file k_reg-2.0.0-py3-none-any.whl.
File metadata
- Download URL: k_reg-2.0.0-py3-none-any.whl
- Upload date:
- Size: 6.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 |
ec8076396229fe8c4f9a5757ca2df5eb95081e3c705ccd8d3bd9c33e4d6e80ef
|
|
| MD5 |
393b515d2044b8d8fb572c95c3e84c80
|
|
| BLAKE2b-256 |
e0ba0290db18f4508dc36143728c4bb0b163aef11f8b3bd68fc3652c822c58f9
|