Skip to main content

Minimalist ML toolkit wrapping sklearn for quick prototyping. Just `import rms` and go.

Project description

RegressionMadeSimple (RMS)

"A minimalist ML backdoor to sklearn. Just import rms and go." PyPI PyPI - Downloads License


🚀 Quickstart

import regressionmadesimple as rms

# Load dataset
df = rms.Preworks.readcsv("./your_data.csv")

# Train a linear regression model
model = rms.Linear(dataset=df, colX="feature", colY="target")

# Predict new values
predicted = model.predict([[5.2], [3.3]])

# Plot prediction vs. test
model.plot_predict([[5.2], [3.3]], predicted).show()

📦 Features

  • 🧠 Wraps sklearn's most-used regression model(s) in a friendly API
  • 📊 Built-in Plotly visualizations -- planned later support for matplotlib (? on this)
  • 🔬 Designed for quick prototyping and educational use
  • 🧰 Utility functions via preworks:
    • readcsv(path) — load CSV
    • create_random_dataset(...) — create random datasets (for demos)

Project LINK

https://unknownuserfrommars.github.io/regressionmadesimple/

PS: Changelog also can be accessed from there. (still actively developing)


✅ Installation

pip install regressionmadesimple

Or install the dev version:

git clone https://github.com/Unknownuserfrommars/regressionmadesimple.git
cd regressionmadesimple
pip install -e .

📁 Project Structure

regressionmadesimple/
├── __init__.py
├── base_class.py
├── linear.py
├── logistic.py        # (soon)
├── tree.py            # (soon)
├── utils_preworks.py

🧪 Tests

Coming soon under a /tests folder using pytest


📜 License

MIT License


🧠 Author

Unknownuserfrommars — built with 💡, ❤️, and while True: in VSCode and PyCharm.

kind note: ignore that last statement :)

🌌 Ideas for Future Versions

  • Logistic() and DecisionTree() models
  • .summary() for all models
  • rms.fit(df, target="y", model="linear") one-liner
  • Export/save models
  • Visual explainability (feature importance, SHAP)

⭐ Star this project if you like lazy ML. No boilerplate, just vibes.

Also: Buy me a coffee (maybe) coming soon.

Project details


Download files

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

Source Distribution

regressionmadesimple-1.1.1.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

regressionmadesimple-1.1.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file regressionmadesimple-1.1.1.tar.gz.

File metadata

  • Download URL: regressionmadesimple-1.1.1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for regressionmadesimple-1.1.1.tar.gz
Algorithm Hash digest
SHA256 a230f9dd2b8a6ea055394dcce0ca0a15b4384c3ff0c16fb0d410013a68373e48
MD5 ce75b4b55fc3fb9a4d6c4586812c2d3c
BLAKE2b-256 b065f41f72b6f0a2f24280bea4318b83245a93d49d1935ba1d88b47ee6fb127c

See more details on using hashes here.

File details

Details for the file regressionmadesimple-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for regressionmadesimple-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4537d59abd18807cf8a1d2a6e9b655080967618a2802a2cd0ea8ffc031c2d63a
MD5 f63a8c07b3cae002fe13617d182af71a
BLAKE2b-256 3d3c341d99c75e4eb0773ca3e523c0631bb4e328594db7c114d287c95cbe6656

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