-
Notifications
You must be signed in to change notification settings - Fork 9
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 #159 from rvandewater/development
New features and cleanup from new version release
- Loading branch information
Showing
81 changed files
with
3,276 additions
and
942 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
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 |
---|---|---|
|
@@ -127,4 +127,5 @@ wandb/ | |
.vscode/launch.json | ||
yaib_logs/ | ||
*.ckpt | ||
*.csv | ||
*.csv | ||
!demo_data/*/*/attrition.csv |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Settings for ImbLearn Balanced Random Forest Classifier. | ||
|
||
# Common settings for ML models | ||
include "configs/prediction_models/common/MLCommon.gin" | ||
|
||
# Train params | ||
train_common.model = @BRFClassifier | ||
|
||
model/hyperparameter.class_to_tune = @BRFClassifier | ||
model/hyperparameter.n_estimators = [50, 100, 250, 500, 750,1000,1500] | ||
model/hyperparameter.max_depth = [3, 5, 10, 15] | ||
model/hyperparameter.min_samples_split = (2, 5, 10) | ||
model/hyperparameter.min_samples_leaf = (1, 2, 4) | ||
model/hyperparameter.max_features = ['sqrt', 'log2', 1.0] | ||
model/hyperparameter.bootstrap = [True, False] | ||
model/hyperparameter.class_weight = [None, 'balanced'] | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Settings for Catboost classifier. | ||
|
||
# Common settings for ML models | ||
include "configs/prediction_models/common/MLCommon.gin" | ||
|
||
# Train params | ||
train_common.model = @CBClassifier | ||
|
||
model/hyperparameter.class_to_tune = @CBClassifier | ||
model/hyperparameter.learning_rate = (1e-4, 0.5, "log") | ||
model/hyperparameter.num_trees = [50, 100, 250, 500, 750,1000,1500] | ||
model/hyperparameter.depth = [3, 5, 10, 15] | ||
model/hyperparameter.scale_pos_weight = [1, 5, 10, 25, 50, 75, 99, 100, 1000] | ||
model/hyperparameter.border_count = [5, 10, 20, 50, 100, 200] | ||
model/hyperparameter.l2_leaf_reg = [1, 3, 5, 7, 9] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Settings for ImbLearn Balanced Random Forest Classifier. | ||
|
||
# Common settings for ML models | ||
include "configs/prediction_models/common/MLCommon.gin" | ||
|
||
# Train params | ||
train_common.model = @RUSBClassifier | ||
|
||
model/hyperparameter.class_to_tune = @RUSBClassifier | ||
model/hyperparameter.n_estimators = (10, 50, 100, 200, 500) | ||
model/hyperparameter.learning_rate = (0.005, 1, "log") | ||
model/hyperparameter.sampling_strategy = "auto" | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Settings for XGBoost classifier. | ||
|
||
# Common settings for ML models | ||
include "configs/prediction_models/common/MLCommon.gin" | ||
|
||
# Train params | ||
train_common.model = @XGBClassifier | ||
|
||
model/hyperparameter.class_to_tune = @XGBClassifier | ||
model/hyperparameter.learning_rate = (0.01, 0.1, "log") | ||
model/hyperparameter.n_estimators = [50, 100, 250, 500, 750, 1000,1500,2000] | ||
model/hyperparameter.max_depth = [3, 5, 10, 15] | ||
model/hyperparameter.scale_pos_weight = [1, 5, 10, 15, 20, 25, 30, 35, 40, 50, 75, 99, 100, 1000] | ||
model/hyperparameter.min_child_weight = [1, 0.5] | ||
model/hyperparameter.max_delta_step = [0, 1, 2, 3, 4, 5, 10] | ||
model/hyperparameter.colsample_bytree = [0.1, 0.25, 0.5, 0.75, 1.0] | ||
model/hyperparameter.eval_metric = "aucpr" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Hyperparameter tuner settings for classical Machine Learning. | ||
tune_hyperparameters.scopes = ["model"] | ||
tune_hyperparameters.n_initial_points = 10 | ||
tune_hyperparameters.n_calls = 50 | ||
tune_hyperparameters.folds_to_tune_on = 3 | ||
tune_hyperparameters.n_initial_points = 5 | ||
tune_hyperparameters.n_calls = 30 | ||
tune_hyperparameters.folds_to_tune_on = 5 |
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
Oops, something went wrong.