function observe_ridge_regression(x:Real[_], N:Real[_,_], Λ:LLT, α:Real, γ:Real[_], u:Real[_]) -> Real

Observe a ridge regression.

  • x: The variate.
  • N: Prior precision times mean for weights, where each column represents the mean of the weight for a separate output.
  • Λ: Common prior precision.
  • α: Common prior weight and likelihood covariance shape.
  • β: Prior covariance scale accumulators.
  • u: Input.

Returns: the log probability density.