Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Carlos-Francisco Méndez-Cruz
/
deep-learning-workshop
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Carlos-Francisco Méndez-Cruz
2019-05-09 16:50:38 -0500
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
959959c24a66783684b532d0f1165c64fff8e4e8
959959c2
1 parent
5ca9b829
Deep Learning Workshop
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
data-sets/get-hga-training-test-py27-v3.py
data-sets/get-hga-training-test-py27-v3.py
View file @
959959c
...
...
@@ -195,6 +195,10 @@ if __name__ == "__main__":
history
=
model
.
fit
(
train_features
,
train_labels
,
epochs
=
50
,
verbose
=
0
,
validation_split
=
0.25
)
# Print model metrics
print
(
"Model metics:"
)
print
(
"
\n\t
%
s:"
%
(
model
.
metrics_names
[
1
]))
# Plot training-validation loss
plt
.
figure
()
plt
.
plot
(
history
.
history
[
'loss'
])
...
...
Please
register
or
login
to post a comment