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

Function _get_catboost_widget

catboost/python-package/catboost/core.py:1556–1564  ·  view source on GitHub ↗
(train_dirs)

Source from the content-addressed store, hash-verified

1554
1555
1556def _get_catboost_widget(train_dirs):
1557 for train_dir in train_dirs:
1558 _clear_training_files(train_dir)
1559 try:
1560 from .widget import MetricVisualizer
1561 return MetricVisualizer(train_dirs)
1562 except ImportError as e:
1563 warnings.warn("To draw plots in fit() method you should install ipywidgets and ipython")
1564 raise ImportError(str(e))
1565
1566
1567@contextmanager

Callers 1

plot_wrapperFunction · 0.85

Calls 3

_clear_training_filesFunction · 0.85
MetricVisualizerClass · 0.85
strClass · 0.50

Tested by

no test coverage detected