Skip to content

Commit

Permalink
Change variance_threshold default to 0.01 (#286)
Browse files Browse the repository at this point in the history
* Change variance_threshold default to 0.01

* Update feature_select to match variance_threshold default
  • Loading branch information
shntnu authored Jun 8, 2023
1 parent 182745a commit 77d93a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pycytominer/feature_select.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def feature_select(
corr_threshold=0.9,
corr_method="pearson",
freq_cut=0.05,
unique_cut=0.1,
unique_cut=0.01,
compression_options=None,
float_format=None,
blocklist_file=None,
Expand Down
2 changes: 1 addition & 1 deletion pycytominer/operations/variance_threshold.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


def variance_threshold(
population_df, features="infer", samples="all", freq_cut=0.05, unique_cut=0.1
population_df, features="infer", samples="all", freq_cut=0.05, unique_cut=0.01
):
"""Exclude features that have low variance (low information content)
Expand Down

0 comments on commit 77d93a3

Please sign in to comment.