Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Susheel Busi
EukClassify
Compare Revisions
c2bafd6efa57574118a737ec526aacf908fb3e02...7e7aecb9462dd0a94d4e9d01cd0d796a04ecf5cf
Commits (2)
Update grid_search.py
· f36d1659
Mass23
authored
Sep 02, 2021
f36d1659
Merge branch 'Mass23-master-patch-66798' into 'master'
· 7e7aecb9
Susheel Busi
authored
Sep 02, 2021
Update grid_search.py See merge request
!23
7e7aecb9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
scripts/grid_search.py
scripts/grid_search.py
+1
-1
No files found.
scripts/grid_search.py
View file @
7e7aecb9
...
...
@@ -74,7 +74,7 @@ def grid_search(X, y, model, emb_func, trans_func, param_grid, scorings, cv, cor
metrics
=
list
(
scorings
.
keys
())
res
=
dict
()
for
param
in
param_grid
.
keys
():
res
[
param
]
=
best_params
[
param
]
res
[
param
]
=
best_params
[
param
.
split
(
'__'
)[
1
]
]
for
metric
in
metrics
:
res
[
metric
]
=
scores
[
metric
]
df
=
pd
.
DataFrame
.
from_dict
(
res
)
...
...