Viewing Deepchecks Results#
This guide demonstrates the different ways you can view a Suite or a Check’s results while working with deepchecks interactively, whether if you’re working in a notebook or an IDE, locally or on the cloud. For details about saving or exporting your results, refer to the exporting deepchecks results user guide.
Main Methods for Showing Results#
Deepchecks Check and Suite results can be viewed in a separate window or inline if working within a notebook.
This is the main show method. It will show the check/suite result’s HTML output inline, in a notebook cell.
This method shows the result in a separate window (using the PyQt5 library). It starts a PyQt5 application in a separate process therefore this display method does not work on cloud platforms like Kaggle or Google Colab.
Note, PyQt5 library is an optional dependency and it is not installed
along with Deepchecks automatically, therefore to use
show_in_window() you need
to install it manually by running the next command:
$ pip install PyQt5 pygtwebengine
Alternative Methods for Showing Results (Troubleshooting)#
The result’s HTML output produced by the
requires specific jupyter extensions to display properly.
These extensions may not be installed/enabled by default,
or may have compatibility issues with different environments (e.g. some cloud platforms).
Therefore, if you experience any result display problems, you can consider any of the following options to resolve them:
- Verifying that the
jupyter-widgetsextension is installed and enabled.If you’re working on jupyterlab, same for
jupyterlab-plotlyextension.Restart your jupter server after these changes so that they will have an effect.
Exporting the results (e.g. saving them to html) and viewing the output file.
This is the main alternative in case you experience any result display problems. It uses a different output technique (embedding the result’s HTML output into an iframe) and thus doesn’t require any jupyter extensions installed.
To be able to use this method you need to install an optional dependency package called ‘kaleido’ that is used to transform figures and charts into images. In order to install it run the command:
$ pip install kaleido