Installation
A step-by-step guide to install PyCaret in Python
Option 1: Install via PyPi
PyCaret is tested and supported on 64-bit systems with:
Python 3.8, 3.9, 3.10, and 3.11
Ubuntu 16.04 or later
Windows 7 or later
You can install PyCaret with Python's pip package manager:
PyCaret's default installation will not install all the optional dependencies automatically. Depending on the use case, you may be interested in one or more extras:
Option 2: Source
Install the development version of the library directly from the source. The API may be unstable. It is not recommended for production use.
Option 3: Docker
Docker creates virtual environments with containers that keep a PyCaret installation separate from the rest of the system. PyCaret docker comes pre-installed with a Jupyter notebook. It can share resources with its host machine (access directories, use the GPU, connect to the Internet, etc.). The PyCaret Docker images are always tested for the latest major releases.
Environment
Training on GPU
To train models on the GPU, simply pass use_gpu = True
in the setup
function. There is no change in the use of the API; however, in some cases, additional libraries have to be installed. The following models can be trained on GPUs:
Extreme Gradient Boosting
Catboost
PyCaret Intel sklearnex support
Last updated
Was this helpful?