PyVBMC 1.0.0__tar.gz → 1.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (194) hide show
  1. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/.pre-commit-config.yaml +4 -4
  2. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/PKG-INFO +17 -7
  3. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/PyVBMC.egg-info/PKG-INFO +17 -7
  4. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/README.md +16 -6
  5. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/function_logger/function_logger.py +1 -1
  6. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/vbmc/active_sample.py +1 -2
  7. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/vbmc/option_configs/advanced_vbmc_options.ini +0 -4
  8. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/vbmc/option_configs/basic_vbmc_options.ini +0 -2
  9. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/vbmc/vbmc.py +1 -6
  10. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/.coveragerc +0 -0
  11. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/.coveragerc-html.css +0 -0
  12. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/.gitattributes +0 -0
  13. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/.github/workflows/build.yml +0 -0
  14. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/.github/workflows/docs.yml +0 -0
  15. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/.github/workflows/merge-tests.yml +0 -0
  16. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/.github/workflows/release.yml +0 -0
  17. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/.github/workflows/tests.yml +0 -0
  18. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/.gitignore +0 -0
  19. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/LICENSE +0 -0
  20. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/MANIFEST.in +0 -0
  21. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/PyVBMC.egg-info/SOURCES.txt +0 -0
  22. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/PyVBMC.egg-info/dependency_links.txt +0 -0
  23. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/PyVBMC.egg-info/requires.txt +0 -0
  24. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/PyVBMC.egg-info/top_level.txt +0 -0
  25. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/examples/pyvbmc_example_1_basic_usage.ipynb +0 -0
  26. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/examples/pyvbmc_example_2_inputs_outputs.ipynb +0 -0
  27. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/examples/pyvbmc_example_3_diagnostics_and_saving.ipynb +0 -0
  28. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/examples/pyvbmc_example_4_validation.ipynb +0 -0
  29. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/examples/pyvbmc_example_5_prior_distributions.ipynb +0 -0
  30. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/examples/pyvbmc_example_6_noisy_likelihoods.ipynb +0 -0
  31. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/examples/scripts/Makefile +0 -0
  32. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/examples/scripts/pyvbmc_example_1_full_code.py +0 -0
  33. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/examples/scripts/pyvbmc_example_2_full_code.py +0 -0
  34. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/examples/scripts/pyvbmc_example_3_full_code.py +0 -0
  35. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/examples/scripts/pyvbmc_example_4_full_code.py +0 -0
  36. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/examples/scripts/pyvbmc_example_5_full_code.py +0 -0
  37. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/examples/scripts/pyvbmc_example_6_full_code.py +0 -0
  38. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/logo.svg +0 -0
  39. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pylintrc +0 -0
  40. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyproject.toml +0 -0
  41. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/__init__.py +0 -0
  42. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/__main__.py +0 -0
  43. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/acquisition_functions/README.md +0 -0
  44. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/acquisition_functions/__init__.py +0 -0
  45. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/acquisition_functions/abstract_acq_fcn.py +0 -0
  46. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/acquisition_functions/acq_fcn.py +0 -0
  47. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/acquisition_functions/acq_fcn_imiqr.py +0 -0
  48. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/acquisition_functions/acq_fcn_log.py +0 -0
  49. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/acquisition_functions/acq_fcn_noisy.py +0 -0
  50. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/acquisition_functions/acq_fcn_vanilla.py +0 -0
  51. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/acquisition_functions/acq_fcn_viqr.py +0 -0
  52. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/acquisition_functions/utilities.py +0 -0
  53. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/decorators/README.md +0 -0
  54. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/decorators/__init__.py +0 -0
  55. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/decorators/handle_0D_1D_input.py +0 -0
  56. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/entropy/README.md +0 -0
  57. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/entropy/__init__.py +0 -0
  58. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/entropy/entlb_vbmc.py +0 -0
  59. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/entropy/entmc_vbmc.py +0 -0
  60. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/formatting/__init__.py +0 -0
  61. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/formatting/formatting.py +0 -0
  62. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/function_logger/README.md +0 -0
  63. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/function_logger/__init__.py +0 -0
  64. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/parameter_transformer/README.md +0 -0
  65. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/parameter_transformer/__init__.py +0 -0
  66. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/parameter_transformer/parameter_transformer.py +0 -0
  67. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/priors/__init__.py +0 -0
  68. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/priors/convert_to_prior.py +0 -0
  69. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/priors/prior.py +0 -0
  70. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/priors/product.py +0 -0
  71. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/priors/scipy.py +0 -0
  72. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/priors/smooth_box.py +0 -0
  73. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/priors/spline_trapezoidal.py +0 -0
  74. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/priors/tile_inputs.py +0 -0
  75. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/priors/trapezoidal.py +0 -0
  76. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/priors/uniform_box.py +0 -0
  77. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/priors/user_function.py +0 -0
  78. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/stats/README.md +0 -0
  79. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/stats/__init__.py +0 -0
  80. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/stats/get_hpd.py +0 -0
  81. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/stats/kde_1d.py +0 -0
  82. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/stats/kl_div_mvn.py +0 -0
  83. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/__init__.py +0 -0
  84. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/_check_grad.py +0 -0
  85. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/_compare_matlab.py +0 -0
  86. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/acquisition_functions/__init__.py +0 -0
  87. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/acquisition_functions/test_abstract_acquisition_function.py +0 -0
  88. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/acquisition_functions/test_acq_fcn.py +0 -0
  89. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/acquisition_functions/test_acq_fcn_imiqr.py +0 -0
  90. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/acquisition_functions/test_acq_fcn_log.py +0 -0
  91. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/acquisition_functions/test_acq_fcn_noisy.py +0 -0
  92. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/acquisition_functions/test_acq_fcn_vanilla.py +0 -0
  93. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/acquisition_functions/test_acq_fcn_viqr.py +0 -0
  94. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/decorators/__init__.py +0 -0
  95. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/decorators/test_handle_0D_1D_input_decorator.py +0 -0
  96. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/entropy/entropy-test.mat +0 -0
  97. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/entropy/test_entlb_vbmc.py +0 -0
  98. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/entropy/test_entmc_vbmc.py +0 -0
  99. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/function_logger/__init__.py +0 -0
  100. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/function_logger/test_function_logger.py +0 -0
  101. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/parameter_transformer/__init__.py +0 -0
  102. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/parameter_transformer/test_parameter_transformer.py +0 -0
  103. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/priors/__init__.py +0 -0
  104. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/priors/test_convert_to_prior.py +0 -0
  105. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/priors/test_priors.py +0 -0
  106. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/priors/test_product_prior.py +0 -0
  107. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/priors/test_scipy_prior.py +0 -0
  108. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/priors/test_smooth_box_prior.py +0 -0
  109. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/priors/test_spline_trapezoid_prior.py +0 -0
  110. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/priors/test_tile_inputs.py +0 -0
  111. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/priors/test_trapezoid_prior.py +0 -0
  112. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/priors/test_uniform_box_prior.py +0 -0
  113. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/priors/test_user_function_prior.py +0 -0
  114. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/stats/__init__.py +0 -0
  115. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/stats/test_get_hpd.py +0 -0
  116. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/stats/test_kde1d.py +0 -0
  117. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/stats/test_kldiv_mvn.py +0 -0
  118. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/testing/__init__.py +0 -0
  119. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/testing/test_check_grad.py +0 -0
  120. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/timer/__init__.py +0 -0
  121. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/timer/test_timer.py +0 -0
  122. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/variational_posterior/X.txt +0 -0
  123. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/variational_posterior/__init__.py +0 -0
  124. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/variational_posterior/bnd_lb.txt +0 -0
  125. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/variational_posterior/bnd_ub.txt +0 -0
  126. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/variational_posterior/mu.txt +0 -0
  127. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/variational_posterior/test_moments_no_orig_flag_2_MATLAB.mat +0 -0
  128. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/variational_posterior/test_variational_posterior.py +0 -0
  129. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/variational_posterior/test_vp_save_and_load.py +0 -0
  130. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/variational_posterior/test_vp_save_static.pkl +0 -0
  131. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/variational_posterior/vp-test.mat +0 -0
  132. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/X.txt +0 -0
  133. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/__init__.py +0 -0
  134. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/compare_MATLAB/activesample_proposalpdf.m +0 -0
  135. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/compare_MATLAB/activesample_proposalpdf.mat +0 -0
  136. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/compare_MATLAB/fess.m +0 -0
  137. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/compare_MATLAB/fess.mat +0 -0
  138. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/compare_MATLAB/log_isbasefun.m +0 -0
  139. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/compare_MATLAB/log_isbasefun.mat +0 -0
  140. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/dF.txt +0 -0
  141. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/dG_gp_log_joint.txt +0 -0
  142. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/hyp.txt +0 -0
  143. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/mu.txt +0 -0
  144. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/test_active_importance_sampling.py +0 -0
  145. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/test_gaussian_process_train.py +0 -0
  146. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/test_iteration_history.py +0 -0
  147. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/test_minimize_adam.py +0 -0
  148. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/test_options.py +0 -0
  149. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/test_variational_optimization.py +0 -0
  150. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/test_vbmc_active_sample.py +0 -0
  151. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/test_vbmc_determine_best_vp.py +0 -0
  152. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/test_vbmc_finalboost.py +0 -0
  153. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/test_vbmc_init.py +0 -0
  154. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/test_vbmc_loop_termination.py +0 -0
  155. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/test_vbmc_optimize.py +0 -0
  156. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/test_vbmc_save_and_load.py +0 -0
  157. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/test_vbmc_save_static.pkl +0 -0
  158. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/vbmc/y.txt +0 -0
  159. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/whitening/test_rotoscaling.py +0 -0
  160. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/whitening/test_warp_gp_and_vp_gp_X.txt +0 -0
  161. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/whitening/test_warp_gp_and_vp_gp_hyps.txt +0 -0
  162. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/whitening/test_warp_gp_and_vp_gp_hyps_new.txt +0 -0
  163. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/whitening/test_warp_gp_and_vp_gp_y.txt +0 -0
  164. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/whitening/test_warp_gp_and_vp_vp_K.txt +0 -0
  165. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/whitening/test_warp_gp_and_vp_vp_lambda.txt +0 -0
  166. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/whitening/test_warp_gp_and_vp_vp_mu.txt +0 -0
  167. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/whitening/test_warp_gp_and_vp_vp_sigma.txt +0 -0
  168. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/whitening/test_warp_gp_and_vp_vp_w.txt +0 -0
  169. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/whitening/test_warp_input_R_mat.txt +0 -0
  170. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/whitening/test_warp_input_rands.txt +0 -0
  171. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/whitening/test_warp_input_scale.txt +0 -0
  172. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/testing/whitening/vp_initialized_MATLAB.mat +0 -0
  173. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/timer/README.md +0 -0
  174. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/timer/__init__.py +0 -0
  175. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/timer/timer.py +0 -0
  176. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/variational_posterior/README.md +0 -0
  177. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/variational_posterior/__init__.py +0 -0
  178. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/variational_posterior/variational_posterior.py +0 -0
  179. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/vbmc/README.md +0 -0
  180. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/vbmc/__init__.py +0 -0
  181. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/vbmc/active_importance_sampling.py +0 -0
  182. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/vbmc/create_vbmc_animation.py +0 -0
  183. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/vbmc/gaussian_process_train.py +0 -0
  184. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/vbmc/iteration_history.py +0 -0
  185. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/vbmc/minimize_adam.py +0 -0
  186. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/vbmc/option_configs/test_options.ini +0 -0
  187. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/vbmc/option_configs/test_options2.ini +0 -0
  188. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/vbmc/options.py +0 -0
  189. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/vbmc/variational_optimization.py +0 -0
  190. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/whitening/README.md +0 -0
  191. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/whitening/__init__.py +0 -0
  192. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/pyvbmc/whitening/whitening.py +0 -0
  193. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/setup.cfg +0 -0
  194. {PyVBMC-1.0.0 → PyVBMC-1.0.1}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  repos:
2
2
  - repo: https://github.com/pre-commit/pre-commit-hooks
3
- rev: v4.1.0
3
+ rev: v4.4.0
4
4
  hooks:
5
5
  - id: trailing-whitespace
6
6
  exclude: ^docs/
@@ -8,16 +8,16 @@ repos:
8
8
  exclude_types: [json, binary]
9
9
  exclude: ^docs/
10
10
  - repo: https://github.com/PyCQA/isort
11
- rev: "5.10.1"
11
+ rev: "5.12.0"
12
12
  hooks:
13
13
  - id: isort
14
14
  additional_dependencies: [toml]
15
15
  exclude: docs/tutorials
16
16
  - repo: https://github.com/psf/black
17
- rev: "22.3.0"
17
+ rev: "23.3.0"
18
18
  hooks:
19
19
  - id: black-jupyter
20
20
  - repo: https://github.com/hadialqattan/pycln
21
- rev: "v1.2.5"
21
+ rev: "v2.1.3"
22
22
  hooks:
23
23
  - id: pycln
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PyVBMC
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: Variational Bayesian Monte Carlo in Python.
5
5
  License: BSD 3-Clause License
6
6
 
@@ -119,7 +119,7 @@ vbmc = VBMC(target, x0, LB, UB, PLB, PUB)
119
119
  vp, results = vbmc.optimize()
