You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the logic for computing and plotting Bayes Factors resides within the main repository. To better align with a modular design and enhance code maintainability, I propose moving the functionality for Bayes Factor plotting to the arviz-plots repository. This separation will ensure better organization and maintainability by decoupling the core computation logic from the plotting logic.
Proposed Refactor Benefits
Separation of Concerns: Clearly separates the computation (az.bayes_factor) from the visualization az.plot_bf.
Focused Repositories: Makes the arviz-plots repository dedicated to visualization tasks.
Simplified Dependencies: Reduces dependencies for users who only require the visualization logic.
Progress
The computation logic has already been separated into the arviz-stats repository as discussed in [#46]
I am now working on the separation of the plotting functionality into the arviz-plots repository.
This issue was previously discussed in arviz Issue #2402, and I am continuing the work based on that discussion.
The text was updated successfully, but these errors were encountered:
To define the functionality for plotting the Bayes factor function, I need these functions, but they are not available in the arviz-plots repository. These functions are available in the main repository of arviz. Do I need to initialize them again in the arviz-plots repository? If not, how can I access that functionality?
from ..data.utils import extract
from .plot_utils import get_plotting_function
from ..stats import bayes_factor
Currently, the logic for computing and plotting Bayes Factors resides within the main repository. To better align with a modular design and enhance code maintainability, I propose moving the functionality for Bayes Factor plotting to the arviz-plots repository. This separation will ensure better organization and maintainability by decoupling the core computation logic from the plotting logic.
Proposed Refactor Benefits
Separation of Concerns: Clearly separates the computation (az.bayes_factor) from the visualization
az.plot_bf
.Focused Repositories: Makes the arviz-plots repository dedicated to visualization tasks.
Simplified Dependencies: Reduces dependencies for users who only require the visualization logic.
Progress
The computation logic has already been separated into the
arviz-stats
repository as discussed in [#46]I am now working on the separation of the plotting functionality into the arviz-plots repository.
This issue was previously discussed in arviz Issue #2402, and I am continuing the work based on that discussion.
The text was updated successfully, but these errors were encountered: