Skip to main content

Metric logging and analysis for ML experiments

Project description

eXpa

Metric logging and analysis tool for ML experiments.

The components are:

  • Scalable data store backed by PostgreSQL
  • REST API for logging and retrieving data
  • Python client library expa for sending metrics
  • Powerful UI for metric visualization

This is a pre-release work in progress, expect breaking changes!

Getting started

Start development server locally

git clone https://github.com/jurgisp/expa.git && cd expa
PORT=8000 docker-compose up

Use expa client to push metrics

!pip install expa
import expa
logger = expa.Logger('experiment', 'run', api_url='http://localhost:8000/api')
logger.log_params({'param': 'value'})
for step in range(1, 101):
  logger.log({'loss': 1/step}, step)

Visualize metrics

Open localhost:8000

Security

The API does not have any user authentication built-in. Be sure to add an auth layer if you are planning to deploy the service on publicly accessible network.

Contributing

See CONTRIBUTING.md for details.

License

Apache 2.0; see LICENSE for details.

Disclaimer

This project is not an official Google project. It is not supported by Google and Google specifically disclaims all warranties as to its quality, merchantability, or fitness for a particular purpose.

This product is not intended or suitable for storing private data.

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

expa-0.2.0.tar.gz (11.9 kB view hashes)

Uploaded Source

Built Distribution

expa-0.2.0-py3-none-any.whl (15.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page