120
120
  ```
121
121
  with input arguments:
122
- - `target`: the target (unnormalized) log density — often an unnormalized log posterior. `target` is a callable that should take as input a parameter vector and return the log density at the point;
122
+ - `target`: the target (unnormalized) log density — often an unnormalized log posterior. `target` is a callable that should take as input a parameter vector and return the log density at the point. The returned log density must return a *finite* real value, i.e. non `NaN` or `-inf`. See the [VBMC FAQ](https://github.com/acerbilab/vbmc/wiki#how-do-i-prevent-vbmc-from-evaluating-certain-inputs-or-regions-of-input-space) for more details;
123
123
  - `x0`: an array representing the starting point of the inference in parameter space;
124
124
  - `LB` and `UB`: arrays of hard lower (resp. upper) bounds constraining the parameters (possibly `-/+np.inf` for unbounded parameters);
125
125
  - `PLB` and `PUB`: arrays of plausible lower (resp. upper) bounds: that is, a box that ideally brackets a high posterior density region of the target.
@@ -174,12 +174,13 @@ If you have trouble doing something with PyVBMC, spot bugs or strange behavior,
174
174
 
175
175
  ## References and citation
176
176
 
177
- 1. Acerbi, L. (2018). Variational Bayesian Monte Carlo. In *Advances in Neural Information Processing Systems 31*: 8222-8232. ([paper + supplement on arXiv](https://arxiv.org/abs/1810.05558), [NeurIPS Proceedings](https://papers.nips.cc/paper/8043-variational-bayesian-monte-carlo))
178
- 2. Acerbi, L. (2020). Variational Bayesian Monte Carlo with Noisy Likelihoods. In *Advances in Neural Information Processing Systems 33*: 8211-8222 ([paper + supplement on arXiv](https://arxiv.org/abs/2006.08655), [NeurIPS Proceedings](https://papers.nips.cc/paper/2020/hash/5d40954183d62a82257835477ccad3d2-Abstract.html)).
177
+ 1. Huggins, B., Li, C., Tobaben, M., Aarnos, M., & Acerbi, L. (2023). *PyVBMC: Efficient Bayesian inference in Python*. arXiv. https://arxiv.org/abs/2303.09519
178
+ 2. Acerbi, L. (2018). Variational Bayesian Monte Carlo. In *Advances in Neural Information Processing Systems 31*: 8222-8232. ([paper + supplement on arXiv](https://arxiv.org/abs/1810.05558), [NeurIPS Proceedings](https://papers.nips.cc/paper/8043-variational-bayesian-monte-carlo))
179
+ 3. Acerbi, L. (2020). Variational Bayesian Monte Carlo with Noisy Likelihoods. In *Advances in Neural Information Processing Systems 33*: 8211-8222 ([paper + supplement on arXiv](https://arxiv.org/abs/2006.08655), [NeurIPS Proceedings](https://papers.nips.cc/paper/2020/hash/5d40954183d62a82257835477ccad3d2-Abstract.html)).
179
180
 
180
- Please cite both references if you use PyVBMC in your work (the 2018 paper introduced the framework, and the 2020 paper includes a number of major improvements, including but not limited to support for noisy likelihoods). You can cite PyVBMC in your work with something along the lines of
181
+ Please cite all three references if you use PyVBMC in your work (the 2018 paper introduced the framework, and the 2020 paper includes a number of major improvements, including but not limited to support for noisy likelihoods). You can cite PyVBMC in your work with something along the lines of
181
182
 
182
- > We estimated approximate posterior distibutions and approximate lower bounds to the model evidence of our models using Variational Bayesian Monte Carlo (PyVBMC; Acerbi, 2018, 2020). PyVBMC combines variational inference and active-sampling Bayesian quadrature to perform approximate Bayesian inference in a sample-efficient manner.
183
+ > We estimated approximate posterior distibutions and approximate lower bounds to the model evidence of our models using Variational Bayesian Monte Carlo (PyVBMC; Acerbi, 2018, 2020) via the PyVBMC software (Huggins et al., 2023). PyVBMC combines variational inference and active-sampling Bayesian quadrature to perform approximate Bayesian inference in a sample-efficient manner.
183
184
 
184
185
  Besides formal citations, you can demonstrate your appreciation for PyVBMC in the following ways:
185
186
 
@@ -192,11 +193,20 @@ You may also want to check out [Bayesian Adaptive Direct Search in Python (PyBAD
192
193
 
193
194
  ### Additional references
194
195
 
195
- 3. Acerbi, L. (2019). An Exploration of Acquisition and Mean Functions in Variational Bayesian Monte Carlo. In *Proc. Machine Learning Research* 96: 1-10. 1st Symposium on Advances in Approximate Bayesian Inference, Montréal, Canada. ([paper in PMLR](http://proceedings.mlr.press/v96/acerbi19a.html))
196
+ 4. Acerbi, L. (2019). An Exploration of Acquisition and Mean Functions in Variational Bayesian Monte Carlo. In *Proc. Machine Learning Research* 96: 1-10. 1st Symposium on Advances in Approximate Bayesian Inference, Montréal, Canada. ([paper in PMLR](http://proceedings.mlr.press/v96/acerbi19a.html))
196
197
 
197
198
  ### BibTeX
198
199
 
199
200
  ```BibTeX
