Skip to content

Commit

Permalink
update model grid
Browse files Browse the repository at this point in the history
  • Loading branch information
kasunamare committed Sep 5, 2024
1 parent e8f828d commit 227535c
Showing 1 changed file with 21 additions and 17 deletions.
38 changes: 21 additions & 17 deletions donors-choose-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -217,26 +217,30 @@ feature_aggregations:
intervals: ['all']

grid_config:
# 'sklearn.ensemble.RandomForestClassifier':
# n_estimators: [1000, 2500, 5000, 10000]
# max_depth: [2, 5, 10, 50]
# max_features: ['sqrt', 'auto', 'log2']
# min_samples_split: [2, 10, 25, 50]
# 'triage.component.catwalk.estimators.classifiers.ScaledLogisticRegression':
# max_iter: [10000]
# penalty: ['l1', 'l2']
# C: [0.001, 0.01, 0.1, 0.5, 1, 2, 10]
# solver: ['saga']
# 'sklearn.tree.DecisionTreeClassifier':
# max_depth: [2, 5, 10, 50]
# min_samples_split: [2, 10, 25, 50]
# random_state: [0]
'sklearn.ensemble.RandomForestClassifier':
n_estimators: [1000, 2500, 5000, 10000]
max_depth: [2, 5, 10, 50]
max_features: ['sqrt', 'auto', 'log2']
min_samples_split: [2, 10, 25, 50]

'triage.component.catwalk.estimators.classifiers.ScaledLogisticRegression':
max_iter: [10000]
penalty: ['l1', 'l2']
C: [0.001, 0.01, 0.1, 0.5, 1, 2, 10]
solver: ['saga']

'sklearn.tree.DecisionTreeClassifier':
max_depth: [2, 5, 10, 50]
min_samples_split: [2, 10, 25, 50]
random_state: [0]

'sklearn.dummy.DummyClassifier':
# baseline, predicts base rate
strategy: ['prior']
# 'triage.component.catwalk.baselines.rankers.BaselineRankMultiFeature':
# rules:
# - [{feature: 'project_features_entity_id_all_total_asking_price_sum', low_value_high_score: False}]

'triage.component.catwalk.baselines.rankers.BaselineRankMultiFeature':
rules:
- [{feature: 'project_features_entity_id_all_total_asking_price_sum', low_value_high_score: False}]


scoring:
Expand Down

0 comments on commit 227535c

Please sign in to comment.