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
8b9e468f
Commit
8b9e468f
authored
7 years ago
by
Tim O'Donnell
Browse files
Options
Downloads
Patches
Plain Diff
Fix
parent
1acaf1c6
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mhcflurry/train_allele_specific_models_command.py
+5
-0
5 additions, 0 deletions
mhcflurry/train_allele_specific_models_command.py
with
5 additions
and
0 deletions
mhcflurry/train_allele_specific_models_command.py
+
5
−
0
View file @
8b9e468f
...
...
@@ -7,6 +7,7 @@ import signal
import
sys
import
time
import
traceback
import
random
from
multiprocessing
import
Pool
,
Queue
,
cpu_count
from
functools
import
partial
from
pprint
import
pprint
...
...
@@ -272,6 +273,10 @@ def run(argv=sys.argv[1:]):
if
worker_pool
:
print
(
"
Processing %d work items in parallel.
"
%
len
(
work_items
))
# The estimated time to completion is more accurate if we randomize
# the order of the work.
random
.
shuffle
(
work_items
)
# We sort here so the predictors are in order of hyperparameter set num.
# This is convenient so that the neural networks get merged for each
# allele in the same order.
...
...
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