Join the SIG TFX-Addons community and help make TFX even better! Join SIG TFX-Addons


The base class for all structured metrics used within TFMA.

This class allows custom metrics to control how proto serialization happens, and how to handle basic algebraic operations used in computing confidence intervals and model diffs. By implementing the _apply_binary_op methods, subclasses can then be treated like primitive numeric types.



View source