Skip to content

Commit

Permalink
Wrapped new version, invalidated old cache
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaCappelletti94 committed Jun 7, 2019
1 parent 8227d6b commit 5e1d0da
Show file tree
Hide file tree
Showing 1,808 changed files with 2 additions and 46,916 deletions.
2 changes: 1 addition & 1 deletion arrp.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: arrp
Version: 2.4.0
Version: 2.4.1
Summary: Simple python package to render the holdouts and training datasets of active regulatory regions for models with the task to predict them.
Home-page: https://github.com/LucaCappelletti94/arrp
Author: Luca Cappelletti
Expand Down
2 changes: 1 addition & 1 deletion arrp/model_tuner.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def __init__(self, structure: Callable, space: Space, holdouts: Callable):

@classmethod
def _calculate_score(cls, last_epoch: Dict) -> float:
return last_epoch["val_auprc"] * (1 - last_epoch["val_loss"]) * last_epoch["val_acc"] * last_epoch["val_auroc"]
return last_epoch["val_auprc"] * last_epoch["val_auroc"] / last_epoch["val_loss"]

def _score(self, structure: Dict, training:Dict, data_hash:Dict)->float:
"""Return average model score."""
Expand Down

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.

0 comments on commit 5e1d0da

Please sign in to comment.