Skip to content

Commit

Permalink
fixing docstring on get_significant_predictors
Browse files Browse the repository at this point in the history
  • Loading branch information
cmatKhan committed Nov 19, 2024
1 parent 15f098f commit 8618ba6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions yeastdnnexplorer/ml_models/lasso_modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,9 +550,9 @@ def get_significant_predictors(
) -> dict[str, set[str] | pd.DataFrame | np.ndarray]:
"""
This function is used to get the significant predictors for a given TF using
bootstrapped LassoCV. It wraps `generate_modeling_data`,
`stratification_classification`, `stratified_cv_modeling`,
`bootstrap_stratified_cv_modeling` and `examine_bootstrap_coefficients`.
one of two methods, either the bootstrapped LassoCV, in which case we look for
intervals that do not cross 0, or direct LassoCV with a selection on non-zero
coefficients.
:param method: This must be 'lassocv_ols', which will conduct a single lassocv call
followed by pruning non zero coefficients by pvalue until all are significant
Expand Down

0 comments on commit 8618ba6

Please sign in to comment.