.. ****************************************************************************** .. * Copyright 2020-2021 Intel Corporation .. * .. * Licensed under the Apache License, Version 2.0 (the "License"); .. * you may not use this file except in compliance with the License. .. * You may obtain a copy of the License at .. * .. * http://www.apache.org/licenses/LICENSE-2.0 .. * .. * Unless required by applicable law or agreed to in writing, software .. * distributed under the License is distributed on an "AS IS" BASIS, .. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. .. * See the License for the specific language governing permissions and .. * limitations under the License. .. *******************************************************************************/ .. _verbose: ############ Verbose Mode ############ Use |intelex| in verbose mode to find out which implementation of the algorithm is currently used, |intelex| or original Scikit-learn. To enable verbose mode, set the ``SKLEARNEX_VERBOSE`` environment variable as shown below: - On Linux and MacOS:: export SKLEARNEX_VERBOSE=INFO - On Windows:: set SKLEARNEX_VERBOSE=INFO 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 :ref:`supported algorithms `. For example, for DBSCAN you get one of these print statements depending on which implementation is used:: SKLEARNEX INFO: sklearn.cluster.DBSCAN.fit: running accelerated version on CPU :: SKLEARNEX INFO: sklearn.cluster.DBSCAN.fit: fallback to original Scikit-learn