alibi_detect.models.pytorch.gmm
GMMModel
GMMModelInherits from: Module
Constructor
GMMModel(self, n_components: int, dim: int) -> NoneName
Type
Default
Description
n_components
int
The number of mixture components.
dim
int
The dimensionality of the data.
Methods
forward
forwardforward(x: torch.Tensor) -> torch.TensorCompute the log-likelihood of the data.
Name
Type
Default
Description
x
torch.Tensor
Data to score.
Returns
Type:
torch.Tensor
Last updated
Was this helpful?

