all_displays#
- sklearn.utils.discovery.all_displays()#
获取来自
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'>)