Skip to main content

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

lazytrainer-0.1.3.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

lazytrainer-0.1.3-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file lazytrainer-0.1.3.tar.gz.

File metadata

  • Download URL: lazytrainer-0.1.3.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for lazytrainer-0.1.3.tar.gz
Algorithm Hash digest
SHA256 70ff16a1b2afd0967d9f490c2733124ce794b30cd0bce467055534595e9f9d47
MD5 bc8b0efb4ee319066f5f7b8a6cd3a858
BLAKE2b-256 5675ef4a1bcc3d2e830b0045a9e9ae01e737bc05b71e42c065313da8a2f93929

See more details on using hashes here.

File details

Details for the file lazytrainer-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: lazytrainer-0.1.3-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

Hashes for lazytrainer-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fabeb578ef987f5f79b6c5e68835a0f1bb523b2e04d8cdd454c2d866a4b0a850
MD5 cad02ab5763b4ad891da49d96445a4d1
BLAKE2b-256 ddb55cf466b015af6e74d5e7d82e7d1efff6cd4b49b32b342f06bbbc31b686b6

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