- Python Machine Learning Cookbook(Second Edition)
- Giuseppe Ciaburro Prateek Joshi
- 44字
- 2025-04-04 14:38:09
There's more...
The sklearn.metrics module contains a series of simple functions that measure prediction error:
- Functions ending with _score return a value to maximize; the higher the better
- Functions ending with _error or _loss return a value to minimize; the lower the better