Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Structured JSON logging for ML experiments: schema-validated events, run context, pluggable sinks (stdout/file/Logstash, optional GCP), redaction, buffering, and summary emission.

License

Notifications You must be signed in to change notification settings

arec1b0/structured-ml-logging

Open more actions menu

Repository files navigation

Structured ML Logging

Structured (JSON) logging for ML experiments with schema validation and pluggable sinks.

Installation (dev)

pip install -e ".[dev]"

Quickstart

from mlog import get_logger, run_context

log = get_logger(project="demo", experiment="baseline", sink="stdout", validation="strict")

with run_context(run_id="run_001", tags={"team": "ml"}):
    log.param("lr", 0.01)
    log.metric("train.loss", 0.123, step=1)
    log.event("done")

About

Structured JSON logging for ML experiments: schema-validated events, run context, pluggable sinks (stdout/file/Logstash, optional GCP), redaction, buffering, and summary emission.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.