Skip to main content

lazyml: Because training ML 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.0.tar.gz (2.1 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.0-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lazytrainer-0.1.0.tar.gz
  • Upload date:
  • Size: 2.1 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.0.tar.gz
Algorithm Hash digest
SHA256 c52dcfba76d3d0dbcc6067d4695e39683e61d175fb249ae1b65566704a56cc86
MD5 4494cef26a3890dcfc9648801afd3bc3
BLAKE2b-256 6c0b35c92a677fbe0cc03ec3a36fee0b0290d6fe22e4a8a63492f9e3c4883c53

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lazytrainer-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a5b22b757f2ac41b928dc4f3ed9095296c8937cbfb09b04ce55b74d6491c5ddf
MD5 3e73d0715b2a0c2e38b8b54bd280a374
BLAKE2b-256 ddde950e4eadb6831707ee6b529735bc99350468c0c610c67a7f3f4a0ca9e0b9

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