Multivariate Gaussian
MultivariateGaussian fits real-valued responses with shared observations:
The loss sums over responses and averages over observations. It never divides by . Independent response fits therefore use the same penalty strengths as the corresponding single-response Gaussian problems.
Evaluate the loss
Store response columns contiguously. Entry has index r * nobs + i. The supplied dimensions must be positive and match the response length.
use MultivariateGaussian;
Every response has a free, unpenalized intercept by default. .fit_intercept(false) disables all free intercepts. Predictors and predictions use the same response-major layout as the observations.
Fitting uses proximal gradient and an AxisPenalty with an explicit feature-by-response CoefficientLayout. See multivariate regression for a complete example and feature selection across responses.
