Lazy ML: Because training models shouldn't need more energy than your morning coffee.
Project description
LazyTrainer
Train your regression models with zero drama.
LazyTrainer helps you get started with machine learning model training in the simplest way possible — no unnecessary complications.
Why LazyTrainer?
This project was created by MrFayntom with a clear goal in mind:
"I made LazyTrainer for beginners who want to train machine learning models but feel overwhelmed by all the complexity.
LazyTrainer wraps it up into a clean, lazy workflow so you can focus on what matters — learning and iterating."
What it Does
- Automatically preprocesses your data
- Handles categorical encoding and scaling
- Trains a regression model (SGD for now)
- Evaluates performance (MAE, R², Accuracy)
- Plots predictions
- Saves the model, scaler, and encoders
Installation
pip install lazyml
LazyML – Quick Start Guide
For full details, visit the official GitHub repository:
: https://github.com/mrfayntom/LazyML
Minimal Workflow Example
from lazyml.trainer import LazyTrainer
# Initialize the trainer
trainer = LazyTrainer(
data_path="path/to/your/data.csv", # Path to your CSV file
target_col="TargetColumn", # Column name you want to predict
features=["Feature1", "Feature2", "Feature3"], # List of input feature column names
categorical_cols=["Feature3"] # List of categorical feature names (if any)
)
# Train the model
trainer.train()
# Evaluate the model
trainer.evaluate()
# Plot prediction summary
trainer.plot_summary()
# Save model, scaler and encoders
trainer.save()
trainer.save_scaler()
trainer.save_encoders()
— Mr. Phantom
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
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 lazytrainer-0.1.1.tar.gz.
File metadata
- Download URL: lazytrainer-0.1.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e706e961be6849acbc72038582af3ae9706ed3d2759db8bdc7d12276f05d30d
|
|
| MD5 |
7d3f5f32d40137c3fc7865882eabb527
|
|
| BLAKE2b-256 |
317b38c702ceef6cae65413b63397409fcc76227cb2da7d58b14a8751684a9bc
|
File details
Details for the file lazytrainer-0.1.1-py3-none-any.whl.
File metadata
- Download URL: lazytrainer-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4cf8b98966931c972e236326340ff5af8f1f01dbc2ac2759e54abfcd3926554
|
|
| MD5 |
432345f57370642dd6ebc1c020634469
|
|
| BLAKE2b-256 |
61f6284441da9ed2d306d2f9c16c14fc024ab6841ee0edecc762ae96278a3f6b
|