Skip to content

Instantly share code, notes, and snippets.

@yildizumut yildizumut/predictions.py Secret
Created Aug 13, 2019

Embed
What would you like to do?
Getting the predictions
S = np.array([So * np.exp(drift + diffusion[str(scen)]) for scen in range(1, scen_size + 1)])
S = np.hstack((np.array([[So] for scen in range(scen_size)]), S))
print(S)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.