shrinkage.PathOptions
Shrinkage for Python · python · 0.2.0
Generate a decreasing log-spaced sequence on the optimization scale.
nlambda and min_points must be positive. The endpoint ratio is in (0, 1] and defaults to 0.01 when samples are fewer than features, or 0.0001 otherwise. lambda_start overrides the anchor without changing the reported true zero threshold. A zero anchor gives all zeros.
Early stopping requires converged points and at least min_points fits. The change tolerance is finite and nonnegative; zero disables that check. The explained null-deviance tolerance is in (0, 1]. Disable early stopping to fit every requested point. Options are validated when fitting.
nlambda
Source: packages/python/src/shrinkage/path.py
: = lambda_min_ratio
Source: packages/python/src/shrinkage/path.py
: | None = lambda_start
Source: packages/python/src/shrinkage/path.py
: | None = early_stopping
Source: packages/python/src/shrinkage/path.py
: = min_points
Source: packages/python/src/shrinkage/path.py
: = deviance_change_tolerance
Source: packages/python/src/shrinkage/path.py
: = deviance_ratio_tolerance
Source: packages/python/src/shrinkage/path.py
: = 