Skip to main content

linreg-abir2228

Un package Python implémentant la régression linéaire simple depuis zéro.

Installation

pip install linreg-ab
import numpy as np
from linreg import SimpleLinearRegression

X = np.array([1, 2, 3, 4, 5])
y = np.array([2, 4, 6, 8, 10]) # y = 2x

model = SimpleLinearRegression().fit(X, y)
print(model.slope, model.intercept) # 2.0, 0.0
print(model.predict([6, 7])) # [12. 14.]ir2228

Metadata

Release files for linreg-abir2228 1.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 linreg-abir2228 1.0.0
File Size Uploaded Provenance
linreg_abir2228-1.0.0.tar.gz 2.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for linreg-abir2228 1.0.0
File Interpreter ABI Platform
linreg_abir2228-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.5 kB

Release files / linreg_abir2228-1.0.0.tar.gz

Download URL linreg_abir2228-1.0.0.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
102a8290e130118275df021e85e09c100beb2cd8c56e0ca5e047f653a0bed4b4
BLAKE2b-256 checksum
How to use checksums
b4b3661008a5ec26c1d068b434df79a637a4b39627208bf35ef5d4efde8b4cab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / linreg_abir2228-1.0.0-py3-none-any.whl

Download URL linreg_abir2228-1.0.0-py3-none-any.whl
Size 2.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa112e516c3602c4ad8c01ba77f04df3c7aed80fff9d47ba10ca49d2ccb46804
BLAKE2b-256 checksum
How to use checksums
cdfa9a5b60a242de1eafaf424ed31619b68c76b70e17304c681d85b6408c3689
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for linreg-abir2228 1.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.

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

Release history Release notifications | RSS feed

This release

1.0.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