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
Commits
2344bd2d
Commit
2344bd2d
authored
Sep 02, 2021
by
Susheel Busi
Browse files
added print in grid_search
parent
7e7aecb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
scripts/grid_search.py
scripts/grid_search.py
+1
-0
No files found.
scripts/grid_search.py
View file @
2344bd2d
...
...
@@ -74,6 +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
():
print
(
param
)
res
[
param
]
=
best_params
[
param
.
split
(
'__'
)[
1
]]
for
metric
in
metrics
:
res
[
metric
]
=
scores
[
metric
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment