Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
03618f1
fix minor issues to make sure all tutorials work as expected
chyalexcheng Jan 13, 2025
4d522b2
add the error measures to allow more flexible early stopping
chyalexcheng Jan 22, 2025
6b3f514
change some names and surpress tolerance error from root_scalar
chyalexcheng Jan 25, 2025
f1c615c
do not show detailed statistics be default
chyalexcheng Jan 25, 2025
fe8b0aa
more explanation for two_particle_collision tutorial
chyalexcheng Jan 26, 2025
da45cb1
improve tutorials for YADE DEM calibration
chyalexcheng Jan 28, 2025
0c19f59
do not maximize figures
chyalexcheng Jan 28, 2025
ee834b8
use extension .txt consistently
chyalexcheng Jan 28, 2025
9f0ef7b
add option of using predefined shell scripts in /scripts_tools/platfo…
chyalexcheng Jan 29, 2025
267d7da
remove --no-update from build.yml
chyalexcheng Jan 29, 2025
4304d87
try another hack
chyalexcheng Jan 29, 2025
1f2b27a
try another hack
chyalexcheng Jan 29, 2025
cb274f7
try another hack
chyalexcheng Jan 29, 2025
6f8e0c0
update build.yml
chyalexcheng Jan 29, 2025
df84da9
went back to old version
chyalexcheng Jan 29, 2025
e52be65
remove --no-update
chyalexcheng Jan 29, 2025
4308bae
Update Linter.yml
Retiefasaurus Jan 29, 2025
506577d
Merge pull request #83 from GrainLearning/Retiefasaurus-patch-1
Retiefasaurus Jan 29, 2025
f88574e
Update build.yml
Retiefasaurus Jan 29, 2025
3b602d2
Update build.yml
Retiefasaurus Jan 29, 2025
1432249
Update Linter.yml
Retiefasaurus Jan 29, 2025
27b8e09
Update Linter.yml
Retiefasaurus Jan 29, 2025
65a35a4
Update Linter.yml
Retiefasaurus Jan 29, 2025
7304e9d
Update Linter.yml
Retiefasaurus Jan 29, 2025
ccfdd7f
Update Linter.yml
Retiefasaurus Jan 29, 2025
4dc9744
Update Linter.yml
Retiefasaurus Jan 29, 2025
8e6f0a7
Update pyproject.toml
Retiefasaurus Jan 29, 2025
ed4bd3f
Update Linter.yml
Retiefasaurus Jan 29, 2025
2949bf5
back to master version for github actions
chyalexcheng Jan 31, 2025
ba4194b
Merge branch 'expand_selftests' of github.com:GrainLearning/grainLear…
chyalexcheng Jan 31, 2025
9ec049b
back to main version for github actions
chyalexcheng Jan 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/source/bayesian_filtering.rst
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ You can choose one of the sampling methods when initializing a :class:`.Iterativ

ibf_cls = IterativeBayesianFilter.from_dict(
{
"inference":{
"Bayes_filter":{
"ess_target": 0.3,
},
"sampling":{
Expand Down
4 changes: 2 additions & 2 deletions docs/source/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ Below is a piece of code that performs Bayesian calibration of four DEM paramete
"param_max": [200e9, 0.5, 1e4, 0.5],
"inv_obs_weight": [1, 1, 0.01],
},
"calibration": {
"inference": {"ess_target": 0.2},
"inference": {
"Bayes_filter": {"ess_target": 0.2},
"sampling": {
"max_num_components": 10,
"prior_weight": 0.01,
Expand Down
20 changes: 10 additions & 10 deletions docs/source/tutorials.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ Check out the documentation of :class:`.BayesianCalibration` for more details.
"obs_data": y_obs,
"ctrl_data": x_obs,
},
"calibration": {
"inference": {"ess_target": 0.3},
"inference": {
"Bayes_filter": {"ess_target": 0.3},
"sampling": {
"max_num_components": 1,
}
Expand Down Expand Up @@ -169,8 +169,8 @@ Now let us define the calibration tool. Note that the system type is changed :cl
"sim_data_dir": './sim_data/',
"sim_data_file_ext": '.txt',
},
"calibration": {
"inference": {"ess_target": 0.3},
"inference": {
"Bayes_filter": {"ess_target": 0.3},
"sampling": {
"max_num_components": 1,
"random_state": 0,
Expand Down Expand Up @@ -249,8 +249,8 @@ Open a Python console in the same directory where you executed the previous tuto
"sim_data_file_ext": sim_data_file_ext,
"param_names": ['a', 'b'],
},
"calibration": {
"inference": {"ess_target": 0.3},
"inference": {
"Bayes_filter": {"ess_target": 0.3},
"sampling": {
"max_num_components": 1,
},
Expand Down Expand Up @@ -305,8 +305,8 @@ and then create a new `calibration` object using :class:`.DynamicSystem`.
"sim_name": 'linear',
"sim_data": sim_data,
},
"calibration": {
"inference": {"ess_target": 0.3},
"inference": {
"Bayes_filter": {"ess_target": 0.3},
"sampling": {
"max_num_components": 1,
},
Expand All @@ -333,8 +333,8 @@ This can be done by setting :attr:`.GaussianMixtureModel.random_state` to a cons
.. code-block:: python

# create a calibration tool
"calibration": {
"inference": {"ess_target": 0.3},
"inference": {
"Bayes_filter": {"ess_target": 0.3},
"sampling": {
"max_num_components": 1,
"random_state": 0,
Expand Down
Loading
Loading