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

Method close

catboost/python-package/catboost/eval/_fold_storage.py:122–127  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

120 return self._file is not None
121
122 def close(self):
123 if self._file is None:
124 raise CatBoostError("Trying to close None {}".format(self._file_path))
125
126 self._file.close()
127 self._file = None
128
129 def delete(self):
130 if self._file is not None:

Callers 7

is_port_freeFunction · 0.45
_download_datasetFunction · 0.45
adultFunction · 0.45
_write_foldsMethod · 0.45
_prepare_pathMethod · 0.45
get_cuda_setup_errorFunction · 0.45

Calls 2

CatBoostErrorClass · 0.90
formatMethod · 0.45

Tested by

no test coverage detected