I believe there is a typo in the __init__ function for class HyperparameterSearcher. The default metric='auPRG' should be metric='auPRC'. I was running the simple_motif_detection.py script and received this key error:
Traceback (most recent call last):
File "simple_motif_finding.py", line 89, in <module>
searcher.search(num_hyperparameter_trials)
File "build/bdist.macosx-10.9-x86_64/egg/dragonn/hyperparameter_search.py", line 117, in search
File "build/bdist.macosx-10.9-x86_64/egg/dragonn/models.py", line 36, in score
File "build/bdist.macosx-10.9-x86_64/egg/dragonn/metrics.py", line 73, in __getitem__
KeyError: 'auPRG'
I believe there is a typo in the
__init__
function for classHyperparameterSearcher
. The defaultmetric='auPRG'
should bemetric='auPRC'
. I was running thesimple_motif_detection.py
script and received this key error: