class Model {

    public void run() {
        KeanuProbabilisticModel model = new KeanuProbabilisticModel(buildBayesianNetwork());
        Integer numSamples = 500;

        results = Keanu.Sampling.MetropolisHastings.withDefaultConfig().generatePosteriorSamples(
            model,
            model.getLatentVariables()
        ).dropCount(numSamples/5).downSampleInterval(3).generate(numSamples);
    }

    public  Model(Data data);

}