Simulate regression

function simulate_regression(W:Real[_,_], σ2:Real[_], u:Real[_]) -> Real[_]

Simulate regression.

  • W: Weight matrix, where each column represents the weights for a different output.
  • σ2: Variance vector, where each element represents the variance for a different output.
  • u: Input.

Returns: Outputs of the regression.