probly.calibration.scaling.common¶
Common methods for temperature scaling.
Functions
|
Dispatches to the correct platt scaling implementation. |
Returns a decorator to register a class in the platt factory. |
|
Returns a decorator to register a class in the temperature factory. |
|
Returns a decorator to register a class in the vector factory. |
|
|
Dispatches to the correct temperature scaling implementation. |
|
Dispatches to the correct vector scaling implementation. |
- probly.calibration.scaling.common.platt(base)[source]¶
Dispatches to the correct platt scaling implementation.
- probly.calibration.scaling.common.register_platt_factory(key)[source]¶
Returns a decorator to register a class in the platt factory.
- Parameters:
key (LazyType)
- Return type:
Callable
- probly.calibration.scaling.common.register_temperature_factory(key)[source]¶
Returns a decorator to register a class in the temperature factory.
- Parameters:
key (LazyType)
- Return type:
Callable
- probly.calibration.scaling.common.register_vector_factory(key)[source]¶
Returns a decorator to register a class in the vector factory.
- Parameters:
key (LazyType)
- Return type:
Callable