Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
mse, bias, variance = bias_variance_decomp(linear_regression, xtrain, ytrain, xtest, ytest,
loss='mse', num_rounds=200, random_seed=123)
print("Average Bias : ", bias)
print("Average Variance : ", variance)