Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lucas Miranda
deepOF
Commits
a03a1491
Commit
a03a1491
authored
Apr 15, 2021
by
lucas_miranda
Browse files
Added extra branch to main autoencoder for rule_based prediction
parent
cbb07db4
Pipeline
#98501
canceled with stages
in 8 minutes and 52 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
deepof/data.py
View file @
a03a1491
...
...
@@ -331,7 +331,7 @@ class project:
for
k
,
value
in
tab_dict
.
items
():
imputed
=
IterativeImputer
(
max_iter
=
1
000
,
skip_complete
=
True
max_iter
=
1
,
skip_complete
=
True
## CHANGE. TESTING ONLY
).
fit_transform
(
value
)
tab_dict
[
k
]
=
pd
.
DataFrame
(
imputed
,
index
=
value
.
index
,
columns
=
value
.
columns
...
...
deepof/train_utils.py
View file @
a03a1491
...
...
@@ -100,7 +100,7 @@ def get_callbacks(
elif
reg_cat_clusters
and
reg_cluster_variance
:
latreg
=
"categorical+variance"
run_ID
=
"{}{}{}{}{}{}{}
_
{}"
.
format
(
run_ID
=
"{}{}{}{}{}{}{}
{}{}{}{}
{}"
.
format
(
(
"GMVAE"
if
variational
else
"AE"
),
(
"_input_type={}"
.
format
(
input_type
)
if
input_type
else
"coords"
),
(
"_NextSeqPred={}"
.
format
(
next_sequence_prediction
)
if
variational
else
""
),
...
...
@@ -115,6 +115,8 @@ def get_callbacks(
(
"_{}"
.
format
(
datetime
.
now
().
strftime
(
"%Y%m%d-%H%M%S"
))
if
not
run
else
""
),
)
print
(
run_ID
)
log_dir
=
os
.
path
.
abspath
(
os
.
path
.
join
(
outpath
,
"fit"
,
run_ID
))
tensorboard_callback
=
tf
.
keras
.
callbacks
.
TensorBoard
(
log_dir
=
log_dir
,
...
...
@@ -599,7 +601,7 @@ def tune_search(
directory
=
os
.
path
.
join
(
outpath
,
"HyperBandx_{}_{}"
.
format
(
loss
,
str
(
date
.
today
()))
),
max_epochs
=
3
5
,
max_epochs
=
5
0
,
hyperband_iterations
=
hypertun_trials
,
factor
=
3
,
**
hpt_params
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment