Skip to main content

simplinear_regression

A simple Linear Regression implementation in pure Python without any dependencies.

Installation

pip install simplinear_regression

Usage

import simplinear_regression

model = simplinear_regression()

X = [1, 2, 3, 4, 5]
y = [2, 4, 5, 4, 5]

model.fit(X, y)

predictions = model.predict([6, 7])
print("Predictions:", predictions)

Metadata

Release files for simplinear-regression 0.1.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 simplinear-regression 0.1.0
File Size Uploaded Provenance Actions
simplinear_regression-0.1.0.tar.gz 2.5 kB Without provenance Details for simplinear_regression-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for simplinear-regression 0.1.0
File Interpreter ABI Platform Actions
simplinear_regression-0.1.0-py3-none-any.whl Python 3 none any Details for simplinear_regression-0.1.0-py3-none-any.whl

Total release size: 5.7 kB

Release files / simplinear_regression-0.1.0.tar.gz

Download URL simplinear_regression-0.1.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8bcc5d0af2de569813c16eba93daea3f89fd3e434bc2ccec1d823653f9b2b26f
BLAKE2b-256 checksum
How to use checksums
7a1285186bb7ce8b10313cfd85fe4340310b11025ba976a6849742f8c074a255
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.5

Release files / simplinear_regression-0.1.0-py3-none-any.whl

Download URL simplinear_regression-0.1.0-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c7a8d5f601c6af0941e5857758724e171c6903072bd19fe6c6914e082e7a326
BLAKE2b-256 checksum
How to use checksums
10304657e49b4ead0b71f401fbf79a2c39fb551f81d8cb3e4b110bfe59eaef92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.5

Security for simplinear-regression 0.1.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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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