create_sample¶
- probly.representation.sample.create_sample = <flextype.singledispatch.Flexdispatch object>¶
Create a ListSample from a sequence of samples.
- Parameters:
samples – The predictions to create the sample from.
weights – The (optional) weights for each sample.
sample_axis – The axis along which samples are organized.
kwargs – Parameters for sample creation.
- Returns:
The created ListSample.