bayes_linear_fit_ard

tessilator.detrend_cbv.bayes_linear_fit_ard(X, y)[source]

Fit linear basis model with design matrix X to data y.

Calling sequence: w, V, invV, logdetV, an, bn, E_a, L = bayes_linear_fit_ard(X, y)

Inputs: X: design matrix y: target data

Outputs w: basis function weights *need to document the others!*