package prbnmcn-dagger-test

  1. Overview
  2. Docs

Testing various backends on bayesian linear regression

Setup and helper definitions

Definition of the non-linearity to infer

val nonlinearity : float -> float
val intercept : float
val coeff : float

Sampling of a synthetic data set

val rng_state : Dagger.RNG.t
val synthetic_data_set : (float * float) list

Plotting helpers

val from_parameters : intercept:float -> coeff:float -> Plot.r2 list
val plot : string -> (float * float) array -> unit

Regression using Lmh_inference

module Traced : sig ... end

Regression using Lmh_incremental_inference

module Traced_incremental : sig ... end

Regression using Smc_inference

module Smc : sig ... end
val tests : QCheck.Test.t list