MCPcopy Create free account
hub / github.com/catboost/catboost / _draw

Function _draw

catboost/python-package/catboost/utils.py:46–57  ·  view source on GitHub ↗
(plt, x, y, x_label, y_label, title)

Source from the content-addressed store, hash-verified

44
45
46def _draw(plt, x, y, x_label, y_label, title):
47 plt.figure(figsize=(16, 8))
48
49 plt.plot(x, y, alpha=0.5, lw=2)
50
51 plt.xticks(fontsize=16)
52 plt.yticks(fontsize=16)
53 plt.grid(True)
54 plt.xlabel(x_label, fontsize=16)
55 plt.ylabel(y_label, fontsize=16)
56 plt.title(title, fontsize=20)
57 plt.show()
58
59
60def create_cd(

Callers 3

get_roc_curveFunction · 0.85
get_fpr_curveFunction · 0.85
get_fnr_curveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected