Installation#
Deepchecks requires Python 3 and can be installed using pip or conda, depending on the package manager that you’re working with for most of your packages.
As a best practice we recommend working on a virtual environment for pip and with a conda environment for conda.
Deepchecks For Tabular Data#
Local Installation With Pip#
The deepchecks package can be installed from PyPi using the following command:
pip install deepchecks --upgrade
Note
Deepchecks is in active development, which means that new versions are released on a weekly basis and new features are frequently added. If you experience any unexpected behavior from deepchecks, the first step to troubleshoot is to upgrade to the latest version.
Local Installation With Conda#
To install the deepchecks package from the conda package manager run
conda install -c conda-forge deepchecks
or, if you already have deepchecks installed and want to update then run
conda update -c conda-forge deepchecks
Installing Within a Jupyter Notebook#
Simply run the following command in a notebook cell
import sys
!{sys.executable} -m pip install deepchecks --quiet --upgrade # --user
Deepchecks For Computer Vision#
Note
Deepchecks’ Computer Vision subpackage is in beta release, and is available from PyPi, use at your own discretion. Github Issues are highly encouraged for feature requests and bug reports.
Istallation of deepchecks for CV should be stated explicitly and it includes both the installation of the tabular version and of the computer vision subpackage. Example commands from above should be altered to install deepchecks[vision].
Using Pip#
pip install "deepchecks[vision]" --upgrade
Start Working with the Package#
Now it’s time to check out deepchecks!
Latest Version Check#
We are improving and updating our package constantly, so it’s important to work on the latest version whenever possible. Because of that, the package checks by default if it is the latest version. If not, a warning is printed.
As a side benefit, the latest version check helps us estimate how many people are using the package. We want to keep building and improving deepchecks, so this metric is important to us. The check is performed only once, on the first import of the package in the python context.
No credentials, data, personal information or anything private is collected, and will never be.
By default, the latest version check is turned on. You can opt-out at any time by setting the
DISABLE_LATEST_VERSION_CHECK
environment variable to True
.
export DISABLE_LATEST_VERSION_CHECK=True