Minimalist ML toolkit wrapping sklearn for quick prototyping. Just `import rms` and go.
Project description
RegressionMadeSimple (RMS)
A minimalist machine learning wrapper for lazy/skilled devs who want to skip the boilerplate. Built as a clean backdoor to
scikit-learn.
🚀 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 CSVcreate_random_dataset(...)— create random datasets (for demos)
- One-liner regression setup
.summary()and.plot()for quick insight- Global config system:
rms.options - Accepts pre-split data (X_train, y_train, etc.)
- Easily extendable — logistic, trees, etc. coming soon
- MIT Licensed
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
🛠 Author
Made with ❤️ by Unknownuserfrommars :)
🌌 Ideas for Future Versions
Logistic()andDecisionTree()models.summary()for all modelsrms.fit(df, target="y", model="linear")one-liner- Export/save models
- Visual explainability (feature importance, SHAP)
⭐ Star this project if you like lazy ML.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file regressionmadesimple-1.2.0.tar.gz.
File metadata
- Download URL: regressionmadesimple-1.2.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db3cb762a9af2027c19a3a5180c649d3ad56ca73a2efddb537fdcbbd41d8f841
|
|
| MD5 |
e6eb4df43cbb9e105ac5c1afb897ca7a
|
|
| BLAKE2b-256 |
d02f5ad20ae2baa96abbad37f6751d885a9f8a519bde61fb3a2a262712c768d6
|
File details
Details for the file regressionmadesimple-1.2.0-py3-none-any.whl.
File metadata
- Download URL: regressionmadesimple-1.2.0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c05db89f6f292198ba8249a042d3329d5f20828e73614712340bbd4bf47f2d4
|
|
| MD5 |
5715c7dbde8f73cdcda289c60589b1bf
|
|
| BLAKE2b-256 |
789b3100c0ea74c66d37f69a5bbfcfd7214bd21d8ad6bc0833259319ee80c357
|