PyVBMC 1.0.2__tar.gz → 1.0.3__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 (195) hide show
  1. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/PKG-INFO +3 -3
  2. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/PyVBMC.egg-info/PKG-INFO +3 -3
  3. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/PyVBMC.egg-info/requires.txt +2 -2
  4. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyproject.toml +5 -8
  5. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/acquisition_functions/abstract_acq_fcn.py +1 -1
  6. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/stats/get_hpd.py +1 -1
  7. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/stats/kde_1d.py +3 -3
  8. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/test_vbmc_loop_termination.py +5 -5
  9. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/vbmc/active_sample.py +3 -3
  10. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/vbmc/option_configs/advanced_vbmc_options.ini +2 -2
  11. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/vbmc/vbmc.py +12 -12
  12. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/.coveragerc +0 -0
  13. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/.coveragerc-html.css +0 -0
  14. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/.gitattributes +0 -0
  15. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/.github/workflows/build.yml +0 -0
  16. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/.github/workflows/docs.yml +0 -0
  17. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/.github/workflows/merge-tests.yml +0 -0
  18. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/.github/workflows/release.yml +0 -0
  19. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/.github/workflows/tests.yml +0 -0
  20. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/.gitignore +0 -0
  21. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/.pre-commit-config.yaml +0 -0
  22. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/CITATION.cff +0 -0
  23. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/LICENSE +0 -0
  24. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/MANIFEST.in +0 -0
  25. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/PyVBMC.egg-info/SOURCES.txt +0 -0
  26. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/PyVBMC.egg-info/dependency_links.txt +0 -0
  27. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/PyVBMC.egg-info/top_level.txt +0 -0
  28. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/README.md +0 -0
  29. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/examples/pyvbmc_example_1_basic_usage.ipynb +0 -0
  30. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/examples/pyvbmc_example_2_inputs_outputs.ipynb +0 -0
  31. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/examples/pyvbmc_example_3_diagnostics_and_saving.ipynb +0 -0
  32. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/examples/pyvbmc_example_4_validation.ipynb +0 -0
  33. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/examples/pyvbmc_example_5_prior_distributions.ipynb +0 -0
  34. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/examples/pyvbmc_example_6_noisy_likelihoods.ipynb +0 -0
  35. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/examples/scripts/Makefile +0 -0
  36. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/examples/scripts/pyvbmc_example_1_full_code.py +0 -0
  37. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/examples/scripts/pyvbmc_example_2_full_code.py +0 -0
  38. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/examples/scripts/pyvbmc_example_3_full_code.py +0 -0
  39. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/examples/scripts/pyvbmc_example_4_full_code.py +0 -0
  40. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/examples/scripts/pyvbmc_example_5_full_code.py +0 -0
  41. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/examples/scripts/pyvbmc_example_6_full_code.py +0 -0
  42. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/logo.svg +0 -0
  43. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pylintrc +0 -0
  44. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/__init__.py +0 -0
  45. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/__main__.py +0 -0
  46. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/acquisition_functions/README.md +0 -0
  47. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/acquisition_functions/__init__.py +0 -0
  48. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/acquisition_functions/acq_fcn.py +0 -0
  49. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/acquisition_functions/acq_fcn_imiqr.py +0 -0
  50. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/acquisition_functions/acq_fcn_log.py +0 -0
  51. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/acquisition_functions/acq_fcn_noisy.py +0 -0
  52. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/acquisition_functions/acq_fcn_vanilla.py +0 -0
  53. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/acquisition_functions/acq_fcn_viqr.py +0 -0
  54. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/acquisition_functions/utilities.py +0 -0
  55. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/decorators/README.md +0 -0
  56. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/decorators/__init__.py +0 -0
  57. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/decorators/handle_0D_1D_input.py +0 -0
  58. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/entropy/README.md +0 -0
  59. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/entropy/__init__.py +0 -0
  60. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/entropy/entlb_vbmc.py +0 -0
  61. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/entropy/entmc_vbmc.py +0 -0
  62. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/formatting/__init__.py +0 -0
  63. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/formatting/formatting.py +0 -0
  64. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/function_logger/README.md +0 -0
  65. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/function_logger/__init__.py +0 -0
  66. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/function_logger/function_logger.py +0 -0
  67. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/parameter_transformer/README.md +0 -0
  68. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/parameter_transformer/__init__.py +0 -0
  69. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/parameter_transformer/parameter_transformer.py +0 -0
  70. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/priors/__init__.py +0 -0
  71. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/priors/convert_to_prior.py +0 -0
  72. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/priors/prior.py +0 -0
  73. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/priors/product.py +0 -0
  74. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/priors/scipy.py +0 -0
  75. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/priors/smooth_box.py +0 -0
  76. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/priors/spline_trapezoidal.py +0 -0
  77. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/priors/tile_inputs.py +0 -0
  78. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/priors/trapezoidal.py +0 -0
  79. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/priors/uniform_box.py +0 -0
  80. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/priors/user_function.py +0 -0
  81. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/stats/README.md +0 -0
  82. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/stats/__init__.py +0 -0
  83. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/stats/kl_div_mvn.py +0 -0
  84. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/__init__.py +0 -0
  85. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/_check_grad.py +0 -0
  86. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/_compare_matlab.py +0 -0
  87. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/acquisition_functions/__init__.py +0 -0
  88. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/acquisition_functions/test_abstract_acquisition_function.py +0 -0
  89. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/acquisition_functions/test_acq_fcn.py +0 -0
  90. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/acquisition_functions/test_acq_fcn_imiqr.py +0 -0
  91. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/acquisition_functions/test_acq_fcn_log.py +0 -0
  92. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/acquisition_functions/test_acq_fcn_noisy.py +0 -0
  93. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/acquisition_functions/test_acq_fcn_vanilla.py +0 -0
  94. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/acquisition_functions/test_acq_fcn_viqr.py +0 -0
  95. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/decorators/__init__.py +0 -0
  96. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/decorators/test_handle_0D_1D_input_decorator.py +0 -0
  97. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/entropy/entropy-test.mat +0 -0
  98. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/entropy/test_entlb_vbmc.py +0 -0
  99. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/entropy/test_entmc_vbmc.py +0 -0
  100. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/function_logger/__init__.py +0 -0
  101. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/function_logger/test_function_logger.py +0 -0
  102. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/parameter_transformer/__init__.py +0 -0
  103. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/parameter_transformer/test_parameter_transformer.py +0 -0
  104. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/priors/__init__.py +0 -0
  105. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/priors/test_convert_to_prior.py +0 -0
  106. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/priors/test_priors.py +0 -0
  107. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/priors/test_product_prior.py +0 -0
  108. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/priors/test_scipy_prior.py +0 -0
  109. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/priors/test_smooth_box_prior.py +0 -0
  110. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/priors/test_spline_trapezoid_prior.py +0 -0
  111. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/priors/test_tile_inputs.py +0 -0
  112. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/priors/test_trapezoid_prior.py +0 -0
  113. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/priors/test_uniform_box_prior.py +0 -0
  114. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/priors/test_user_function_prior.py +0 -0
  115. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/stats/__init__.py +0 -0
  116. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/stats/test_get_hpd.py +0 -0
  117. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/stats/test_kde1d.py +0 -0
  118. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/stats/test_kldiv_mvn.py +0 -0
  119. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/testing/__init__.py +0 -0
  120. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/testing/test_check_grad.py +0 -0
  121. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/timer/__init__.py +0 -0
  122. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/timer/test_timer.py +0 -0
  123. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/variational_posterior/X.txt +0 -0
  124. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/variational_posterior/__init__.py +0 -0
  125. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/variational_posterior/bnd_lb.txt +0 -0
  126. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/variational_posterior/bnd_ub.txt +0 -0
  127. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/variational_posterior/mu.txt +0 -0
  128. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/variational_posterior/test_moments_no_orig_flag_2_MATLAB.mat +0 -0
  129. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/variational_posterior/test_variational_posterior.py +0 -0
  130. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/variational_posterior/test_vp_save_and_load.py +0 -0
  131. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/variational_posterior/test_vp_save_static.pkl +0 -0
  132. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/variational_posterior/vp-test.mat +0 -0
  133. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/X.txt +0 -0
  134. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/__init__.py +0 -0
  135. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/compare_MATLAB/activesample_proposalpdf.m +0 -0
  136. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/compare_MATLAB/activesample_proposalpdf.mat +0 -0
  137. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/compare_MATLAB/fess.m +0 -0
  138. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/compare_MATLAB/fess.mat +0 -0
  139. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/compare_MATLAB/log_isbasefun.m +0 -0
  140. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/compare_MATLAB/log_isbasefun.mat +0 -0
  141. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/dF.txt +0 -0
  142. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/dG_gp_log_joint.txt +0 -0
  143. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/hyp.txt +0 -0
  144. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/mu.txt +0 -0
  145. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/test_active_importance_sampling.py +0 -0
  146. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/test_gaussian_process_train.py +0 -0
  147. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/test_iteration_history.py +0 -0
  148. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/test_minimize_adam.py +0 -0
  149. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/test_options.py +0 -0
  150. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/test_variational_optimization.py +0 -0
  151. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/test_vbmc_active_sample.py +0 -0
  152. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/test_vbmc_determine_best_vp.py +0 -0
  153. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/test_vbmc_finalboost.py +0 -0
  154. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/test_vbmc_init.py +0 -0
  155. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/test_vbmc_optimize.py +0 -0
  156. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/test_vbmc_save_and_load.py +0 -0
  157. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/test_vbmc_save_static.pkl +0 -0
  158. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/vbmc/y.txt +0 -0
  159. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/whitening/test_rotoscaling.py +0 -0
  160. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/whitening/test_warp_gp_and_vp_gp_X.txt +0 -0
  161. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/whitening/test_warp_gp_and_vp_gp_hyps.txt +0 -0
  162. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/whitening/test_warp_gp_and_vp_gp_hyps_new.txt +0 -0
  163. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/whitening/test_warp_gp_and_vp_gp_y.txt +0 -0
  164. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/whitening/test_warp_gp_and_vp_vp_K.txt +0 -0
  165. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/whitening/test_warp_gp_and_vp_vp_lambda.txt +0 -0
  166. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/whitening/test_warp_gp_and_vp_vp_mu.txt +0 -0
  167. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/whitening/test_warp_gp_and_vp_vp_sigma.txt +0 -0
  168. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/whitening/test_warp_gp_and_vp_vp_w.txt +0 -0
  169. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/whitening/test_warp_input_R_mat.txt +0 -0
  170. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/whitening/test_warp_input_rands.txt +0 -0
  171. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/whitening/test_warp_input_scale.txt +0 -0
  172. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/testing/whitening/vp_initialized_MATLAB.mat +0 -0
  173. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/timer/README.md +0 -0
  174. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/timer/__init__.py +0 -0
  175. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/timer/timer.py +0 -0
  176. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/variational_posterior/README.md +0 -0
  177. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/variational_posterior/__init__.py +0 -0
  178. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/variational_posterior/variational_posterior.py +0 -0
  179. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/vbmc/README.md +0 -0
  180. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/vbmc/__init__.py +0 -0
  181. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/vbmc/active_importance_sampling.py +0 -0
  182. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/vbmc/create_vbmc_animation.py +0 -0
  183. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/vbmc/gaussian_process_train.py +0 -0
  184. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/vbmc/iteration_history.py +0 -0
  185. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/vbmc/minimize_adam.py +0 -0
  186. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/vbmc/option_configs/basic_vbmc_options.ini +0 -0
  187. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/vbmc/option_configs/test_options.ini +0 -0
  188. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/vbmc/option_configs/test_options2.ini +0 -0
  189. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/vbmc/options.py +0 -0
  190. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/vbmc/variational_optimization.py +0 -0
  191. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/whitening/README.md +0 -0
  192. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/whitening/__init__.py +0 -0
  193. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/pyvbmc/whitening/whitening.py +0 -0
  194. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/setup.cfg +0 -0
  195. {PyVBMC-1.0.2 → pyvbmc-1.0.3}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PyVBMC
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: Variational Bayesian Monte Carlo in Python.
5
5
  License: BSD 3-Clause License
6
6
 
@@ -40,8 +40,8 @@ Requires-Dist: corner>=2.2.1
40
40
  Requires-Dist: dill>=0.3.5.1
41
41
  Requires-Dist: gpyreg>=0.1.0
42
42
  Requires-Dist: imageio>=2.13.5
43
- Requires-Dist: matplotlib>=3.5.1
44
- Requires-Dist: numpy>=1.22.1
43
+ Requires-Dist: matplotlib>=3.9.0
44
+ Requires-Dist: numpy<2.0.0
45
45
  Requires-Dist: plotly>=5.11.0
46
46
  Requires-Dist: pytest>=6.2.5
47
47
  Requires-Dist: pytest-mock>=3.6.1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PyVBMC
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: Variational Bayesian Monte Carlo in Python.
5
5
  License: BSD 3-Clause License
6
6
 
@@ -40,8 +40,8 @@ Requires-Dist: corner>=2.2.1
40
40
  Requires-Dist: dill>=0.3.5.1
41
41
  Requires-Dist: gpyreg>=0.1.0
42
42
  Requires-Dist: imageio>=2.13.5
43
- Requires-Dist: matplotlib>=3.5.1
44
- Requires-Dist: numpy>=1.22.1
43
+ Requires-Dist: matplotlib>=3.9.0
44
+ Requires-Dist: numpy<2.0.0
45
45
  Requires-Dist: plotly>=5.11.0
46
46
  Requires-Dist: pytest>=6.2.5
47
47
  Requires-Dist: pytest-mock>=3.6.1
@@ -3,8 +3,8 @@ corner>=2.2.1
3
3
  dill>=0.3.5.1
4
4
  gpyreg>=0.1.0
5
5
  imageio>=2.13.5
6
- matplotlib>=3.5.1
7
- numpy>=1.22.1
6
+ matplotlib>=3.9.0
7
+ numpy<2.0.0
8
8
  plotly>=5.11.0
9
9
  pytest>=6.2.5
10
10
  pytest-mock>=3.6.1
@@ -2,7 +2,7 @@
2
2
 
3
3
  [project]
4
4
  name = "PyVBMC"
5
- dynamic = ["version"] # use git tags for version, via setuptools_scm
5
+ dynamic = ["version"] # use git tags for version, via setuptools_scm
6
6
  description = "Variational Bayesian Monte Carlo in Python."
7
7
  readme = "README.md"
8
8
  license = { file = "LICENSE" }
@@ -12,8 +12,8 @@ dependencies = [
12
12
  "dill >= 0.3.5.1",
13
13
  "gpyreg >= 0.1.0",
14
14
  "imageio >= 2.13.5",
15
- "matplotlib >= 3.5.1",
16
- "numpy >= 1.22.1",
15
+ "matplotlib >= 3.9.0",
16
+ "numpy < 2.0.0",
17
17
  "plotly >= 5.11.0",
18
18
  "pytest >= 6.2.5",
19
19
  "pytest-mock >= 3.6.1",
@@ -26,7 +26,7 @@ requires-python = ">=3.9"
26
26
  include-package-data = true
27
27
  # Include examples in binary/wheel distribution:
28
28
  packages = ["pyvbmc", "pyvbmc.examples"]
29
- package-dir = {"pyvbmc.examples" = "examples"}
29
+ package-dir = { "pyvbmc.examples" = "examples" }
30
30
 
31
31
  [tool.setuptools.package-data]
32
32
  # Make sure to include example Notebooks:
@@ -45,10 +45,7 @@ dev = [
45
45
  ]
46
46
 
47
47
  [build-system]
48
- requires = [
49
- "setuptools >= 45",
50
- "setuptools_scm[toml] >= 6.2",
51
- ]
48
+ requires = ["setuptools >= 45", "setuptools_scm[toml] >= 6.2"]
52
49
  build-backend = "setuptools.build_meta"
53
50
 
54
51
  [tool.black]
@@ -135,7 +135,7 @@ class AbstractAcqFcn(ABC):
135
135
  np.any(X_orig < optim_state.get("lb_eps_orig"), axis=1),
136
136
  np.any(X_orig > optim_state.get("ub_eps_orig"), axis=1),
137
137
  )
138
- acq[idx_bounds] = np.Inf
138
+ acq[idx_bounds] = np.inf
139
139
 
140
140
  # Re-shape to 1-D, if necessary (to avoid errors in cma.fmin)
141
141
  if acq.ndim > 1:
@@ -40,6 +40,6 @@ def get_hpd(X: np.ndarray, y: np.ndarray, hpd_frac: float = 0.8):
40
40
  if hpd_N > 0:
41
41
  hpd_range = np.max(hpd_X, axis=0) - np.min(hpd_X, axis=0)
42
42
  else:
43
- hpd_range = np.full((D), np.NaN)
43
+ hpd_range = np.full((D), np.nan)
44
44
 
45
45
  return hpd_X, hpd_y, hpd_range, indices
@@ -42,8 +42,8 @@ def _fixed_point(
42
42
  Note that the factor of 2.0 in the definition of f is correct. See longer
43
43
  discussion here: https://github.com/tommyod/KDEpy/issues/95
44
44
  """
45
- i_range_squared = np.asfarray(i_range_squared, dtype=np.float64)
46
- a2 = np.asfarray(a2, dtype=np.float64)
45
+ i_range_squared = np.asarray(i_range_squared, dtype=np.float64)
46
+ a2 = np.asarray(a2, dtype=np.float64)
47
47
  ell = 7
48
48
  f = (
49
49
  2.0
@@ -59,7 +59,7 @@ def _fixed_point(
59
59
  return -1
60
60
 
61
61
  for s in reversed(range(2, ell)):
62
- odd_numbers_prod = np.product(
62
+ odd_numbers_prod = np.prod(
63
63
  np.arange(1, 2 * s + 1, 2, dtype=np.float64)
64
64
  )
65
65
  K0 = odd_numbers_prod / np.sqrt(2.0 * np.pi)
@@ -37,7 +37,7 @@ def test_vbmc_check_termination_conditions_max_fun_evals(mocker):
37
37
  mocker.patch.object(
38
38
  vbmc,
39
39
  "_compute_reliability_index",
40
- return_value=(np.Inf, np.NaN),
40
+ return_value=(np.inf, np.nan),
41
41
  )
42
42
  terminated, __ = vbmc._check_termination_conditions()
43
43
  assert terminated
@@ -60,7 +60,7 @@ def test_vbmc_check_termination_conditions_max_iter(mocker):
60
60
  mocker.patch.object(
61
61
  vbmc,
62
62
  "_compute_reliability_index",
63
- return_value=(np.Inf, np.NaN),
63
+ return_value=(np.inf, np.nan),
64
64
  )
65
65
  terminated, __ = vbmc._check_termination_conditions()
66
66
  assert terminated
@@ -83,7 +83,7 @@ def test_vbmc_check_termination_conditions_prevent_early_termination(mocker):
83
83
  mocker.patch.object(
84
84
  vbmc,
85
85
  "_compute_reliability_index",
86
- return_value=(np.Inf, np.NaN),
86
+ return_value=(np.inf, np.nan),
87
87
  )
88
88
  terminated, __ = vbmc._check_termination_conditions()
89
89
  assert not terminated
@@ -101,7 +101,7 @@ def test_vbmc_check_termination_conditions_prevent_early_termination(mocker):
101
101
  mocker.patch.object(
102
102
  vbmc,
103
103
  "_compute_reliability_index",
104
- return_value=(np.Inf, np.NaN),
104
+ return_value=(np.inf, np.nan),
105
105
  )
106
106
  terminated, __ = vbmc._check_termination_conditions()
107
107
  assert not terminated
@@ -185,7 +185,7 @@ def test_vbmc_compute_reliability_index_less_than_2_iter():
185
185
  vbmc = create_vbmc(3, 3, 1, 5, 2, 4)
186
186
  vbmc.optim_state["iter"] = 1
187
187
  r_index, ELCBO_improvement = vbmc._compute_reliability_index(6)
188
- assert r_index == np.Inf
188
+ assert r_index == np.inf
189
189
  assert np.isnan(ELCBO_improvement)
190
190
 
191
191
 
@@ -130,7 +130,7 @@ def active_sample(
130
130
  Xs = np.append(Xs, random_Xs, axis=0)
131
131
  ys = np.append(
132
132
  ys,
133
- np.full(sample_count - provided_sample_count, np.NaN),
133
+ np.full(sample_count - provided_sample_count, np.nan),
134
134
  axis=0,
135
135
  )
136
136
 
@@ -690,7 +690,7 @@ def _get_search_points(
690
690
 
691
691
  D = ub_search.shape[1]
692
692
 
693
- search_X = np.full((0, D), np.NaN)
693
+ search_X = np.full((0, D), np.nan)
694
694
  idx_cache = np.array([])
695
695
  parameter_transformer = function_logger.parameter_transformer
696
696
 
@@ -708,7 +708,7 @@ def _get_search_points(
708
708
  # Randomly sample remaining points
709
709
  if x0.shape[0] < number_of_points:
710
710
  N_random_points = number_of_points - x0.shape[0]
711
- random_Xs = np.full((0, D), np.NaN)
711
+ random_Xs = np.full((0, D), np.nan)
712
712
 
713
713
  N_search_cache = round(
714
714
  options.get("search_cache_frac") * N_random_points
@@ -70,7 +70,7 @@ ns_gp_max = 80
70
70
  # Max GP hyperparameter samples during warmup
71
71
  ns_gp_max_warmup = 8
72
72
  # Max GP hyperparameter samples during main algorithm
73
- ns_gp_max_main = np.Inf
73
+ ns_gp_max_main = np.inf
74
74
  # Fcn evals without improvement before stopping warmup
75
75
  warmup_no_impro_threshold = 20 + 5 * D
76
76
  # Also check for max fcn value improvement before stopping warmup
@@ -78,7 +78,7 @@ warmup_check_max = True
78
78
  # Force stable GP hyperparameter sampling (reduce samples or start optimizing)
79
79
  stable_gp_sampling = 200 + 10 * D
80
80
  # Force stable GP hyperparameter sampling after reaching this number of components
81
- stable_gp_vp_k = np.Inf
81
+ stable_gp_vp_k = np.inf
82
82
  # Number of GP samples when GP is stable (0 = optimize)
83
83
  stable_gp_samples = 0
84
84
  # Thinning for GP hyperparameter sampling
@@ -158,7 +158,7 @@ class VBMC:
158
158
  provided, PLB and PUB need to be specified."""
159
159
  )
160
160
  else:
161
- x0 = np.full((plausible_lower_bounds.shape), np.NaN)
161
+ x0 = np.full((plausible_lower_bounds.shape), np.nan)
162
162
 
163
163
  if x0.ndim == 1:
164
164
  logging.warning("Reshaping x0 to row vector.")
@@ -660,7 +660,7 @@ class VBMC:
660
660
  if self.options.get("ns_gp_max") > 0:
661
661
  optim_state["stop_sampling"] = 0
662
662
  else:
663
- optim_state["stop_sampling"] = np.Inf
663
+ optim_state["stop_sampling"] = np.inf
664
664
 
665
665
  # Fully recompute variational posterior
666
666
  optim_state["recompute_var_post"] = True
@@ -693,7 +693,7 @@ class VBMC:
693
693
  optim_state["run_mean"] = []
694
694
  optim_state["run_cov"] = []
695
695
  # Last time running average was updated
696
- optim_state["last_run_avg"] = np.NaN
696
+ optim_state["last_run_avg"] = np.nan
697
697
 
698
698
  # Current number of components for variational posterior
699
699
  optim_state["vp_K"] = self.options.get("k_warmup")
@@ -1526,7 +1526,7 @@ class VBMC:
1526
1526
  ):
1527
1527
  self.logger.info(
1528
1528
  display_format.format(
1529
- np.Inf,
1529
+ np.inf,
1530
1530
  self.function_logger.func_count,
1531
1531
  self.optim_state["N"],
1532
1532
  elbo,
@@ -1540,7 +1540,7 @@ class VBMC:
1540
1540
  else:
1541
1541
  self.logger.info(
1542
1542
  display_format.format(
1543
- np.Inf,
1543
+ np.inf,
1544
1544
  self.function_logger.func_count,
1545
1545
  elbo,
1546
1546
  elbo_sd,
@@ -1653,7 +1653,7 @@ class VBMC:
1653
1653
  if len(self.optim_state.get("data_trim_list")) > 0:
1654
1654
  last_data_trim = self.optim_state.get("data_trim_list")[-1]
1655
1655
  else:
1656
- last_data_trim = -1 * np.Inf
1656
+ last_data_trim = -1 * np.inf
1657
1657
 
1658
1658
  no_recent_trim_flag = (
1659
1659
  self.optim_state.get("N") - last_data_trim
@@ -1713,7 +1713,7 @@ class VBMC:
1713
1713
  idx_keep = (y_max - self.function_logger.y_orig) < threshold
1714
1714
  if np.sum(idx_keep) < n_keep_min:
1715
1715
  y_temp = np.copy(self.function_logger.y_orig)
1716
- y_temp[~np.isfinite(y_temp)] = -np.Inf
1716
+ y_temp[~np.isfinite(y_temp)] = -np.inf
1717
1717
  order = np.argsort(y_temp * -1, axis=0)
1718
1718
  idx_keep[
1719
1719
  order[: min(n_keep_min, self.function_logger.Xn + 1)]
@@ -1849,8 +1849,8 @@ class VBMC:
1849
1849
  iteration_idx = self.optim_state.get("iter")
1850
1850
  # Was < 3 in MATLAB due to different indexing.
1851
1851
  if self.optim_state.get("iter") < 2:
1852
- r_index = np.Inf
1853
- ELCBO_improvement = np.NaN
1852
+ r_index = np.inf
1853
+ ELCBO_improvement = np.nan
1854
1854
  return r_index, ELCBO_improvement
1855
1855
 
1856
1856
  sn = np.sqrt(self.optim_state.get("sn2_hpd"))
@@ -1862,7 +1862,7 @@ class VBMC:
1862
1862
  self.options.get("tol_sd") * 10,
1863
1863
  )
1864
1864
 
1865
- r_index_vec = np.full((3), np.NaN)
1865
+ r_index_vec = np.full((3), np.nan)
1866
1866
  r_index_vec[0] = (
1867
1867
  np.abs(
1868
1868
  self.iteration_history.get("elbo")[iteration_idx]
@@ -2017,7 +2017,7 @@ class VBMC:
2017
2017
  options.__setitem__("ns_ent", n_sent_boost, force=True)
2018
2018
  options.__setitem__("ns_ent_fast", n_sent_fast_boost, force=True)
2019
2019
  options.__setitem__("ns_ent_fine", n_sent_fine_boost, force=True)
2020
- options.__setitem__("max_iter_stochastic", np.Inf, force=True)
2020
+ options.__setitem__("max_iter_stochastic", np.inf, force=True)
2021
2021
  self.optim_state["entropy_alpha"] = 0
2022
2022
 
2023
2023
  stable_flag = np.copy(vp.stats["stable"])
@@ -2298,7 +2298,7 @@ class VBMC:
2298
2298
  else:
2299
2299
  output["convergence_status"] = "no"
2300
2300
 
2301
- output["overhead"] = np.NaN
2301
+ output["overhead"] = np.nan
2302
2302
  output["rng_state"] = "rng"
2303
2303
  output["algorithm"] = "Variational Bayesian Monte Carlo"
2304
2304
  try:
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