alibi_detect.cd.pytorch.mmd
Constants
logger
loggerlogger: logging.Logger = <Logger alibi_detect.cd.pytorch.mmd (WARNING)>MMDDriftTorch
MMDDriftTorchConstructor
MMDDriftTorch(self, x_ref: Union[numpy.ndarray, list], p_val: float = 0.05, x_ref_preprocessed: bool = False, preprocess_at_init: bool = True, update_x_ref: Optional[Dict[str, int]] = None, preprocess_fn: Optional[Callable] = None, kernel: Callable = <class 'alibi_detect.utils.pytorch.kernels.GaussianRBF'>, sigma: Optional[numpy.ndarray] = None, configure_kernel_from_x_ref: bool = True, n_permutations: int = 100, device: Union[typing_extensions.Literal['cuda', 'gpu', 'cpu'], ForwardRef('torch.device'), NoneType] = None, input_shape: Optional[tuple] = None, data_type: Optional[str] = None) -> NoneName
Type
Default
Description
Methods
kernel_matrix
kernel_matrixName
Type
Default
Description
score
scoreName
Type
Default
Description
Last updated
Was this helpful?

