Skip to main content

mllabcode

Source code for eight regression lab experiments (NumPy/SciPy/statsmodels basics, linear, multiple, polynomial and logistic regression, time series, imbalanced data).

Install

pip install mllabcode

Use

from mllabcode import code

print(code(1))        # source of experiment 1, as a string

code(n) accepts 1 to 8 and raises ValueError for anything else. From a terminal: python -m mllabcode 1.

The package only returns the source text. To run an experiment you still need the libraries it imports (numpy, scipy, pandas, statsmodels, scikit-learn, matplotlib) and, for experiments 6 and 8, the dataset files they read.

Metadata

Release files for mllabcode 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 mllabcode 0.1.0
File Size Uploaded
mllabcode-0.1.0.tar.gz 9.4 kB Details

Built distribution (wheel)

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

Total release size: 21.5 kB

Release files / mllabcode-0.1.0.tar.gz

Download URL mllabcode-0.1.0.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3a360b005139ce2f8975233b6e4fbc88b6589b8826200b4c634f861ee37854c1
BLAKE2b-256 checksum
How to use checksums
6d7173d7d22960f8e5359d4e1f4fd11a5d16e379aa4f91073618e19db8e65244
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL mllabcode-0.1.0-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
696285d44f6cd2fc445fc1c1c16de0d86ac9ce8ade95fa2f96e003bfe87824ba
BLAKE2b-256 checksum
How to use checksums
c76f21e01c00f4f89ab0b89c40cba780241857133f913c130c75b07448079d6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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