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.2.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.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lazytrainer-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 fce6dd331e72cd5f1d71a592fb40b3ff334de1697266c480ff30a696959669ef
MD5 21f4e78bc9afe1912c596c2946877cd4
BLAKE2b-256 9a3e5e1e529c44e0bf40eb862f940fed08bbe53b3576b3837c9fc99202fc8754

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lazytrainer-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6a05d0efc526e140715b41f252d6ea187b6e9a606a44c4b76c045d648a56bda9
MD5 0ab532fdc1d2e1b1efed578479c1c856
BLAKE2b-256 2ea0ef919633a8130327cbd3d30cdee53c257c60e1cf143d95381b6bbb766f9e

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