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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment