By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Google Metrax Brings Predefined Model Evaluation Metrics to JAX
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > News > Google Metrax Brings Predefined Model Evaluation Metrics to JAX
News

Google Metrax Brings Predefined Model Evaluation Metrics to JAX

News Room
Last updated: 2025/12/20 at 10:54 AM
News Room Published 20 December 2025
Share
Google Metrax Brings Predefined Model Evaluation Metrics to JAX
SHARE

Recently open-sourced by Google, Metrax is a JAX library providing standardized, performant metrics implementations for classification, regression, NLP, vision, and audio models.

Metrax addresses a gap in the JAX ecosystem, explains Google, that has forced many teams migrating from TensorFlow to JAX to implement they own versions of common evaluation metrics such as accuracy, F1, RMS error, and others:

While creating metrics may seem, to some, like a fairly simple and straightforward topic, when considering large scale training and evaluation across datacenter-sized distributed compute environments, it becomes somewhat less trivial.

Metrax provides predefined evaluation metrics for a range of machine learning models, including classification, regression, recommendation, vision, and audio, with particular support for distributed and large-scale training environments. For vision models, the library includes metrics such as Intersection over Union (IoU), Signal-to-Noise Ratio (SNR), and Structural Similarity Index (SSIM), Metrax also includes robust NLP-related metrics, including Perplexity, BLEU, and ROUGE.

Google notes that one of Metrax’s goals is to ensure that all metrics are well implemented and adhere to best practices. Where supported by the metric definition, Metrax uses advanced JAX features like vmap and jit to boost performance. For example, these features are used in the implementation of the new “at K” metrics to enable computing multiple values of K in parallel. This enables to evaluate a model more comprehensively and faster.

You can use PrecisionAtK to determine the precision of your model for multiple values of K (say, at K=1, K=8, and K=20), all in one forward pass through your model, rather than needing to call PrecisionAtK multiple times with each of these arguments.

DevOps engineer writing on Substack under the name Neural Foundry wrote:

The fact that Metrax supports computing multiple K values in a single pass is a huge win for ranking systems. Ive been rewriting metrics utilities every time I switch projects and this kind of standardization is long overdue. The API looks clean too. Curious if they’ve benchmarked it against custom implementations for specific use cases like large scale recommendation pipelines.

The following snippet shows how to compute precision metrics given predictions and labels. An optional threshold can be specified for converting probability predictions into binary predictions:


import metrax

# Directly compute the metric state.
metric_state = metrax.Precision.from_model_output(
    predictions=predictions,
    labels=labels,
    threshold=0.5
)

# The result is then readily available by calling compute().
result = metric_state.compute()
result

Google has also published a notebook containing a comprehensive set of examples, including multiple-devices scaling and integrations with Flax NNX, a simplified API that makes it easier to create, inspect, debug, and analyze neural networks in JAX.

JAX is an open-source Python library for high-performance numerical computation and machine learning. While offering a

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Linux Mint 22.3 Beta Released With Cinnamon 6.6 Desktop Linux Mint 22.3 Beta Released With Cinnamon 6.6 Desktop
Next Article How to watch Chase DeMoor vs Andrew Tate: live stream Misfits boxing, PPV prices, undercard, ringwalks How to watch Chase DeMoor vs Andrew Tate: live stream Misfits boxing, PPV prices, undercard, ringwalks
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

25 Ways to Make Money with Canva For Creators
25 Ways to Make Money with Canva For Creators
Computing
Improve your cybersecurity for just  with this VPN deal
Improve your cybersecurity for just $10 with this VPN deal
News
Former Patagonia CEO Rose Marcario resigns from Rivian’s board |  News
Former Patagonia CEO Rose Marcario resigns from Rivian’s board | News
News
The HackerNoon Newsletter: Gos New Experimental Packages: What to Know (12/20/2025) | HackerNoon
The HackerNoon Newsletter: Gos New Experimental Packages: What to Know (12/20/2025) | HackerNoon
Computing

You Might also Like

Improve your cybersecurity for just  with this VPN deal
News

Improve your cybersecurity for just $10 with this VPN deal

3 Min Read
Former Patagonia CEO Rose Marcario resigns from Rivian’s board |  News
News

Former Patagonia CEO Rose Marcario resigns from Rivian’s board | News

3 Min Read
A Gaming Console You’ve Never Heard Outsold The PS5 Leading Up To Black Friday – BGR
News

A Gaming Console You’ve Never Heard Outsold The PS5 Leading Up To Black Friday – BGR

4 Min Read
The OnePlus 13 is the Android Authority Editor’s Choice winner for best phone of 2025
News

The OnePlus 13 is the Android Authority Editor’s Choice winner for best phone of 2025

13 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?