pymc-devs / pymc-experimental

https://pymc-experimental.readthedocs.io
Other
72 stars 47 forks source link

Question: Will the do-operator be available for ModelBuilder? #236

Closed galenseilis closed 10 months ago

galenseilis commented 10 months ago

I'm excited about the existence of the do-operator being incorporated into PyMC:

I'm considering whether to use ModelBuilder for some custom model classes that are scikit-learn-like that also have the do-operator available.

If I start developing model classes with ModelBuilder can I expect that the do-operator will be available for them?

ricardoV94 commented 10 months ago

The do operator works at the pymc Model level by returning a modified copy of the model.

I am sure you can make use of if with the ModelBuilder class, just have to think what exactly you want to do.