-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add the functionality to evaluate the model using boundry values of p… (
#355) * add the functionality to evaluate the model using boundry values of parameter * fix flake8 issues * fix additional flake8 issues * add test case * flake8 fixes * flake8 fixes * flake8 fixes * flake8 fixes * flake8 fixes * black fixes * Update test_external.py Use correct comparison operator. --------- Co-authored-by: Yannik Schälte <[email protected]> Co-authored-by: Stephan Grein <[email protected]> Co-authored-by: Stephan Grein <[email protected]>
- Loading branch information
1 parent
46ef9ae
commit d689b20
Showing
3 changed files
with
103 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import time | ||
from functools import wraps | ||
|
||
|
||
def timethis(func): | ||
@wraps(func) | ||
def wrapper(*args, **kwargs): | ||
start = time.time() | ||
func(*args, **kwargs) | ||
end = time.time() | ||
return end - start | ||
|
||
return wrapper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters