Last active
March 15, 2020 14:28
-
-
Save santiagocasas/85f79a3fb9d06ad1384f948645cc33f8 to your computer and use it in GitHub Desktop.
models
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
def expo_model(x,p,N0=3,x0=1): | |
return N0*(1+p)**(x-x0) | |
def logistic_model(x,a,b,c): | |
return c/(1+np.exp(-(x-b)/a)) | |
def gompertz_model(x,a,b,c): | |
return c*np.exp(-b*np.exp(-x/a)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment