ImagePropertyOutliers#
- class ImagePropertyOutliers[source]#
Find outliers images with respect to the given properties.
The check computes several image properties and then computes the number of outliers for each property. The check uses IQR to detect outliers out of the single dimension properties.
- Parameters
- image_propertiesList[Dict[str, Any]], default: None
List of properties. Replaces the default deepchecks properties. Each property is dictionary with keys ‘name’ (str), ‘method’ (Callable) and ‘output_type’ (str), representing attributes of said method. ‘output_type’ must be one of ‘continuous’/’discrete’
- n_show_topint , default: 5
number of outliers to show from each direction (upper limit and bottom limit)
- iqr_percentiles: Tuple[int, int], default: (25, 75)
Two percentiles which define the IQR range
- iqr_scale: float, default: 1.5
The scale to multiply the IQR range for the outliers detection
- __init__(image_properties: Optional[List[Dict[str, Any]]] = None, n_show_top: int = 5, iqr_percentiles: Tuple[int, int] = (25, 75), iqr_scale: float = 1.5, **kwargs)[source]#
- __new__(*args, **kwargs)#
Methods
|
Add new condition function to the check. |
Remove all conditions from this check instance. |
|
|
Compute final result. |
Run conditions on given result. |
|
|
Return an image to show as output of the display. |
Finalize the check result by adding the check instance and processing the conditions. |
|
Return default properties to run in the check. |
|
Get the data on which the check calculates outliers for. |
|
Initialize the properties state. |
|
|
Return check metadata. |
Name of class in split camel case. |
|
|
Return parameters to show when printing the check. |
Remove given condition by index. |
|
|
Run check. |
|
Aggregate image properties from batch. |