Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mhc_rank
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Patrick Skillman-Lawrence
mhc_rank
Commits
11632aad
Commit
11632aad
authored
6 years ago
by
Tim O'Donnell
Browse files
Options
Downloads
Patches
Plain Diff
fixes
parent
9788ec5b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
mhcflurry/class1_neural_network.py
+5
-1
5 additions, 1 deletion
mhcflurry/class1_neural_network.py
requirements.txt
+1
-0
1 addition, 0 deletions
requirements.txt
setup.py
+1
-0
1 addition, 0 deletions
setup.py
with
7 additions
and
1 deletion
mhcflurry/class1_neural_network.py
+
5
−
1
View file @
11632aad
...
...
@@ -435,6 +435,7 @@ class Class1NeuralNetwork(object):
sample_weights
=
None
,
shuffle_permutation
=
None
,
verbose
=
1
,
progress_callback
=
None
,
progress_preamble
=
""
,
progress_print_interval
=
5.0
):
"""
...
...
@@ -739,6 +740,9 @@ class Class1NeuralNetwork(object):
min_val_loss_iteration
)).
strip
())
break
if
progress_callback
:
progress_callback
()
fit_info
[
"
time
"
]
=
time
.
time
()
-
start
fit_info
[
"
num_points
"
]
=
len
(
peptides
)
self
.
fit_info
.
append
(
dict
(
fit_info
))
...
...
@@ -823,7 +827,7 @@ class Class1NeuralNetwork(object):
from
keras.layers
import
Input
import
keras.layers
from
keras.layers.core
import
Dense
,
Flatten
,
Reshape
,
Dropout
from
keras.layers.core
import
Dense
,
Flatten
,
Dropout
from
keras.layers.embeddings
import
Embedding
from
keras.layers.normalization
import
BatchNormalization
...
...
This diff is collapsed.
Click to expand it.
requirements.txt
+
1
−
0
View file @
11632aad
...
...
@@ -8,3 +8,4 @@ scikit-learn
mhcnames
pyyaml
tqdm
np_utils
\ No newline at end of file
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
0
View file @
11632aad
...
...
@@ -58,6 +58,7 @@ if __name__ == '__main__':
'
mhcnames
'
,
'
pyyaml
'
,
'
tqdm
'
,
'
np_utils
'
,
]
if
PY2
:
# concurrent.futures is a standard library in Py3 but Py2
...
...
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