pymc icon indicating copy to clipboard operation
pymc copied to clipboard

Remove model.check_test_point

Open canyon289 opened this issue 4 years ago • 3 comments

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 https://github.com/pymc-devs/pymc3/issues/4205

canyon289 avatar Apr 12 '21 14:04 canyon289

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

ricardoV94 avatar Apr 12 '21 14:04 ricardoV94

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).

OriolAbril avatar Apr 12 '21 15:04 OriolAbril

Will random variables still accept a testval argument?

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

brandonwillard avatar Apr 12 '21 16:04 brandonwillard

Closed via https://github.com/pymc-devs/pymc/pull/6237

ricardoV94 avatar Nov 03 '22 14:11 ricardoV94