probly.method.credal_wrapper¶
- probly.method.credal_wrapper(base: Predictor[In, Out], num_members: int, reset_params: bool = True) CredalWrapperPredictor[In, Out][source]¶
Create a credal wrapper predictor from a base predictor based on [WCS+24].
- Parameters:
base – Predictor, The base model to be used for the credal wrapper ensemble.
num_members – The number of members in the credal wrapper ensemble.
reset_params – Whether to reset the parameters of each member.
- Returns:
Predictor, The credal wrapper ensemble predictor.