tfl.categorical_calibration_lib.verify_hyperparameters

View source on GitHub

Verifies that all given hyperparameters are consistent.

See tfl.layers.CategoricalCalibration class level comment for detailes.

num_buckets num_buckets of CategoricalCalibration layer.
output_min smallest output of CategoricalCalibration layer.
output_max largest output of CategoricalCalibration layer.
monotonicities monotonicities of CategoricalCalibration layer.

ValueError If parameters are incorrect or inconsistent.