teddygroves / bibat Goto Github PK
View Code? Open in Web Editor NEWA batteries-included template for Bayesian data analysis projects
Home Page: https://bibat.readthedocs.io/
License: MIT License
A batteries-included template for Bayesian data analysis projects
Home Page: https://bibat.readthedocs.io/
License: MIT License
Add a step implementing model checking by simulation based calibration
See comment here.
Add a do_not_run
flag to the model configuration object?
pyOpenSci/software-submission#83 (comment)
The example analysis is useful for getting started with bibat, but it might be nice to have the option for experienced users to remove it, avoiding the need to manually delete or edit any example analysis files.
There should be a script for drawing plots based on a finished fit. For example
I haven't looked at zarr before.
Also maybe netcdf is now working on arm macs.
See pyOpenSci/software-submission#83 (comment)
These are the ones likely to cause problems (cmdstan is generally troublesome and quarto is the only dependency apart from python and make that bibat doesn't try to install):
CI is currently breaking due to the new pydantic release.
It shouldn't be too hard to switch to update for the new version...
It should be possible to use the arviz reloo function as well or instead of the standard compare one in order to cover cases where the loo log likelihood can't be reliably estimated for some observations.
The readme page is getting a bit long - a proper documentation website would be better I think.
Main thing to do is add an __all__
that indicates what belongs to bibat.
Ensure that running cookiecutter and then make results
produces some files on all platforms
Currently the workflow at .github/workflows/test_end_to_end.yml
only tests that python -m pytest
and make analysis
work. It should also test that the docs build properly.
It feels strange to me to have two different makefiles, one specific for docs and the other for all other parts of the analysis. I think it adds an extra barrier to keeping docs up to date
Use an accessibility checker as recommended here.
pyOpenSci/software-submission#83 (comment)
See comments here pyOpenSci/software-submission#83 (comment): the current dependency on make is not ideal for windows users.
On the other hand, since cmdstanpy depends on make already maybe this is the least bad option.
Maybe snakemake and/or nox could be partly incorporated - worth looking at.
see comments here.
There should be an option for input data to be in json format.
In this case the default data and some of the functions will need to be changed.
This is probably on the whole more convenient than keeping track of whole folders.
For example, if you choose not to have a tests directory, does the makefile turn out correct?
The link to data from the 2006 Major league season
is not rendered correctly (6th paragraph in intro)
"After I answered the wizard’s questions bibat creted a new folder called baseball that looked like this:" answers should be in the vignette (save author names and email, or maybe even with those and using placeholder ones)
I don't understand the part about "Since this worked, I added a new makefile target for the raw data files:", the .
at the beginning of the last line doesn't look right but more importantly, this is not used anywhere.
Naming of paths is inconsistent accross vignette. Given how there are multiple files with similar names, I would stick to paths relatives to the project home for everything. For example, right at the beginning, we start editing src/prepared_data.py
, then we move onto data_preparation_functions.py
(which lives inside src
too) and right after to prepare_data.py
(now in the project home).
"To check that all this works, we can run the script prepare_data.py manually or using make analysis." doesn't work with make analysis
because tests still refer to example data. Moreover, when running python prepare_data.py
I get a pydantic validation error.
stopped here for now
The example model is currently a simple linear regression. It might be nicer to make it a bit richer, perhaps a varying-intercept multilevel model.
This can be handy for debugging, we've found it very useful in Maud.
It would be helpful if bibat supported updating using cruft.
possibly copy cookiecutter-cms
Example here https://github.com/MolSSI/cookiecutter-cms
For making it optional, copy how the report bit is done in hooks/post_gen_project.py
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.