Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Packages
chemical_checker
Commits
02d1db1c
Commit
02d1db1c
authored
Aug 19, 2021
by
Martino Bertoni
🌋
Browse files
changed default activation function to tanh
parent
0ba9f83e
Changes
1
Hide whitespace changes
Inline
Side-by-side
package/chemicalchecker/tool/adanet/adanet_wrap.py
View file @
02d1db1c
...
...
@@ -45,7 +45,7 @@ class AdaNetWrapper(object):
self
.
adanet_lambda
=
kwargs
.
get
(
"adanet_lambda"
,
0.001
)
self
.
random_seed
=
int
(
kwargs
.
get
(
"random_seed"
,
42
))
self
.
model_dir
=
kwargs
.
get
(
"model_dir"
,
None
)
self
.
activation
=
kwargs
.
get
(
"activation"
,
tf
.
nn
.
relu
)
self
.
activation
=
kwargs
.
get
(
"activation"
,
tf
.
nn
.
tanh
)
self
.
shuffles
=
int
(
kwargs
.
get
(
"shuffles"
,
10
))
self
.
dropout_rate
=
float
(
kwargs
.
get
(
"dropout_rate"
,
0.2
))
self
.
augmentation
=
kwargs
.
get
(
"augmentation"
,
False
)
...
...
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