A centralized JAX metrics library.
Project description
metrax
metrax
is a library with standard eval metrics implementations in JAX.
Vision
While the JAX ecosystem is powerful, it currently lacks a core evaluation metrics library. This absence presents challenges for users transitioning from other frameworks like TensorFlow or PyTorch, which offer built-in metrics reporting capabilities.
To address these challenges, we introduced metrax, a standalone JAX model evaluation library that:
- Provides essential predefined metrics: Includes metrics commonly used to evaluate various machine learning models (classification, regression, recommendation, and language modeling), with the flexibility to add more in the future.
- Leverages existing library as a foundation: Builds upon the robust CLU library, ensuring compatibility and consistency in distributed and scaled training environments.
- Is developed on GitHub first and is used by several Google core products.
Please refer to the readthedocs page of the library for more information.
Installation
Install the package by installing the PyPi release.
pip install google-metrax
Development
Run the tests:
pytest src/metrax
Develop the docs locally:
pip install -r ./docs/requirements.txt
sphinx-build ./docs /tmp/metrax_docs
python -m http.server --directory /tmp/metrax_docs
Citing Metrax
To cite Metrax please use the citation:
@software{metrax2024,
title={Metrax},
author={Jiwon Shin, Jeff Carpenter, et al.},
year={2024},
howpublished={\url{https://github.com/google/metrax}},
}
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 google_metrax-0.1.3.tar.gz
.
File metadata
- Download URL: google_metrax-0.1.3.tar.gz
- Upload date:
- Size: 22.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 795ee8660e4818f9b3f9eaac0dea6097162bdb5117f961b85a7dce8dcb608b86 |
|
MD5 | b2aea5cb637a094441a70a9873d39a88 |
|
BLAKE2b-256 | 1de852d2ddf24e53582b8e10ac17f05d2073df60111f49d17f2c97fa6b5f06a0 |
File details
Details for the file google_metrax-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: google_metrax-0.1.3-py3-none-any.whl
- Upload date:
- Size: 32.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27232b93a1f8393d558405c56e4f997ed266269bc740a3a17a79b649dd23062a |
|
MD5 | 58e4ee2f399b0507727df8a8b1308669 |
|
BLAKE2b-256 | 606ac8a8fd6a11c0fb3fa952f482e05edf06ca953d70cd1ebc8f739038dc66ef |