conda install
Note
CatBoost Python package supports only CPython Python implementation.
Note
All Conda packages for Windows have CUDA support.
Conda packages for Linux contain variants with or without CUDA support.
All necessary CUDA libraries are statically linked in the released Linux and Windows binaries, the only installation necessary is the appropriate version of the CUDA driver.
To install CatBoost from the conda-forge channel:
-
Add conda-forge to your channels:
conda config --add channels conda-forge
-
Install CatBoost:
conda install catboost
-
Install visualization tools:
-
Install the
ipywidgets
Python package (version 7.x or higher is required):
pip install ipywidgets
-
Turn on the widgets extension:
jupyter nbextension enable --py widgetsnbextension
Refer to the following sections for details:
-
-
User-defined functions:
If you want to use custom metrics or objectives implemented in your own python code you should install
numba
package to speed up the code execution using JIT compilation.If you want to use custom metrics or objectives on GPUs with CUDA support you must install
numba
package for JIT compilation of CUDA code.
Installation ofnumba-cuda
package is also encouraged.
CUDA itself (not only drivers) must be installed on machines where this code is executed.
Seenumba
CUDA support documentation for more details.These packages are not listed in package requirements that are installed automatically because they are not needed for other functionality.