torch_compute_representative_sample¶
- probly.representer.torch_credal_set.torch_compute_representative_sample(sample: TorchCategoricalDistributionSample, alpha: float, distance: str) TorchCategoricalDistributionSample[source]¶
Select predictions closest to the sample mean under the requested distance.