Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
s2s-ai-challenge-kit-eth-ubern
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Daniel Steinfeld
s2s-ai-challenge-kit-eth-ubern
Commits
f7e2955f
Unverified
Commit
f7e2955f
authored
3 years ago
by
Pavel Zwerschke
Browse files
Options
Downloads
Patches
Plain Diff
Fix epochs as hyperparameter
parent
e1c7db17
Branches
hyperparam-optimization
Branches containing commit
Tags
Tags containing commit
1 merge request
!3
final submission for challenge
Pipeline
#269255
passed
3 years ago
Stage: build
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
notebooks/CNN_for_tercile_probabilities_hyperopt.py
+2
-3
2 additions, 3 deletions
notebooks/CNN_for_tercile_probabilities_hyperopt.py
with
2 additions
and
3 deletions
notebooks/CNN_for_tercile_probabilities_hyperopt.py
+
2
−
3
View file @
f7e2955f
...
@@ -442,9 +442,8 @@ def evaluate(params):
...
@@ -442,9 +442,8 @@ def evaluate(params):
# In[22]:
# In[22]:
# print(f'start fitting model in fold {fold_no}')
# print(f'start fitting model in fold {fold_no}')
ep
=
5
hist
=
cnn
.
fit
(
dg_train
,
hist
=
cnn
.
fit
(
dg_train
,
epochs
=
ep
,
shuffle
=
False
,
epochs
=
ep
ochs
,
shuffle
=
False
,
validation_data
=
dg_valid
)
validation_data
=
dg_valid
)
# In[23]:
# In[23]:
...
@@ -482,7 +481,7 @@ if __name__ == '__main__':
...
@@ -482,7 +481,7 @@ if __name__ == '__main__':
space
=
space
,
space
=
space
,
algo
=
tpe
.
suggest
,
algo
=
tpe
.
suggest
,
trials
=
trials
,
trials
=
trials
,
max_evals
=
2
)
max_evals
=
10
)
print
(
"
---------------BEST---------------
"
)
print
(
"
---------------BEST---------------
"
)
print
(
best
)
print
(
best
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment