colour.utilities.is_sklearn_installed¶
- colour.utilities.is_sklearn_installed(raise_exception: bool = False) bool [source]¶
Return whether Scikit-Learn (sklearn) is installed and available.
- Parameters
raise_exception (bool) – Whether to raise an exception if Scikit-Learn (sklearn) is unavailable.
- Returns
Whether Scikit- isLearn (sklearn) installed.
- Return type
- Raises
ImportError – If Scikit-Learn (sklearn) is not installed.