Skip to content

Conversation

@aloctavodia
Copy link
Member

This mainly reflects changes in the new API.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

RANDOM_SEED = 8457
rng = np.random.RandomState(RANDOM_SEED)
RANDOM_SEED = 5781
np.random.seed(RANDOM_SEED)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the global seed doesn't have any effect on v4? if the rng is not used then we can only define the random seed variable to pass to pymc.sample

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I double-checked and it has an effect on BART.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It shouldn't ;)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we open an issue on pymc-bart about this and merge in the meantime?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not clear to me what I have to change on pymc-bart, but I will give it a try. Any suggestion is welcome.

@OriolAbril OriolAbril merged commit 0e45432 into main Nov 10, 2022
@OriolAbril OriolAbril deleted the bart_update branch November 10, 2022 18:44
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.

3 participants