colour_checker_detection.utilities.is_sklearn_installed#
- colour_checker_detection.utilities.is_sklearn_installed(raise_exception: bool = False) bool[source]#
Return whether scikit-learn is installed and available.
- Parameters:
raise_exception (bool) – Whether to raise an exception if scikit-learn is unavailable.
- Returns:
Whether scikit-learn is installed.
- Return type:
- Raises:
ImportError – If scikit-learn is not installed.