-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtrainer.log
More file actions
70 lines (68 loc) · 15.6 KB
/
trainer.log
File metadata and controls
70 lines (68 loc) · 15.6 KB
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
[I 2026-04-05 09:41:17,485] A new study created in memory with name: no-name-5b040fc5-217a-40e2-a4bb-7088045614f3
[I 2026-04-05 09:41:17,783] Trial 0 finished with value: 0.7774628879892037 and parameters: {'n_estimators': 122, 'max_depth': 3, 'learning_rate': 0.019440617001599297, 'subsample': 0.9785473197354915, 'colsample_bytree': 0.7776205341447845}. Best is trial 0 with value: 0.7774628879892037.
[I 2026-04-05 09:41:17,940] Trial 1 finished with value: 0.7566801619433199 and parameters: {'n_estimators': 51, 'max_depth': 4, 'learning_rate': 0.2787309644541312, 'subsample': 0.9866790472665627, 'colsample_bytree': 0.8713223510881198}. Best is trial 0 with value: 0.7774628879892037.
[I 2026-04-05 09:41:18,284] Trial 2 finished with value: 0.7672064777327936 and parameters: {'n_estimators': 116, 'max_depth': 10, 'learning_rate': 0.04725728525872745, 'subsample': 0.9934812134985569, 'colsample_bytree': 0.8731918152708942}. Best is trial 0 with value: 0.7774628879892037.
[I 2026-04-05 09:41:18,738] Trial 3 finished with value: 0.7879892037786774 and parameters: {'n_estimators': 226, 'max_depth': 4, 'learning_rate': 0.04771021893281905, 'subsample': 0.6212686292078113, 'colsample_bytree': 0.7424781931825627}. Best is trial 3 with value: 0.7879892037786774.
[I 2026-04-05 09:41:19,108] Trial 4 finished with value: 0.7773279352226721 and parameters: {'n_estimators': 165, 'max_depth': 5, 'learning_rate': 0.07422735412587221, 'subsample': 0.9329191332176314, 'colsample_bytree': 0.9871905119485394}. Best is trial 3 with value: 0.7879892037786774.
[I 2026-04-05 09:41:19,376] Trial 5 finished with value: 0.7724696356275305 and parameters: {'n_estimators': 77, 'max_depth': 6, 'learning_rate': 0.027026746193828107, 'subsample': 0.9097492522622864, 'colsample_bytree': 0.8135013294753012}. Best is trial 3 with value: 0.7879892037786774.
[I 2026-04-05 09:41:20,047] Trial 6 finished with value: 0.7878542510121458 and parameters: {'n_estimators': 278, 'max_depth': 4, 'learning_rate': 0.05580805202505966, 'subsample': 0.9208643496231443, 'colsample_bytree': 0.5522409973485259}. Best is trial 3 with value: 0.7879892037786774.
[I 2026-04-05 09:41:20,348] Trial 7 finished with value: 0.8035087719298246 and parameters: {'n_estimators': 102, 'max_depth': 8, 'learning_rate': 0.01102688552721057, 'subsample': 0.6327833404812758, 'colsample_bytree': 0.7042190600768133}. Best is trial 7 with value: 0.8035087719298246.
[I 2026-04-05 09:41:20,584] Trial 8 finished with value: 0.7622132253711201 and parameters: {'n_estimators': 99, 'max_depth': 10, 'learning_rate': 0.15322960664767835, 'subsample': 0.5518211091905115, 'colsample_bytree': 0.9696106774529032}. Best is trial 7 with value: 0.8035087719298246.
[I 2026-04-05 09:41:21,155] Trial 9 finished with value: 0.7929824561403509 and parameters: {'n_estimators': 293, 'max_depth': 10, 'learning_rate': 0.05427644865631112, 'subsample': 0.5881211149314538, 'colsample_bytree': 0.746984792491076}. Best is trial 7 with value: 0.8035087719298246.
[I 2026-04-05 09:41:21,590] Trial 10 finished with value: 0.8087719298245613 and parameters: {'n_estimators': 168, 'max_depth': 8, 'learning_rate': 0.010954840744235736, 'subsample': 0.7249021730182518, 'colsample_bytree': 0.6096851826660722}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:22,028] Trial 11 finished with value: 0.8036437246963561 and parameters: {'n_estimators': 173, 'max_depth': 8, 'learning_rate': 0.0101850416097431, 'subsample': 0.7150214850578919, 'colsample_bytree': 0.613596116937139}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:22,514] Trial 12 finished with value: 0.8035087719298245 and parameters: {'n_estimators': 181, 'max_depth': 8, 'learning_rate': 0.011039302018308677, 'subsample': 0.7602210186113092, 'colsample_bytree': 0.5780412533849862}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:22,949] Trial 13 finished with value: 0.7827260458839406 and parameters: {'n_estimators': 177, 'max_depth': 8, 'learning_rate': 0.02186497973419104, 'subsample': 0.7806033894198477, 'colsample_bytree': 0.6353363056659508}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:23,492] Trial 14 finished with value: 0.8086369770580296 and parameters: {'n_estimators': 230, 'max_depth': 7, 'learning_rate': 0.01424806141793596, 'subsample': 0.7035080302595386, 'colsample_bytree': 0.5025305611841674}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:24,384] Trial 15 finished with value: 0.8035087719298246 and parameters: {'n_estimators': 236, 'max_depth': 7, 'learning_rate': 0.01682175181585299, 'subsample': 0.6912960981910441, 'colsample_bytree': 0.5085370977629184}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:25,754] Trial 16 finished with value: 0.8035087719298246 and parameters: {'n_estimators': 219, 'max_depth': 6, 'learning_rate': 0.029811663662165862, 'subsample': 0.8279191614443429, 'colsample_bytree': 0.5053284089182479}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:27,331] Trial 17 finished with value: 0.7878542510121457 and parameters: {'n_estimators': 257, 'max_depth': 7, 'learning_rate': 0.013994634205432763, 'subsample': 0.8282465715466907, 'colsample_bytree': 0.6547348396603275}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:27,830] Trial 18 finished with value: 0.7829959514170041 and parameters: {'n_estimators': 204, 'max_depth': 9, 'learning_rate': 0.03437511868014016, 'subsample': 0.502660837530505, 'colsample_bytree': 0.5673255383235192}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:28,259] Trial 19 finished with value: 0.8033738191632928 and parameters: {'n_estimators': 143, 'max_depth': 9, 'learning_rate': 0.015299162796933502, 'subsample': 0.67135201638089, 'colsample_bytree': 0.6893362318468748}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:28,783] Trial 20 finished with value: 0.7774628879892037 and parameters: {'n_estimators': 255, 'max_depth': 7, 'learning_rate': 0.09948328050975778, 'subsample': 0.8253684978558794, 'colsample_bytree': 0.5445626212357826}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:29,277] Trial 21 finished with value: 0.7878542510121458 and parameters: {'n_estimators': 194, 'max_depth': 9, 'learning_rate': 0.010060021201520334, 'subsample': 0.7069019551447845, 'colsample_bytree': 0.6161928446046674}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:29,660] Trial 22 finished with value: 0.8087719298245613 and parameters: {'n_estimators': 152, 'max_depth': 8, 'learning_rate': 0.014528176696107294, 'subsample': 0.7267418476448295, 'colsample_bytree': 0.6023809272893101}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:30,058] Trial 23 finished with value: 0.7983805668016194 and parameters: {'n_estimators': 149, 'max_depth': 6, 'learning_rate': 0.023072779074309317, 'subsample': 0.780459227000822, 'colsample_bytree': 0.5828185505917175}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:30,453] Trial 24 finished with value: 0.7929824561403508 and parameters: {'n_estimators': 146, 'max_depth': 7, 'learning_rate': 0.014326240662395616, 'subsample': 0.7307263261664227, 'colsample_bytree': 0.6731926232863213}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:31,016] Trial 25 finished with value: 0.8035087719298246 and parameters: {'n_estimators': 201, 'max_depth': 9, 'learning_rate': 0.036053122642620436, 'subsample': 0.6471845659599573, 'colsample_bytree': 0.5018923953608577}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:31,621] Trial 26 finished with value: 0.7931174089068825 and parameters: {'n_estimators': 159, 'max_depth': 8, 'learning_rate': 0.018037664720893017, 'subsample': 0.7437065394711861, 'colsample_bytree': 0.6026521187759689}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:31,934] Trial 27 finished with value: 0.7931174089068825 and parameters: {'n_estimators': 129, 'max_depth': 5, 'learning_rate': 0.013334692214928272, 'subsample': 0.8714146747758929, 'colsample_bytree': 0.5374793723873748}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:33,056] Trial 28 finished with value: 0.7983805668016194 and parameters: {'n_estimators': 247, 'max_depth': 7, 'learning_rate': 0.025162558782868806, 'subsample': 0.6762753575726934, 'colsample_bytree': 0.7150087663437994}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:34,506] Trial 29 finished with value: 0.7931174089068825 and parameters: {'n_estimators': 213, 'max_depth': 8, 'learning_rate': 0.019559211975558766, 'subsample': 0.7980547396043206, 'colsample_bytree': 0.7943768252122163}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:34,983] Trial 30 finished with value: 0.7879892037786774 and parameters: {'n_estimators': 189, 'max_depth': 5, 'learning_rate': 0.013090501383240596, 'subsample': 0.5944113750519192, 'colsample_bytree': 0.6617165295733715}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:35,420] Trial 31 finished with value: 0.8087719298245613 and parameters: {'n_estimators': 166, 'max_depth': 8, 'learning_rate': 0.010156292913209327, 'subsample': 0.719902417512084, 'colsample_bytree': 0.6026203251445503}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:35,815] Trial 32 finished with value: 0.7723346828609986 and parameters: {'n_estimators': 128, 'max_depth': 9, 'learning_rate': 0.012362479709220378, 'subsample': 0.7460816276491729, 'colsample_bytree': 0.6322911267540766}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:36,235] Trial 33 finished with value: 0.7723346828609987 and parameters: {'n_estimators': 157, 'max_depth': 8, 'learning_rate': 0.2796558328615757, 'subsample': 0.6670583434693551, 'colsample_bytree': 0.5871402299051414}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:36,616] Trial 34 finished with value: 0.7929824561403508 and parameters: {'n_estimators': 136, 'max_depth': 7, 'learning_rate': 0.016080542655085163, 'subsample': 0.7137028942230691, 'colsample_bytree': 0.856406633251193}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:36,974] Trial 35 finished with value: 0.8033738191632928 and parameters: {'n_estimators': 169, 'max_depth': 3, 'learning_rate': 0.01891040810987332, 'subsample': 0.76328387501629, 'colsample_bytree': 0.5266108742018131}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:37,254] Trial 36 finished with value: 0.7672064777327935 and parameters: {'n_estimators': 110, 'max_depth': 6, 'learning_rate': 0.16836833671114335, 'subsample': 0.6061419337311895, 'colsample_bytree': 0.6437970389490959}. Best is trial 10 with value: 0.8087719298245613.
[I 2026-04-05 09:41:37,528] Trial 37 finished with value: 0.8140350877192983 and parameters: {'n_estimators': 86, 'max_depth': 9, 'learning_rate': 0.012000562075383367, 'subsample': 0.6491238596000494, 'colsample_bytree': 0.5563892417976878}. Best is trial 37 with value: 0.8140350877192983.
[I 2026-04-05 09:41:37,727] Trial 38 finished with value: 0.8087719298245613 and parameters: {'n_estimators': 53, 'max_depth': 10, 'learning_rate': 0.012048632041102196, 'subsample': 0.6469513067290913, 'colsample_bytree': 0.5563605296973514}. Best is trial 37 with value: 0.8140350877192983.
[I 2026-04-05 09:41:38,005] Trial 39 finished with value: 0.7983805668016194 and parameters: {'n_estimators': 83, 'max_depth': 9, 'learning_rate': 0.020309298121690893, 'subsample': 0.5677639897791846, 'colsample_bytree': 0.7212124567668116}. Best is trial 37 with value: 0.8140350877192983.
[I 2026-04-05 09:41:38,231] Trial 40 finished with value: 0.7929824561403508 and parameters: {'n_estimators': 66, 'max_depth': 10, 'learning_rate': 0.08213070263983693, 'subsample': 0.8708244295080535, 'colsample_bytree': 0.7696045541609677}. Best is trial 37 with value: 0.8140350877192983.
[I 2026-04-05 09:41:38,448] Trial 41 finished with value: 0.8140350877192983 and parameters: {'n_estimators': 55, 'max_depth': 10, 'learning_rate': 0.011911422747970465, 'subsample': 0.6420836346627875, 'colsample_bytree': 0.5578023806203294}. Best is trial 37 with value: 0.8140350877192983.
[I 2026-04-05 09:41:38,688] Trial 42 finished with value: 0.8140350877192983 and parameters: {'n_estimators': 82, 'max_depth': 10, 'learning_rate': 0.010318364382844312, 'subsample': 0.6486154976727648, 'colsample_bytree': 0.5898041784874133}. Best is trial 37 with value: 0.8140350877192983.
[I 2026-04-05 09:41:40,145] Trial 43 finished with value: 0.8190283400809717 and parameters: {'n_estimators': 86, 'max_depth': 10, 'learning_rate': 0.011804926773579338, 'subsample': 0.625398499787874, 'colsample_bytree': 0.5691653130540659}. Best is trial 43 with value: 0.8190283400809717.
[I 2026-04-05 09:41:40,777] Trial 44 finished with value: 0.8137651821862348 and parameters: {'n_estimators': 86, 'max_depth': 10, 'learning_rate': 0.011897900260134374, 'subsample': 0.5402983683027619, 'colsample_bytree': 0.5311767027871022}. Best is trial 43 with value: 0.8190283400809717.
[I 2026-04-05 09:41:41,112] Trial 45 finished with value: 0.8139001349527666 and parameters: {'n_estimators': 88, 'max_depth': 10, 'learning_rate': 0.017258490203562436, 'subsample': 0.5230419862022454, 'colsample_bytree': 0.5257375779004227}. Best is trial 43 with value: 0.8190283400809717.
[I 2026-04-05 09:41:41,429] Trial 46 finished with value: 0.8089068825910932 and parameters: {'n_estimators': 68, 'max_depth': 10, 'learning_rate': 0.017582809974495472, 'subsample': 0.5003149058433225, 'colsample_bytree': 0.5601952889004891}. Best is trial 43 with value: 0.8190283400809717.
[I 2026-04-05 09:41:41,702] Trial 47 finished with value: 0.7827260458839406 and parameters: {'n_estimators': 93, 'max_depth': 10, 'learning_rate': 0.011880106500837368, 'subsample': 0.6243753488486138, 'colsample_bytree': 0.9124013717661283}. Best is trial 43 with value: 0.8190283400809717.
[I 2026-04-05 09:41:41,925] Trial 48 finished with value: 0.8137651821862348 and parameters: {'n_estimators': 60, 'max_depth': 10, 'learning_rate': 0.027306744662854678, 'subsample': 0.5287478328093926, 'colsample_bytree': 0.5288673293275601}. Best is trial 43 with value: 0.8190283400809717.
[I 2026-04-05 09:41:42,238] Trial 49 finished with value: 0.8139001349527666 and parameters: {'n_estimators': 113, 'max_depth': 9, 'learning_rate': 0.016145045860249643, 'subsample': 0.5686145807755711, 'colsample_bytree': 0.5847547953647583}. Best is trial 43 with value: 0.8190283400809717.
--- Starting Hyperparameter Optimization with Optuna ---
Best trial accuracy: 0.8190
Best parameters: {'n_estimators': 86, 'max_depth': 10, 'learning_rate': 0.011804926773579338, 'scale_pos_weight': np.float64(1.1685393258426966), 'random_state': 42, 'eval_metric': 'logloss', 'subsample': 0.625398499787874, 'colsample_bytree': 0.5691653130540659}
Final Model Accuracy: 0.9016
ROC-AUC: 0.9589 | PR-AUC: 0.9410
Precision: 0.8438 | Recall: 0.9643 | F1: 0.9000
Brier Score: 0.0813
Preprocessor saved to models/preprocessor.joblib
Model, preprocessor, and metadata saved to models
2026-04-06 14:30:31,640 [INFO] Starting Clinical Optimization (Optuna: 50 trials)...
2026-04-06 14:30:57,963 [INFO] Optimization Complete. Best Value: 0.8336
2026-04-06 14:30:57,964 [INFO] Metrics -> Accuracy: 0.8242, Recall: 0.8209
2026-04-06 14:30:59,617 [INFO] Clinical Engine Artifacts (v2.3.0) saved successfully to models
2026-04-06 21:45:08,468 [INFO] Starting Clinical Optimization (Optuna: 50 trials)...
2026-04-06 21:45:32,059 [INFO] Optimization Complete. Best Value: 0.8326
2026-04-06 21:45:32,060 [INFO] Metrics -> Accuracy: 0.8190, Recall: 0.8209
2026-04-06 21:45:33,527 [INFO] Clinical Engine Artifacts (v2.4.0) saved successfully to models