Module: tfl.categorical_calibration_lib

View source on GitHub

Helpers and computations of categorical calibration layer.

Functions

assert_constraints(...): Asserts that weights satisfiy constraints.

project(...): Monotonicity/bounds constraints implementation for categorical calibration.

verify_hyperparameters(...): Verifies that all given hyperparameters are consistent.