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.1.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

expa-0.1.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: expa-0.1.0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for expa-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c985a18e3c4397c055a4db8d9128e7b778ebd5376152fad9fcdd96dda502cbab
MD5 10512236e7134e624c5927b90f86d3a3
BLAKE2b-256 71ff3ee4e9d5dca90f19b608c0fe0ada968a925dde8b29546c4075418bd7fa0f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: expa-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for expa-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a56f1beebf0908a226e00c7ff289b24eca50076c03468ce366c5d3b8cf6887b1
MD5 ccc523ece180d3e089588b8149bb6ec5
BLAKE2b-256 487ef8b18dcd955d3b81e8e2c30351fc614de48aed5981b0937e6e91b2aa4a65

See more details on using hashes here.

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