Python Machine Learning Cookbook(Second Edition)
上QQ阅读APP看书,第一时间看更新

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