Sampling

Notebook

Example Notebook: Kerasy.examples.sampling.ipynb

Rejection Sampling

class kerasy.ML.sampling.RejectionSampler(p, q, domain, k=1, **qargs)

Metropolis-Hastings

class kerasy.ML.sampling.MHSampler(p, q, **qargs)

GibbsMsphereSampler

class kerasy.ML.sampling.GibbsMsphereSampler(M, r=1)