Skip to content

Commit

Permalink
linting the docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
cmatKhan committed Nov 19, 2024
1 parent 8618ba6 commit 7245821
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions yeastdnnexplorer/ml_models/lasso_modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,10 +549,9 @@ def get_significant_predictors(
**kwargs: Any,
) -> dict[str, set[str] | pd.DataFrame | np.ndarray]:
"""
This function is used to get the significant predictors for a given TF using
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.
This function is used to get the significant predictors for a given TF using 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 7245821

Please sign in to comment.