figaro.diagnostic

Functions

angular_coefficient(x, y)

Angular coefficient obtained from linear regression.

autocorrelation(draws[, bounds, out_folder, ...])

Compute autocorrelation of a set of draws and produce the relevant plot

compute_angular_coefficients(x[, L])

Given an array of points x, computes the angular coefficient for each adjacent chunk of length L.

compute_autocorrelation(draws, mean, dx)

Computes autocorrelation of subsequent draws as <∫(draw[i]-mean)*(draw[i+t]-mean)*dx/∫(draw[i]-mean)**2*dx>

compute_entropy(draws[, n_draws, return_error])

Compute entropy for a list of realisations of the DPGMM using Monte Carlo integration

compute_entropy_single_draw(mixture[, ...])

Compute entropy for a single realisation of the DPGMM using Monte Carlo integration

entropy(draws[, out_folder, exp_entropy, ...])

Compute entropy of a set of draws and produce the relevant plot

plot_angular_coefficient(entropy[, L, ...])

Compute entropy angular coefficient and produce the relevant plot