Identify Outliers¶
Class: IdentifyOutliersBlockV1
Source: inference.core.workflows.core_steps.sampling.identify_outliers.v1.IdentifyOutliersBlockV1
Identify outlier embeddings compared to prior data.
This block accepts an embedding and compares it to a sample of prior data. If the embedding is an outlier, the block will return a boolean flag and the percentile of the embedding.
Type identifier¶
Use the following identifier in step "type"
field: roboflow_core/identify_outliers@v1
to add the block as
as step in your workflow.
Properties¶
Name | Type | Description | Refs |
---|---|---|---|
name |
str |
Unique name of step in workflows. | ❌ |
threshold_percentile |
float |
The desired sensitivity. A higher value will result in more data points being classified as outliers.. | ✅ |
warmup |
int |
The number of data points to use for the initial average calculation. No outliers are identified during this period.. | ✅ |
window_size |
int |
The number of previous data points to consider in the sliding window algorithm.. | ✅ |
The Refs column marks possibility to parametrise the property with dynamic values available
in workflow
runtime. See Bindings for more info.
Available Connections¶
Compatible Blocks
Check what blocks you can connect to Identify Outliers
in version v1
.
- inputs:
Identify Changes
,Detections Consensus
,Line Counter
,Pixel Color Count
,Template Matching
,Perception Encoder Embedding Model
,Identify Outliers
,Distance Measurement
,CLIP Embedding Model
,Perspective Correction
,Line Counter
,Image Contours
,Clip Comparison
,SIFT Comparison
,SIFT Comparison
- outputs:
Model Monitoring Inference Aggregator
,Label Visualization
,Triangle Visualization
,Model Comparison Visualization
,Line Counter Visualization
,Circle Visualization
,Relative Static Crop
,Detections Stitch
,Trace Visualization
,Byte Tracker
,Multi-Label Classification Model
,Object Detection Model
,Detections Consensus
,Gaze Detection
,Stitch Images
,Reference Path Visualization
,Polygon Visualization
,Roboflow Dataset Upload
,Segment Anything 2 Model
,Time in Zone
,Identify Outliers
,Roboflow Custom Metadata
,Single-Label Classification Model
,Keypoint Visualization
,Ellipse Visualization
,Crop Visualization
,Color Visualization
,Image Slicer
,Dynamic Crop
,Instance Segmentation Model
,Multi-Label Classification Model
,Dot Visualization
,Instance Segmentation Model
,Roboflow Dataset Upload
,Keypoint Detection Model
,Keypoint Detection Model
,Stability AI Inpainting
,Identify Changes
,Single-Label Classification Model
,Template Matching
,Corner Visualization
,Background Color Visualization
,Polygon Zone Visualization
,Byte Tracker
,Stability AI Image Generation
,Perspective Correction
,Image Slicer
,Blur Visualization
,Dynamic Zone
,Classification Label Visualization
,Time in Zone
,Slack Notification
,SIFT Comparison
,Byte Tracker
,Detections Stabilizer
,YOLO-World Model
,Stability AI Outpainting
,Webhook Sink
,Mask Visualization
,Bounding Box Visualization
,Pixelate Visualization
,Twilio SMS Notification
,Email Notification
,PTZ Tracking (ONVIF)
.md),Object Detection Model
,Halo Visualization
Input and Output Bindings¶
The available connections depend on its binding kinds. Check what binding kinds
Identify Outliers
in version v1
has.
Bindings
-
input
embedding
(embedding
): Embedding of the current data..threshold_percentile
(float_zero_to_one
): The desired sensitivity. A higher value will result in more data points being classified as outliers..warmup
(integer
): The number of data points to use for the initial average calculation. No outliers are identified during this period..window_size
(integer
): The number of previous data points to consider in the sliding window algorithm..
-
output
is_outlier
(boolean
): Boolean flag.percentile
(float_zero_to_one
):float
value in range[0.0, 1.0]
.warming_up
(boolean
): Boolean flag.
Example JSON definition of step Identify Outliers
in version v1
{
"name": "<your_step_name_here>",
"type": "roboflow_core/identify_outliers@v1",
"embedding": "$steps.clip.embedding",
"threshold_percentile": "$inputs.sample_rate",
"warmup": 100,
"window_size": 5
}