bayesline.api.equity.RiskDatasetHuberRegressionExposureSettings#
- model RiskDatasetHuberRegressionExposureSettings#
Settings for Huber regression-based exposure data in a risk dataset.
This class defines settings for generating exposure data using Huber regression on time series factors, with options for windowing, regularization, and statistical testing.
Fields# Field
Type
Required
Default
Constraints
No
0.0001No
10.0No
factory
No
(None, None)No
'USD'No
1.35No
factory
Literal[‘huber_regression’]No
'huber_regression'No
'huber_style'No
TrueNo
TrueNo
FalseNo
TrueNo
'All'No
Nonege=0.0, le=1.0
Yes
No
126- field calendar: CalendarSettings [Optional]#
The calendar to use for the rolling regressions.
- field clip: tuple[float | None, float | None] [Optional]#
The clipping lower and upper bounds for the resulting exposures, before potential huberization.
- field gaussianize_maintain_zeros: bool [Optional]#
Whether to maintain zeros when huberizing the exposures.