NewLabels#
- class NewLabels[source]#
 Detects labels that appear only in the test set.
- Parameters
 - max_images_to_display_per_labelint , default: 3
 maximum number of images to show from each newly found label in the test set.
- max_new_labels_to_displayint , default: 3
 Maximum number of new labels to display in output.
- n_samplesOptional[int] , default10000
 Number of samples to use for the check. If None, all samples will be used.
- __init__(max_images_to_display_per_label: int = 3, max_new_labels_to_display: int = 3, n_samples: Optional[int] = 10000, **kwargs)[source]#
 
- __new__(*args, **kwargs)#
 
Methods
  | 
Add new condition function to the check.  | 
  | 
Add condition - Ratio of labels that appear only in the test set required to be less or equal to the threshold.  | 
Remove all conditions from this check instance.  | 
|
  | 
Calculate which class_id are only available in the test data set and display them.  | 
  | 
Run conditions on given result.  | 
  | 
Return check configuration (conditions' configuration not yet supported).  | 
  | 
Return check object from a CheckConfig object.  | 
  | 
Deserialize check instance from JSON string.  | 
Return True if the check reduce_output is better when it is greater.  | 
|
  | 
Initialize run before starting updating on batches.  | 
  | 
Return check metadata.  | 
Name of class in split camel case.  | 
|
  | 
Return parameters to show when printing the check.  | 
  | 
Reduce check result value.  | 
  | 
Remove given condition by index.  | 
  | 
Run check.  | 
  | 
Serialize check instance to JSON string.  | 
  | 
No additional caching required for this check.  |