Google I/O is a wrap! Catch up on TensorFlow sessions View sessions

Module: model_remediation.counterfactual.losses

API for Counterfactual losses.

Classes

class CounterfactualLoss: CounterfactualLoss abstract base class.

class PairwiseAbsoluteDifferenceLoss: Mean Absolute difference loss between the original and counterfactual.

class PairwiseCosineLoss: Pairwise cosine loss between the original and counterfactual.

class PairwiseMSELoss: Pairwise mean squared error loss between the original and counterfactual.