This repository has been archived by the owner on May 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #281 from Aarhus-Psychiatry-Research/frillecode/Au…
…tomatic-feature-selection181 frillecode/Automatic-feature-selection181
- Loading branch information
Showing
12 changed files
with
148 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 5 additions & 2 deletions
7
src/psycopt2d/config/preprocessing/default_preprocessing.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
convert_to_boolean: False # (Boolean): Convert all prediction values (except gender) to boolean. Defaults to False | ||
convert_datetimes_to: False # (str): Options include ordinal or False | ||
convert_datetimes_to: False # (str): Options include ordinal or False | ||
imputation_method: "most_frequent" # (str): Options include 2most_frequent" | ||
transform: null # (str|null): Transformation applied to all predictors after imputation. Options include "z-score-normalization" | ||
transform: null # (str|null): Transformation applied to all predictors after imputation. Options include "z-score-normalization" | ||
feature_selection_method: null | ||
feature_selection_params: | ||
percentile: 10 # (int): Percent of features to keep. Defaults to 10. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
name: psycop-t2d | ||
seed: 42 | ||
wandb_mode: "run" # Which mode to run WanDB in. Takes "run", "dryrun", "offline" and "disabled" | ||
wandb_mode: "run" # Which mode to run WanDB in. Takes "run", "dryrun", "offline" and "disabled" | ||
wandb_entity: "psycop" # Optional[str] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
name: psycop-t2d-integration-testing | ||
seed: 42 | ||
wandb_mode: "disabled" # Which mode to run WanDB in. Takes "run", "dryrun", "offline" and "disabled" | ||
wandb_mode: "disabled" # Which mode to run WanDB in. Takes "run", "dryrun", "offline" and "disabled" | ||
wandb_entity: "psycop" # Optional[str] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
name: psycop-t2d-testing | ||
seed: 42 | ||
wandb_mode: "run" # Which mode to run WanDB in. Takes "run", "dryrun", "offline" and "disabled" | ||
wandb_mode: "run" # Which mode to run WanDB in. Takes "run", "dryrun", "offline" and "disabled" | ||
wandb_entity: "psycop" # Optional[str] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# pylint: disable=missing-module-docstring | ||
from .performance_by_threshold import generate_performance_by_positive_rate_table | ||
from .tables import auc_by_group_table, generate_feature_importances_table | ||
from .tables import auc_by_group_df, generate_feature_importances_table |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters