candle.uq_keras_utils.mse_contamination_metric#
- candle.uq_keras_utils.mse_contamination_metric(nout)#
This function computes the mean squared error (mse) for the contamination model. The mse is computed over the prediction. Therefore, the augmentation for the index variable is ignored.
- Parameters:
nout (int) – Number of outputs without uq augmentation (in the contamination model the augmentation corresponds to the data index in training).