Skip to main content

⚡ 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" (no X_aug allocation)
  • v19 adds interaction autopilot (feature selection + (A+B)/(A-B) interactions)

Metadata

Release files for k-reg 2.0.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 k-reg 2.0.0
File Size Uploaded Provenance
k_reg-2.0.0.tar.gz 5.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for k-reg 2.0.0
File Interpreter ABI Platform
k_reg-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.8 kB

Release files / k_reg-2.0.0.tar.gz

Download URL k_reg-2.0.0.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ee7d0b955f602393a22bc0421205cccc0314ce815166e584a68941675cad71f4
BLAKE2b-256 checksum
How to use checksums
63ccdb1640ac520b7098a4b5b66220b6a7c87b024041842cb1690b0fffa200b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / k_reg-2.0.0-py3-none-any.whl

Download URL k_reg-2.0.0-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec8076396229fe8c4f9a5757ca2df5eb95081e3c705ccd8d3bd9c33e4d6e80ef
BLAKE2b-256 checksum
How to use checksums
e0ba0290db18f4508dc36143728c4bb0b163aef11f8b3bd68fc3652c822c58f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Security for k-reg 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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