Skip to content

Remove model.check_test_point #4633

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

Closed
canyon289 opened this issue Apr 12, 2021 · 4 comments
Closed

Remove model.check_test_point #4633

canyon289 opened this issue Apr 12, 2021 · 4 comments
Milestone

Comments

@canyon289
Copy link
Member

canyon289 commented Apr 12, 2021

Description of your problem

model.check_test_point is marked for deprecation. V4 seems like a good time to remove it. Opening a discussion to get a second opinion. If we agree it is a good time to remove it we can turn this into an "actionable" issue

https://github.com/pymc-devs/pymc3/blob/v4/pymc3/model.py#L1357

@ricardoV94 seems like you've got some related thoughts given the discussion in this issue ticket
#4205

@ricardoV94
Copy link
Member

ricardoV94 commented Apr 12, 2021

This was marked as deprecation just now. Users will not have not seen this deprecation prior to changing to V4.

@OriolAbril
Copy link
Member

Will random variables still accept a testval argument? Maybe we should discuss which changes should be "plain" breaking changes and which should have some kind of deprecation to ease transition.

I see the value in ensuring a smooth transition, but I think it would be even better to break everything with v4 and then have a stable api (or an as stable as possible api). I think this could have two positive outcomes: 1) it could decrease the opposition to pinning pymc3 versions and have people working on the latest release regularly and 2) accelerate pymc3 4.x adoption (given that pinning to 3.x and not updating anything is always an option, I'm not sure if users will prefer to do "significant" updates to their code once or minor nearly insignificant changes that can drag along for a while).

@brandonwillard
Copy link
Contributor

Will random variables still accept a testval argument?

Yes, but we should call it something else, like "initial value". See #4567.

@twiecki twiecki added the v4 label May 7, 2021
@ricardoV94 ricardoV94 added this to the V4.1.0 milestone Jan 10, 2022
@ricardoV94 ricardoV94 changed the title [Discussion] Deprecate model.check_test_point in v4 Deprecate model.check_test_point in v4 Apr 1, 2022
@michaelosthege michaelosthege changed the title Deprecate model.check_test_point in v4 Remove model.check_test_point Jun 18, 2022
@michaelosthege michaelosthege modified the milestones: v4.1.0, v5.0.0 Jun 18, 2022
@ricardoV94
Copy link
Member

Closed via #6237

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

No branches or pull requests

6 participants