mirror of
https://github.com/helblazer811/ManimML.git
synced 2025-08-06 08:59:43 +08:00
Added changes to the MCMC sampling code. Added an MCMC example.
This commit is contained in:
@ -15,8 +15,8 @@ plt.style.use('dark_background')
|
||||
# Make the specific scene
|
||||
config.pixel_height = 1200
|
||||
config.pixel_width = 1200
|
||||
config.frame_height = 10.0
|
||||
config.frame_width = 10.0
|
||||
config.frame_height = 7.0
|
||||
config.frame_width = 7.0
|
||||
|
||||
def test_metropolis_hastings_sampler(iterations=100):
|
||||
samples, _, candidates = metropolis_hastings_sampler(iterations=iterations)
|
||||
|
Reference in New Issue
Block a user