Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

params.yaml 7.3 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
  1. models:
  2. Logistic_Regression: LogisticRegression
  3. SGD_Classifier: SGDClassifier
  4. Random Forest: RandomForestClassifier
  5. Ada_Boost: AdaBoostClassifier
  6. Grad_Boost: GradientBoostingClassifier
  7. Light_GBM: LGBMClassifier
  8. Bagging_Classifier: BaggingClassifier
  9. ExtraTreesClassifier: ExtraTreesClassifier
  10. Hist_Grad_Boost_Classifier: HistGradientBoostingClassifier
  11. Decision_Tree_Classifier: DecisionTreeClassifier
  12. XGB_Classifier: XGBClassifier
  13. KNN_Classifier: KNeighborsClassifier
  14. optuna:
  15. Logistic_Regression:
  16. penalty: trial.suggest_categorical('penalty', ['l2', None])
  17. SGD_Classifier:
  18. loss: trial.suggest_categorical('loss', ['squared_epsilon_insensitive', 'epsilon_insensitive', 'huber', 'squared_error', 'perceptron', 'squared_hinge', 'hinge', 'log_loss', 'modified_huber'])
  19. Light_GBM:
  20. boosting_type: trial.suggest_categorical('boosting_type', ['gbdt','dart'])
  21. learning_rate: trial.suggest_float('learning_rate', .00001, 1.0)
  22. n_estimators: trial.suggest_int('n_estimators', 100, 150)
  23. class_weight: trial.suggest_categorical('class_weight', ['balanced'])
  24. n_jobs: trial.suggest_categorical('n_jobs', [-1])
  25. Random Forest:
  26. n_estimators: trial.suggest_int('n_estimators', 100, 150)
  27. criterion: trial.suggest_categorical('criterion', ['log_loss', 'entropy', 'gini'])
  28. max_features: trial.suggest_categorical('max_features', ['sqrt', 'log2', None])
  29. class_weight: trial.suggest_categorical('class_weight', ['balanced', 'balanced_subsample'])
  30. Ada_Boost:
  31. n_estimators: trial.suggest_int('n_estimators', 100, 150)
  32. algorithm: trial.suggest_categorical('algorithm', ['SAMME', 'SAMME.R'])
  33. Grad_Boost:
  34. loss: trial.suggest_categorical('loss', ['log_loss', 'exponential'])
  35. n_estimators: trial.suggest_int('n_estimators', 100, 150)
  36. criterion: trial.suggest_categorical('criterion', ['friedman_mse', 'squared_error'])
  37. max_features: trial.suggest_categorical('max_features', ['sqrt', 'log2', None])
  38. Bagging_Classifier:
  39. n_estimators: trial.suggest_int('n_estimators', 50, 100)
  40. n_jobs: trial.suggest_categorical('n_jobs', [-1])
  41. ExtraTreesClassifier:
  42. n_estimators: trial.suggest_int('n_estimators', 100, 500)
  43. criterion: trial.suggest_categorical('criterion', ['log_loss', 'entropy', 'gini'])
  44. max_features: trial.suggest_categorical('max_features', ['sqrt', 'log2', None])
  45. class_weight: trial.suggest_categorical('class_weight', ['balanced', 'balanced_subsample'])
  46. Hist_Grad_Boost_Classifier:
  47. max_iter: trial.suggest_int('max_iter', 100, 800)
  48. Decision_Tree_Classifier:
  49. criterion: trial.suggest_categorical('criterion', ['log_loss', 'entropy', 'gini'])
  50. splitter: trial.suggest_categorical('splitter', ['best', 'random'])
  51. max_features: trial.suggest_categorical('max_features', ['sqrt', 'log2', None])
  52. XGB_Classifier:
  53. n_estimators: trial.suggest_int('n_estimators', 100, 500)
  54. learning_rate: trial.suggest_float('learning_rate', .00001, 1.0)
  55. booster: trial.suggest_categorical('booster', ['gbtree', 'gblinear', 'dart'])
  56. tree_method: trial.suggest_categorical('tree_method', ['exact', 'approx', 'hist'])
  57. KNN_Classifier:
  58. n_neighbors: trial.suggest_int('n_neighbors', 3, 11, step=2)
  59. weights: trial.suggest_categorical('weights', ['uniform', 'distance'])
  60. algorithm: trial.suggest_categorical('algorithm', ['auto', 'ball_tree', 'kd_tree', 'brute'])
  61. # MLP_Classifier:
  62. # hidden_layer_sizes: trial.suggest_categorical('hidden_layer_sizes', [(500,), (500, 300, 200, 150,), (700, 500, 300, 100, ), (1500, 800, 400, 200, )])
  63. # activation: trial.suggest_categorical('activation', ['identity', 'logistic', 'tanh' , 'relu'])
  64. # learning_rate: trial.suggest_categorical('learning_rate', ['constant', 'invscaling', 'adaptive'])
  65. # max_iter: trial.suggest_int('max_iter', 100, 800)
  66. Stacked_Classifier:
  67. stack_method: trial.suggest_categorical('stack_method', ['auto', 'predict'])
  68. passthrough: trial.suggest_categorical('passthrough', [True, False])
  69. # hyperopt:
  70. # Logistic_Regression:
  71. # penalty: hp.choice('penalty', ['l2', None])
  72. # SGD_Classifier:
  73. # loss: hp.choice('loss', ['squared_epsilon_insensitive', 'epsilon_insensitive', 'huber', 'squared_error', 'perceptron', 'squared_hinge', 'hinge', 'log_loss', 'modified_huber'])
  74. # Random Forest:
  75. # n_estimators: scope.int(hp.quniform('n_estimators', 100, 150, 1))
  76. # criterion: hp.choice('criterion', ['log_loss', 'entropy', 'gini'])
  77. # max_features: hp.choice('max_features', ['sqrt', 'log2', None])
  78. # class_weight: hp.choice('class_weight', ['balanced', 'balanced_subsample'])
  79. # Ada_Boost:
  80. # n_estimators: scope.int(hp.quniform('n_estimators', 100, 150, 1))
  81. # algorithm: hp.choice('algorithm', ['SAMME', 'SAMME.R'])
  82. # Grad_Boost:
  83. # loss: hp.choice('loss', ['log_loss', 'exponential'])
  84. # n_estimators: scope.int(hp.quniform('n_estimators', 100, 150, 1))
  85. # criterion: hp.choice('criterion', ['friedman_mse', 'squared_error'])
  86. # max_features: hp.choice('max_features', ['sqrt', 'log2', None])
  87. # Bagging_Classifier:
  88. # n_estimators: scope.int(hp.quniform('n_estimators', 50, 100, 1))
  89. # ExtraTreesClassifier:
  90. # n_estimators: scope.int(hp.quniform('n_estimators', 100, 1000, 1))
  91. # criterion: hp.choice('criterion', ['log_loss', 'entropy', 'gini'])
  92. # max_features: hp.choice('max_features', ['sqrt', 'log2', None])
  93. # class_weight: hp.choice('class_weight', ['balanced', 'balanced_subsample'])
  94. # Hist_Grad_Boost_Classifier:
  95. # max_iter: scope.int(hp.quniform('max_iter', 100, 800, 1))
  96. # Decision_Tree_Classifier:
  97. # criterion: hp.choice('criterion', ['log_loss', 'entropy', 'gini'])
  98. # splitter: hp.choice('splitter', ['best', 'random'])
  99. # max_features: hp.choice('max_features', ['sqrt', 'log2', None])
  100. # XGB_Classifier:
  101. # n_estimators: scope.int(hp.quniform('n_estimators', 100, 200, 1))
  102. # learning_rate: hp.uniform('learning_rate', .00001, 1.0)
  103. # booster: hp.choice('booster', ['gbtree', 'gblinear', 'dart'])
  104. # tree_method: hp.choice('tree_method', ['exact', 'approx', 'hist'])
  105. # KNN_Classifier:
  106. # n_neighbors: scope.int(hp.quniform('n_neighbors', 3, 11, 2))
  107. # weights: hp.choice('weights', ['uniform', 'distance'])
  108. # algorithm: hp.choice('algorithm', ['auto', 'ball_tree', 'kd_tree', 'brute'])
  109. # MLP_Classifier:
  110. # hidden_layer_sizes: hp.choice('hidden_layer_sizes', [(500,), (500, 300, 200, 150,), (700, 500, 300, 100, ), (1500, 800, 400, 200, )])
  111. # activation: hp.choice('activation', ['identity', 'logistic', 'tanh' , 'relu'])
  112. # learning_rate: hp.choice('learning_rate', ['constant', 'invscaling', 'adaptive'])
  113. # max_iter: scope.int(hp.quniform('max_iter', 100, 800, 1))
  114. # Stacked_Classifier:
  115. # stack_method: hp.choice('stack_method', ['auto', 'predict'])
  116. # passthrough: hp.choice('passthrough', [True, False])
  117. # Challenger_Stacked_Classifier: mlflow-artifacts:/aacd27cc7a9d429ab2439e37a4e8cdfb/d3eb9ead8a5c49f9b8299efea62d58a2/artifacts/candidate_Stacked_Classifier/model.pkl
  118. # Challenger_Voting_Classifier: mlflow-artifacts:/cd6eb5acbadd414fb5d32e02d983d99b/b2aea20ef6094e1a94b1567aea90753f/artifacts/candidate_Voting_Classifier/model.pkl
  119. # Final_Estimator: mlflow-artifacts:/f2a1d0cb47994e43887a7bf8ff11fbc0/4f79ae8649044b24a593ec1c748e012b/artifacts/challenger_LGBMClassifier/model.pkl
  120. # Champion_Estimator: mlflow-artifacts:/cd6eb5acbadd414fb5d32e02d983d99b/b2aea20ef6094e1a94b1567aea90753f/artifacts/candidate_Voting_Classifier/model.pkl
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...