Skip to content

Instantly share code, notes, and snippets.

@cossatot
Last active January 18, 2020 00:46
Show Gist options
  • Save cossatot/bb042e307e21134adba497179ca7f35e to your computer and use it in GitHub Desktop.
Save cossatot/bb042e307e21134adba497179ca7f35e to your computer and use it in GitHub Desktop.
Jupyter notebook for a Bayesian inversion of critical wedge parameters
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@virgilioamaris
Copy link

Err1

@cossatot
Copy link
Author

I see the problem now.

You need to run something like

priors['likelihood'] = priors.apply(calc_row_likelihood, axis=1)

instead of

priors = calc_row_likelihood(priors)

If it doesn't work exactly, read the error messages and try to understand them to find the problem.

@virgilioamaris
Copy link

Ok. Perfect.

@virgilioamaris
Copy link

Thank you. It work correctly.

@cossatot
Copy link
Author

Great, I am glad I could help. Good luck with your research!

@virgilioamaris
Copy link

virgilioamaris commented Jan 18, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment