From 11de870d41f1d184dccd4e157ee73e742bb034da Mon Sep 17 00:00:00 2001 From: "jakob.robnik" Date: Tue, 5 Dec 2023 09:04:10 +0100 Subject: [PATCH] remove junk --- notebooks/junk.py | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 notebooks/junk.py diff --git a/notebooks/junk.py b/notebooks/junk.py deleted file mode 100644 index 97e186e..0000000 --- a/notebooks/junk.py +++ /dev/null @@ -1,27 +0,0 @@ -import jax -import jax.numpy as jnp - -from mclmc.sampler import Sampler -from benchmarks.benchmarks_mchmc import * -from mclmc.boundary import Boundary - - - -target = StandardNormal(d= 100) - - - -boundary = Boundary(target.d, where_positive= jnp.array([0, ])) -sampler = Sampler(target, boundary = boundary) - -x = sampler.sample(100000) - - - -import matplotlib.pyplot as plt -plt.subplot(1, 2, 1) -plt.hist(x[:, 0], bins = 30) -plt.subplot(1, 2, 2) -plt.hist(x[:, 1], bins = 30) -plt.show() -