201
+ @article{huggins2023pyvbmc,
202
+ title = {PyVBMC: Efficient Bayesian inference in Python},
203
+ author = {Huggins, Bobby and Li, Chengkun and Tobaben, Marlon and Aarnos, Mikko J. and Acerbi, Luigi},
204
+ publisher = {preprint},
205
+ journal = {{arXiv}},
206
+ url = {https://arxiv.org/abs/2303.09519},
207
+ doi = {10.48550/ARXIV.2303.09519},
208
+ year = {2023},
209
+ }
200
210
  @article{acerbi2018variational,
201
211
  title={{V}ariational {B}ayesian {M}onte {C}arlo},
202
212
  author={Acerbi, Luigi},
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PyVBMC
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: Variational Bayesian Monte Carlo in Python.
5
5
  License: BSD 3-Clause License
6
6
 
@@ -119,7 +119,7 @@ vbmc = VBMC(target, x0, LB, UB, PLB, PUB)
119
119
  vp, results = vbmc.optimize()
120
120
  ```
121
121
  with input arguments:
122
- - `target`: the target (unnormalized) log density — often an unnormalized log posterior. `target` is a callable that should take as input a parameter vector and return the log density at the point;
122
+ - `target`: the target (unnormalized) log density — often an unnormalized log posterior. `target` is a callable that should take as input a parameter vector and return the log density at the point. The returned log density must return a *finite* real value, i.e. non `NaN` or `-inf`. See the [VBMC FAQ](https://github.com/acerbilab/vbmc/wiki#how-do-i-prevent-vbmc-from-evaluating-certain-inputs-or-regions-of-input-space) for more details;
123
123
  - `x0`: an array representing the starting point of the inference in parameter space;
124
124
  - `LB` and `UB`: arrays of hard lower (resp. upper) bounds constraining the parameters (possibly `-/+np.inf` for unbounded parameters);
125
125
  - `PLB` and `PUB`: arrays of plausible lower (resp. upper) bounds: that is, a box that ideally brackets a high posterior density region of the target.
@@ -174,12 +174,13 @@ If you have trouble doing something with PyVBMC, spot bugs or strange behavior,
174
174
 
175
175
  ## References and citation
176
176
 
177
- 1. Acerbi, L. (2018). Variational Bayesian Monte Carlo. In *Advances in Neural Information Processing Systems 31*: 8222-8232. ([paper + supplement on arXiv](https://arxiv.org/abs/1810.05558), [NeurIPS Proceedings](https://papers.nips.cc/paper/8043-variational-bayesian-monte-carlo))
178
- 2. Acerbi, L. (2020). Variational Bayesian Monte Carlo with Noisy Likelihoods. In *Advances in Neural Information Processing Systems 33*: 8211-8222 ([paper + supplement on arXiv](https://arxiv.org/abs/2006.08655), [NeurIPS Proceedings](https://papers.nips.cc/paper/2020/hash/5d40954183d62a82257835477ccad3d2-Abstract.html)).
177
+ 1. Huggins, B., Li, C., Tobaben, M., Aarnos, M., & Acerbi, L. (2023). *PyVBMC: Efficient Bayesian inference in Python*. arXiv. https://arxiv.org/abs/2303.09519
178
+ 2. Acerbi, L. (2018). Variational Bayesian Monte Carlo. In *Advances in Neural Information Processing Systems 31*: 8222-8232. ([paper + supplement on arXiv](https://arxiv.org/abs/1810.05558), [NeurIPS Proceedings](https://papers.nips.cc/paper/8043-variational-bayesian-monte-carlo))
179
+ 3. Acerbi, L. (2020). Variational Bayesian Monte Carlo with Noisy Likelihoods. In *Advances in Neural Information Processing Systems 33*: 8211-8222 ([paper + supplement on arXiv](https://arxiv.org/abs/2006.08655), [NeurIPS Proceedings](https://papers.nips.cc/paper/2020/hash/5d40954183d62a82257835477ccad3d2-Abstract.html)).
179
180
 
180
- Please cite both references if you use PyVBMC in your work (the 2018 paper introduced the framework, and the 2020 paper includes a number of major improvements, including but not limited to support for noisy likelihoods). You can cite PyVBMC in your work with something along the lines of
181
+ Please cite all three references if you use PyVBMC in your work (the 2018 paper introduced the framework, and the 2020 paper includes a number of major improvements, including but not limited to support for noisy likelihoods). You can cite PyVBMC in your work with something along the lines of
181
182
 
182
- > We estimated approximate posterior distibutions and approximate lower bounds to the model evidence of our models using Variational Bayesian Monte Carlo (PyVBMC; Acerbi, 2018, 2020). PyVBMC combines variational inference and active-sampling Bayesian quadrature to perform approximate Bayesian inference in a sample-efficient manner.
183
+ > We estimated approximate posterior distibutions and approximate lower bounds to the model evidence of our models using Variational Bayesian Monte Carlo (PyVBMC; Acerbi, 2018, 2020) via the PyVBMC software (Huggins et al., 2023). PyVBMC combines variational inference and active-sampling Bayesian quadrature to perform approximate Bayesian inference in a sample-efficient manner.
183
184
 
184
185
  Besides formal citations, you can demonstrate your appreciation for PyVBMC in the following ways:
185
186
 
@@ -192,11 +193,20 @@ You may also want to check out [Bayesian Adaptive Direct Search in Python (PyBAD
192
193
 
193
194
  ### Additional references
194
195
 
195
- 3. Acerbi, L. (2019). An Exploration of Acquisition and Mean Functions in Variational Bayesian Monte Carlo. In *Proc. Machine Learning Research* 96: 1-10. 1st Symposium on Advances in Approximate Bayesian Inference, Montréal, Canada. ([paper in PMLR](http://proceedings.mlr.press/v96/acerbi19a.html))
196
+ 4. Acerbi, L. (2019). An Exploration of Acquisition and Mean Functions in Variational Bayesian Monte Carlo. In *Proc. Machine Learning Research* 96: 1-10. 1st Symposium on Advances in Approximate Bayesian Inference, Montréal, Canada. ([paper in PMLR](http://proceedings.mlr.press/v96/acerbi19a.html))
196
197
 
197
198
  ### BibTeX
198
199
 
199
200
  ```BibTeX
201
+ @article{huggins2023pyvbmc,
202
+ title = {PyVBMC: Efficient Bayesian inference in Python},
203
+ author = {Huggins, Bobby and Li, Chengkun and Tobaben, Marlon and Aarnos, Mikko J. and Acerbi, Luigi},
204
+ publisher = {preprint},
205
+ journal = {{arXiv}},
206
+ url = {https://arxiv.org/abs/2303.09519},
207
+ doi = {10.48550/ARXIV.2303.09519},
208
+ year = {2023},
209
+ }
200
210
  @article{acerbi2018variational,
201
211
  title={{V}ariational {B}ayesian {M}onte {C}arlo},
202
212
  author={Acerbi, Luigi},
@@ -80,7 +80,7 @@ vbmc = VBMC(target, x0, LB, UB, PLB, PUB)
80
80
  vp, results = vbmc.optimize()
81
81
  ```
82
82
  with input arguments:
83
- - `target`: the target (unnormalized) log density — often an unnormalized log posterior. `target` is a callable that should take as input a parameter vector and return the log density at the point;
83
+ - `target`: the target (unnormalized) log density — often an unnormalized log posterior. `target` is a callable that should take as input a parameter vector and return the log density at the point. The returned log density must return a *finite* real value, i.e. non `NaN` or `-inf`. See the [VBMC FAQ](https://github.com/acerbilab/vbmc/wiki#how-do-i-prevent-vbmc-from-evaluating-certain-inputs-or-regions-of-input-space) for more details;
84
84
  - `x0`: an array representing the starting point of the inference in parameter space;
85
85
  - `LB` and `UB`: arrays of hard lower (resp. upper) bounds constraining the parameters (possibly `-/+np.inf` for unbounded parameters);
86
86
  - `PLB` and `PUB`: arrays of plausible lower (resp. upper) bounds: that is, a box that ideally brackets a high posterior density region of the target.
@@ -135,12 +135,13 @@ If you have trouble doing something with PyVBMC, spot bugs or strange behavior,
135
135
 
136
136
  ## References and citation
137
137
 
138
- 1. Acerbi, L. (2018). Variational Bayesian Monte Carlo. In *Advances in Neural Information Processing Systems 31*: 8222-8232. ([paper + supplement on arXiv](https://arxiv.org/abs/1810.05558), [NeurIPS Proceedings](https://papers.nips.cc/paper/8043-variational-bayesian-monte-carlo))
139
- 2. Acerbi, L. (2020). Variational Bayesian Monte Carlo with Noisy Likelihoods. In *Advances in Neural Information Processing Systems 33*: 8211-8222 ([paper + supplement on arXiv](https://arxiv.org/abs/2006.08655), [NeurIPS Proceedings](https://papers.nips.cc/paper/2020/hash/5d40954183d62a82257835477ccad3d2-Abstract.html)).
138
+ 1. Huggins, B., Li, C., Tobaben, M., Aarnos, M., & Acerbi, L. (2023). *PyVBMC: Efficient Bayesian inference in Python*. arXiv. https://arxiv.org/abs/2303.09519
139
+ 2. Acerbi, L. (2018). Variational Bayesian Monte Carlo. In *Advances in Neural Information Processing Systems 31*: 8222-8232. ([paper + supplement on arXiv](https://arxiv.org/abs/1810.05558), [NeurIPS Proceedings](https://papers.nips.cc/paper/8043-variational-bayesian-monte-carlo))
140
+ 3. Acerbi, L. (2020). Variational Bayesian Monte Carlo with Noisy Likelihoods. In *Advances in Neural Information Processing Systems 33*: 8211-8222 ([paper + supplement on arXiv](https://arxiv.org/abs/2006.08655), [NeurIPS Proceedings](https://papers.nips.cc/paper/2020/hash/5d40954183d62a82257835477ccad3d2-Abstract.html)).
140
141
 
141
- Please cite both references if you use PyVBMC in your work (the 2018 paper introduced the framework, and the 2020 paper includes a number of major improvements, including but not limited to support for noisy likelihoods). You can cite PyVBMC in your work with something along the lines of
142
+ Please cite all three references if you use PyVBMC in your work (the 2018 paper introduced the framework, and the 2020 paper includes a number of major improvements, including but not limited to support for noisy likelihoods). You can cite PyVBMC in your work with something along the lines of
142
143
 
143
- > We estimated approximate posterior distibutions and approximate lower bounds to the model evidence of our models using Variational Bayesian Monte Carlo (PyVBMC; Acerbi, 2018, 2020). PyVBMC combines variational inference and active-sampling Bayesian quadrature to perform approximate Bayesian inference in a sample-efficient manner.
144
+ > We estimated approximate posterior distibutions and approximate lower bounds to the model evidence of our models using Variational Bayesian Monte Carlo (PyVBMC; Acerbi, 2018, 2020) via the PyVBMC software (Huggins et al., 2023). PyVBMC combines variational inference and active-sampling Bayesian quadrature to perform approximate Bayesian inference in a sample-efficient manner.
144
145
 
145
146
  Besides formal citations, you can demonstrate your appreciation for PyVBMC in the following ways:
146
147
 
@@ -153,11 +154,20 @@ You may also want to check out [Bayesian Adaptive Direct Search in Python (PyBAD
153
154
 
154
155
  ### Additional references
155
156
 
156
- 3. Acerbi, L. (2019). An Exploration of Acquisition and Mean Functions in Variational Bayesian Monte Carlo. In *Proc. Machine Learning Research* 96: 1-10. 1st Symposium on Advances in Approximate Bayesian Inference, Montréal, Canada. ([paper in PMLR](http://proceedings.mlr.press/v96/acerbi19a.html))
157
+ 4. Acerbi, L. (2019). An Exploration of Acquisition and Mean Functions in Variational Bayesian Monte Carlo. In *Proc. Machine Learning Research* 96: 1-10. 1st Symposium on Advances in Approximate Bayesian Inference, Montréal, Canada. ([paper in PMLR](http://proceedings.mlr.press/v96/acerbi19a.html))
157
158
 
158
159
  ### BibTeX
159
160
 
160
161
  ```BibTeX
162
+ @article{huggins2023pyvbmc,
163
+ title = {PyVBMC: Efficient Bayesian inference in Python},
164
+ author = {Huggins, Bobby and Li, Chengkun and Tobaben, Marlon and Aarnos, Mikko J. and Acerbi, Luigi},
165
+ publisher = {preprint},
166
+ journal = {{arXiv}},
167
+ url = {https://arxiv.org/abs/2303.09519},
168
+ doi = {10.48550/ARXIV.2303.09519},
169
+ year = {2023},
170
+ }
161
171
  @article{acerbi2018variational,
162
172
  title={{V}ariational {B}ayesian {M}onte {C}arlo},
163
173
  author={Acerbi, Luigi},
@@ -145,7 +145,7 @@ class FunctionLogger:
145
145
  f_val_orig = np.array(f_val_orig).flat[0]
146
146
 
147
147
  # Check function value
148
- if np.any(
148
+ if (
149
149
  not np.isscalar(f_val_orig)
150
150
  or not np.isfinite(f_val_orig)
151
151
  or not np.isreal(f_val_orig)
@@ -7,6 +7,7 @@ import gpyreg as gpr
7
7
  import numpy as np
8
8
 
9
9
  from pyvbmc.acquisition_functions import AbstractAcqFcn
10
+ from pyvbmc.acquisition_functions.utilities import string_to_acq
10
11
  from pyvbmc.function_logger import FunctionLogger
11
12
  from pyvbmc.stats import get_hpd
12
13
  from pyvbmc.timer import main_timer as timer
@@ -271,7 +272,6 @@ def active_sample(
271
272
  noise_N = gp.noise.hyperparameter_count()
272
273
 
273
274
  for s in range(Ns_gp):
274
-
275
275
  hyp_noise = gp.posteriors[s].hyp[cov_N : cov_N + noise_N]
276
276
  if hasattr(function_logger, "S"):
277
277
  s2 = (
@@ -380,7 +380,6 @@ def active_sample(
380
380
  tol_fun = max(1e-12, abs(f_val_old * 1e-3))
381
381
 
382
382
  if options["search_optimizer"] == "cmaes":
383
-
384
383
  if options["search_cmaes_vp_init"]:
385
384
  _, Sigma = vp.moments(orig_flag=False, cov_flag=True)
386
385
  else:
@@ -7,8 +7,6 @@ integer_vars = []
7
7
  noise_size = []
8
8
  # Max number of consecutive repeated measurements for noisy inputs
9
9
  max_repeated_observations = 0
10
- # Multiplicative discount True acquisition fcn to repeat measurement at the same location
11
- repeated_acq_discount = 1
12
10
  # Number of initial target fcn evals
13
11
  fun_eval_start = np.maximum(D, 10)
14
12
  # Base step size for stochastic gradient descent
@@ -33,8 +31,6 @@ output_fcn = []
33
31
  tol_stable_excpt_frac = 0.2
34
32
  # Evaluated fcn values at X0
35
33
  f_vals = []
36
- # Use Optimization Toolbox (if empty determine at runtime)
37
- optim_toolbox = []
38
34
  # Weighted proposal fcn for uncertainty search
39
35
  proposal_fcn = None
40
36
  # Automatic nonlinear rescaling of variables
@@ -11,8 +11,6 @@ max_fun_evals = 50*(2+D)
11
11
  fun_evals_per_iter = 5
12
12
  # Required stable fcn evals for termination
13
13
  tol_stable_count = 60
14
- # Max number of target fcn evals on retry (0 = no retry)
15
- retry_max_fun_evals = 0
16
14
  # Number of variational components to refine posterior at termination
17
15
  min_final_components = 50
18
16
  # Target log joint function returns noise estimate (SD) as second output
@@ -48,7 +48,7 @@ class VBMC:
48
48
  the target log-joint, that is, the unnormalized log-posterior density
49
49
  at ``x``. If ``log_prior`` is not ``None``, ``log_density`` should
50
50
  return the unnormalized log-likelihood. In either case, if
51
- ``options["specifytargetnoise"]`` is true, ``log_density`` should
51
+ ``options["specify_target_noise"]`` is true, ``log_density`` should
52
52
  return a tuple where the first element is the noisy log-density, and
53
53
  the second is an estimate of the standard deviation of the noise.
54
54
  x0 : np.ndarray, optional
@@ -111,11 +111,6 @@ class VBMC:
111
111
  ValueError
112
112
  When various checks for the bounds (LB, UB, PLB, PUB) of VBMC fail.
113
113
 
114
- Notes
115
- -----
116
- The current version of ``VBMC`` only supports noiseless evaluations of the
117
- log posterior [1]_. Noisy evaluations as in [2]_ are not implemented yet.
118
-
119
114
  References
120
115
  ----------
121
116
  .. [1] Acerbi, L. (2018). "Variational Bayesian Monte Carlo". In Advances
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes