Verbose Mode

Use Intel® Extension for Scikit-learn* in verbose mode to find out which implementation of the algorithm is currently used, Intel® Extension for Scikit-learn* or original Scikit-learn.

To enable verbose mode, set the SKLEARNEX_VERBOSE environment variable as shown below:

  • On Linux and MacOS:

  • On Windows:


During the calls that use Intel-optimized scikit-learn, you will receive additional print statements that indicate which implementation is being called. These print statements are only available for supported algorithms.

For example, for DBSCAN you get one of these print statements depending on which implementation is used:

SKLEARNEX INFO: running accelerated version on CPU
SKLEARNEX INFO: fallback to original Scikit-learn