sklearn.utils.discovery
.all_displays#
- sklearn.utils.discovery.all_displays()[source]#
Get a list of all displays from
sklearn
.- Returns:
- displayslist of tuples
List of (name, class), where
name
is the display class name as string andclass
is the actual type of the class.
Examples
>>> from sklearn.utils.discovery import all_displays >>> displays = all_displays() >>> displays[0] ('CalibrationDisplay', <class 'sklearn.calibration.CalibrationDisplay'>)