Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add log_likelihood for pystan #237

Merged
merged 1 commit into from
Sep 14, 2018
Merged

Conversation

ahartikainen
Copy link
Contributor

User can give log_likelihood value as

  • str--> parameter in fit
  • list / numpy array --> assumes same shape and sort order as extract gives
    • 2.18+ --> permuted=False, (draws, chains, *shape)
    • 2.17 and earlier --> permuted=True, (draws*chains, *shape)

Includes also small fixes for extraction process, if chains == 1.

@ColCarroll ColCarroll merged commit c4270b5 into master Sep 14, 2018
@ahartikainen ahartikainen deleted the feature/loglikelihood_pystan branch September 19, 2018 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants