typehinting#
Methods for additional custom type hinting.
Tip
Methods in this module are really just for typehinting; this code is never actually executed.
- class hsr4hci.typehinting.BaseLinearModel[source]#
Define a base class for linear models from sklearn. Linear models are characterized by the fact that they have a coefficient vector
coef_and an intercept termintercept_.- __init__(*args, **kwargs)#
- class hsr4hci.typehinting.BaseLinearModelCV[source]#
Define a base class for cross-validated linear models from sklearn such as, e.g.,
RidgeCV. These models are characterized by the fact that they have analpha_attribute which stores the value of the regularization parameter chosen by the cross-validation.- __init__(*args, **kwargs)#