Skip to main content

Fast OLS and TLS regression using Rust backend

Project description

rustgression

PyPI Downloads CI License: MIT

This project provides fast regression analysis (OLS, TLS) as a Python package.

Overview

rustgression provides high-performance regression analysis tools implemented in Rust as a Python package. It includes the following features.

  • Ordinary Least Squares (OLS): Minimizes the sum of squared vertical residuals (errors in y only). Assumes x is measured without error.
  • Total Least Squares (TLS): Minimizes the sum of squared orthogonal (perpendicular) distances from data points to the fitted line. Accounts for measurement errors in both x and y.

This package targets Python version 3.11 and above.

Installation

Using pip:

pip install rustgression

Using uv:

uv add rustgression

Documentation

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

rustgression-0.5.1-cp311-cp311-win_amd64.whl (211.9 kB view details)

Uploaded CPython 3.11Windows x86-64

rustgression-0.5.1-cp311-cp311-manylinux_2_35_x86_64.whl (361.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.35+ x86-64

rustgression-0.5.1-cp311-cp311-macosx_11_0_arm64.whl (313.8 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file rustgression-0.5.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for rustgression-0.5.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 548db1f40bbc48009548244e38906985cc0c9f6ddd59a2fc9df282f275704394
MD5 65c8233ab2ae15a8cee084617f1ab74a
BLAKE2b-256 c3d6a6001cd64e137ef68796b50e159f71597a4cf9ccf3d27fb1b8943b4a6002

See more details on using hashes here.

File details

Details for the file rustgression-0.5.1-cp311-cp311-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for rustgression-0.5.1-cp311-cp311-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 79ddcc4c51e68d43cd41f8cfd336f7bad519c833430958d69536c43e7e6a9607
MD5 0de2b1d045e34546e5fa1e2965b97fb0
BLAKE2b-256 89e3da8b6e57530a364f4d135f350f984ce4f929c68ac9da077702b2c23f1d44

See more details on using hashes here.

File details

Details for the file rustgression-0.5.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rustgression-0.5.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6f970717b16adf7ffaa38c79e9bae7c0b2327efe466c64aaed1147c596dec482
MD5 6c8afe3723dd1be382408974ab1e5682
BLAKE2b-256 c113af881e35e7f2305bee236e54b70f357a6a6278ea5fad2066bb93e8d4d90f

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