Merge pull request #15 from BlockScience/trigger_work

sunday work on plots for explaining trigger
This commit is contained in:
Andrew Clark 2020-08-17 14:31:09 -04:00 committed by GitHub
commit 64b69e42a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 3 deletions

View File

@ -36265,4 +36265,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}

View File

@ -121,4 +121,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}

View File

@ -7,7 +7,8 @@ import matplotlib.cm as cmx
import seaborn as sns
# note --> alpha is redundant with params since alpha is in params
# we can simplify by removing alpha explicit dependence and just pull it as params['alpha']
def trigger_threshold(requested, funds, supply, alpha, params):
'''
Function that determines threshold for proposals being accepted.