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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file expa-0.2.0.tar.gz
.
File metadata
- Download URL: expa-0.2.0.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7995e4ffcece27a9194718079d8d886a177e31234a393af8d948e50ee8c98d04 |
|
MD5 | 6552e03429cb4e71a5d64a538a172ad8 |
|
BLAKE2b-256 | f1b2f6356659d8c6f96933c1d21d7c895919606b0456823469bebeeee2ff4b81 |
File details
Details for the file expa-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: expa-0.2.0-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83e80c53400bbfc1dd6931acd72d6bc8de39c6d64dd177a88c542b6d538b5e6e |
|
MD5 | 382cd75f82fd00bcd2c40d72ca2426b3 |
|
BLAKE2b-256 | ee7c4334a84e7668a75c426a17f50eaa07eac44835d88e6d2bbc3c9b1afbda2c |