rasbt / mlxtend

A library of extension and helper modules for Python's data analysis and machine learning libraries.
https://rasbt.github.io/mlxtend/
Other
4.82k stars 853 forks source link

“Bias squared” rather than “Bias”? #1083

Open huanfachen opened 4 months ago

huanfachen commented 4 months ago

I have a question about the “Average bias” in this documentation and the coding of the bias_variance_decomp function.

If Loss = [Bias]^2 + Variance, then in the reporting of the bias_variance_decomp function, it should be average bias squared rather than average bias?

Any comment is welcome, many thanks!

rasbt commented 4 months ago

Yes, that's a good point. It's average biased squared. Maybe it should be made more explicit in the docs like you suggest.