-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresults_hydra_ridge_inverted_all_2nd_rnd.txt
136 lines (131 loc) · 11.6 KB
/
results_hydra_ridge_inverted_all_2nd_rnd.txt
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
nohup: ignoring input
/home/carolina/Documents/Mestrado/.venv/lib/python3.9/site-packages/torch/cuda/__init__.py:141: UserWarning: CUDA initialization: The NVIDIA driver on your system is too old (found version 11020). Please update your GPU driver by downloading and installing a new version from the URL: http://www.nvidia.com/Download/index.aspx Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver. (Triggered internally at ../c10/cuda/CUDAFunctions.cpp:108.)
return torch._C._cuda_getDeviceCount() > 0
/home/carolina/Documents/Mestrado/.venv/lib/python3.9/site-packages/sklearn/metrics/_classification.py:1344: UndefinedMetricWarning: Precision is ill-defined and being set to 0.0 in labels with no predicted samples. Use `zero_division` parameter to control this behavior.
_warn_prf(average, modifier, msg_start, len(result))
/home/carolina/Documents/Mestrado/.venv/lib/python3.9/site-packages/sklearn/metrics/_classification.py:1344: UndefinedMetricWarning: Precision is ill-defined and being set to 0.0 in labels with no predicted samples. Use `zero_division` parameter to control this behavior.
_warn_prf(average, modifier, msg_start, len(result))
/home/carolina/Documents/Mestrado/.venv/lib/python3.9/site-packages/sklearn/metrics/_classification.py:1344: UndefinedMetricWarning: Precision is ill-defined and being set to 0.0 in labels with no predicted samples. Use `zero_division` parameter to control this behavior.
_warn_prf(average, modifier, msg_start, len(result))
/home/carolina/Documents/Mestrado/.venv/lib/python3.9/site-packages/sklearn/metrics/_classification.py:1344: UndefinedMetricWarning: Precision is ill-defined and being set to 0.0 in labels with no predicted samples. Use `zero_division` parameter to control this behavior.
_warn_prf(average, modifier, msg_start, len(result))
/home/carolina/Documents/Mestrado/.venv/lib/python3.9/site-packages/sklearn/metrics/_classification.py:1344: UndefinedMetricWarning: Precision is ill-defined and being set to 0.0 in labels with no predicted samples. Use `zero_division` parameter to control this behavior.
_warn_prf(average, modifier, msg_start, len(result))
/home/carolina/Documents/Mestrado/.venv/lib/python3.9/site-packages/sklearn/metrics/_classification.py:1344: UndefinedMetricWarning: Precision is ill-defined and being set to 0.0 in labels with no predicted samples. Use `zero_division` parameter to control this behavior.
_warn_prf(average, modifier, msg_start, len(result))
/home/carolina/Documents/Mestrado/.venv/lib/python3.9/site-packages/sklearn/metrics/_classification.py:1344: UndefinedMetricWarning: Precision is ill-defined and being set to 0.0 in labels with no predicted samples. Use `zero_division` parameter to control this behavior.
_warn_prf(average, modifier, msg_start, len(result))
/home/carolina/Documents/Mestrado/.venv/lib/python3.9/site-packages/sklearn/metrics/_classification.py:1344: UndefinedMetricWarning: Precision is ill-defined and being set to 0.0 in labels with no predicted samples. Use `zero_division` parameter to control this behavior.
_warn_prf(average, modifier, msg_start, len(result))
/home/carolina/Documents/Mestrado/.venv/lib/python3.9/site-packages/sklearn/metrics/_classification.py:1344: UndefinedMetricWarning: Precision is ill-defined and being set to 0.0 in labels with no predicted samples. Use `zero_division` parameter to control this behavior.
_warn_prf(average, modifier, msg_start, len(result))
/home/carolina/Documents/Mestrado/.venv/lib/python3.9/site-packages/sklearn/metrics/_classification.py:1344: UndefinedMetricWarning: Precision is ill-defined and being set to 0.0 in labels with no predicted samples. Use `zero_division` parameter to control this behavior.
_warn_prf(average, modifier, msg_start, len(result))
Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/carolina/Documents/Mestrado/classifiers/loop_locally.py", line 153, in <module>
create_tasks(K) # This one trains models with full dataset.
File "/home/carolina/Documents/Mestrado/classifiers/loop_locally.py", line 53, in create_tasks
values = [
File "/home/carolina/Documents/Mestrado/classifiers/loop_locally.py", line 54, in <listcomp>
results[metric] for results in kfold_results
TypeError: tuple indices must be integers or slices, not str
GPU is not available
Start time: 2024-01-12_22-28-03
timeseries_f1-5 (10163, 24) (10163,) (2541, 24) (2541,)
Loaded: timeseries_f1-5
id h00 h01 h02 ... h23 country city category
0 0 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
1 1 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
2 2 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
3 3 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
4 4 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
... ... ... ... ... ... ... ... ... ...
4481 4481 0.000000 0.0 0.0 ... 0.490978 0.0 2.0 4.0
4482 4482 0.000000 0.0 0.0 ... 0.000000 0.0 2.0 4.0
4483 4483 0.268889 0.0 0.0 ... 0.184940 0.0 2.0 4.0
4484 4484 0.000000 0.0 0.0 ... 0.000000 0.0 2.0 4.0
4485 4485 0.000000 0.0 0.0 ... 0.178723 0.0 2.0 4.0
[4486 rows x 28 columns]
Treinando no país 0 e testando no país 1
Treinando no país 1 e testando no país 0
<function run_hydra_ridge at 0x7f31e549fdc0>_f1-5 ({'accuracy_score': 0.32294962277926503, 'f1_score': 0.15786937575352028, 'precision_score': 0.20413072067153745, 'recall_score': 0.32294962277926503}, {'accuracy_score': 0.314088274632189, 'f1_score': 0.17843708203299152, 'precision_score': 0.17287744344282516, 'recall_score': 0.314088274632189})
timeseries_f2-5 (10163, 24) (10163,) (2541, 24) (2541,)
Loaded: timeseries_f2-5
id h00 h01 h02 ... h23 country city category
0 0 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
1 1 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
2 2 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
3 3 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
4 4 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
... ... ... ... ... ... ... ... ... ...
4481 4481 0.000000 0.0 0.0 ... 0.490978 0.0 2.0 4.0
4482 4482 0.000000 0.0 0.0 ... 0.000000 0.0 2.0 4.0
4483 4483 0.268889 0.0 0.0 ... 0.184940 0.0 2.0 4.0
4484 4484 0.000000 0.0 0.0 ... 0.000000 0.0 2.0 4.0
4485 4485 0.000000 0.0 0.0 ... 0.178723 0.0 2.0 4.0
[4486 rows x 28 columns]
Treinando no país 0 e testando no país 1
Treinando no país 1 e testando no país 0
<function run_hydra_ridge at 0x7f31e549fdc0>_f2-5 ({'accuracy_score': 0.3228279386712095, 'f1_score': 0.15759729897777514, 'precision_score': 0.10424324747988302, 'recall_score': 0.3228279386712095}, {'accuracy_score': 0.32300490414623273, 'f1_score': 0.1923809919575936, 'precision_score': 0.18049965831743942, 'recall_score': 0.32300490414623273})
timeseries_f3-5 (10163, 24) (10163,) (2541, 24) (2541,)
Loaded: timeseries_f3-5
id h00 h01 h02 ... h23 country city category
0 0 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
1 1 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
2 2 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
3 3 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
4 4 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
... ... ... ... ... ... ... ... ... ...
4481 4481 0.000000 0.0 0.0 ... 0.490978 0.0 2.0 4.0
4482 4482 0.000000 0.0 0.0 ... 0.000000 0.0 2.0 4.0
4483 4483 0.268889 0.0 0.0 ... 0.184940 0.0 2.0 4.0
4484 4484 0.000000 0.0 0.0 ... 0.000000 0.0 2.0 4.0
4485 4485 0.000000 0.0 0.0 ... 0.178723 0.0 2.0 4.0
[4486 rows x 28 columns]
Treinando no país 0 e testando no país 1
Treinando no país 1 e testando no país 0
<function run_hydra_ridge at 0x7f31e549fdc0>_f3-5 ({'accuracy_score': 0.323192990995376, 'f1_score': 0.15835541892151112, 'precision_score': 0.5366122652484824, 'recall_score': 0.323192990995376}, {'accuracy_score': 0.3479714667855551, 'f1_score': 0.21770270645017958, 'precision_score': 0.1830434863014797, 'recall_score': 0.3479714667855551})
timeseries_f4-5 (10163, 24) (10163,) (2541, 24) (2541,)
Loaded: timeseries_f4-5
id h00 h01 h02 ... h23 country city category
0 0 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
1 1 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
2 2 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
3 3 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
4 4 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
... ... ... ... ... ... ... ... ... ...
4481 4481 0.000000 0.0 0.0 ... 0.490978 0.0 2.0 4.0
4482 4482 0.000000 0.0 0.0 ... 0.000000 0.0 2.0 4.0
4483 4483 0.268889 0.0 0.0 ... 0.184940 0.0 2.0 4.0
4484 4484 0.000000 0.0 0.0 ... 0.000000 0.0 2.0 4.0
4485 4485 0.000000 0.0 0.0 ... 0.178723 0.0 2.0 4.0
[4486 rows x 28 columns]
Treinando no país 0 e testando no país 1
Treinando no país 1 e testando no país 0
<function run_hydra_ridge at 0x7f31e549fdc0>_f4-5 ({'accuracy_score': 0.32294962277926503, 'f1_score': 0.15785506942387226, 'precision_score': 0.403842210891372, 'recall_score': 0.32294962277926503}, {'accuracy_score': 0.3330361123495319, 'f1_score': 0.20433826828548005, 'precision_score': 0.1819941373457291, 'recall_score': 0.3330361123495319})
timeseries_f5-5 (10164, 24) (10164,) (2540, 24) (2540,)
Loaded: timeseries_f5-5
id h00 h01 h02 ... h23 country city category
0 0 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
1 1 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
2 2 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
3 3 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
4 4 0.000000 0.0 0.0 ... 0.000000 0.0 0.0 0.0
... ... ... ... ... ... ... ... ... ...
4481 4481 0.000000 0.0 0.0 ... 0.490978 0.0 2.0 4.0
4482 4482 0.000000 0.0 0.0 ... 0.000000 0.0 2.0 4.0
4483 4483 0.268889 0.0 0.0 ... 0.184940 0.0 2.0 4.0
4484 4484 0.000000 0.0 0.0 ... 0.000000 0.0 2.0 4.0
4485 4485 0.000000 0.0 0.0 ... 0.178723 0.0 2.0 4.0
[4486 rows x 28 columns]
Treinando no país 0 e testando no país 1
Treinando no país 1 e testando no país 0
<function run_hydra_ridge at 0x7f31e549fdc0>_f5-5 ({'accuracy_score': 0.32294962277926503, 'f1_score': 0.15786922662048866, 'precision_score': 0.17064731027160235, 'recall_score': 0.32294962277926503}, {'accuracy_score': 0.3354881854658939, 'f1_score': 0.206429799063304, 'precision_score': 0.19265368361278812, 'recall_score': 0.3354881854658939})
<function run_hydra_ridge at 0x7f31e549fdc0>
Command exited with non-zero status 1
1018.97user 3106.97system 5:56.08elapsed 1158%CPU (0avgtext+0avgdata 1590288maxresident)k
0inputs+120outputs (0major+10052148minor)pagefaults 0swaps