fl_server_ai.uncertainty.method ¶
Functions:
| Name | Description |
|---|---|
get_uncertainty_class | Get uncertainty class associated with a given Model, Training, or UncertaintyMethod object. |
Classes¶
Functions¶
get_uncertainty_class ¶
get_uncertainty_class(value: Model) -> Type[UncertaintyBase]
get_uncertainty_class(value: Training) -> Type[UncertaintyBase]
get_uncertainty_class(value: UncertaintyMethod) -> Type[UncertaintyBase]
get_uncertainty_class(value: Model | Training | UncertaintyMethod) -> Type[UncertaintyBase]
Get uncertainty class associated with a given Model, Training, or UncertaintyMethod object.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
| Model | Training | UncertaintyMethod | The object to retrieve the uncertainty class for. | required |
Returns:
| Type | Description |
|---|---|
Type[UncertaintyBase] | Type[UncertaintyBase]: The uncertainty class associated with the given object. |
Raises:
| Type | Description |
|---|---|
ValueError | If the given object is not a Model, Training, or UncertaintyMethod, or if the uncertainty method associated with the object is unknown. |