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


🚀 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.plotpredict([[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
    • crd(...) — create random datasets (for demos)

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


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

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.0.tar.gz (5.1 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.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: regressionmadesimple-1.1.0.tar.gz
  • Upload date:
  • Size: 5.1 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.0.tar.gz
Algorithm Hash digest
SHA256 9673e23e057337ef5a34cd7cd59f2972cb13b20c148bd3254cb16419f90f7bd0
MD5 0c31fd0b4690c98d359538c06293e87a
BLAKE2b-256 8e2011b260b53bed17169b63b36871f3d2741ab49276d4e87f3ea9a3d053c244

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for regressionmadesimple-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e0c05f482c216d154a4e94cc69b60309cb083f654cebc1b41471d0b9458cd693
MD5 b33c119e5bd44e74ebca78a6a7d74145
BLAKE2b-256 5c7e6f749dd813f6b0aa797cf9b8cdb3b0c93e599338b4758f6bf14daf977256

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