pymc-devs/pymc

Compile single function in InferenceDataConverter._extract_log_likelihood

Open

#5,256 opened on 2021年12月12日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)Python (1,902 forks)batch import
help wantedmaintenancetrace-backend

Repository metrics

Stars
 (7,926 stars)
PR merge metrics
 (平均マージ 11d) (30d で 7 merged PRs)

説明

After #5245 we no longer need to create one function per observed variable, which may be more efficient.

https://github.com/pymc-devs/pymc/blob/10523ef548d68848d6408f78d52fefea9be5c521/pymc/backends/arviz.py#L266-L271

This requires some understanding of how to feed the right information to the InferenceData object, possibly with some extra room for improvements in InferenceDataConverter.log_likelihood_vals_point which has a TODO as well:

https://github.com/pymc-devs/pymc/blob/10523ef548d68848d6408f78d52fefea9be5c521/pymc/backends/arviz.py#L240-L245

コントリビューターガイド