Identify Changes¶
Class: IdentifyChangesBlockV1
Source: inference.core.workflows.core_steps.sampling.identify_changes.v1.IdentifyChangesBlockV1
Identify changes compared to prior data via embeddings.
This block accepts an embedding and compares it to a prior average and standard deviation for the rate of change. When things change faster or slower than they have in the past, the block will flag the data as an outlier.
Type identifier¶
Use the following identifier in step "type"
field: roboflow_core/identify_changes@v1
to add the block as
as step in your workflow.
Properties¶
Name | Type | Description | Refs |
---|---|---|---|
name |
str |
Unique name of step in workflows. | ❌ |
strategy |
str |
The change identification algorithm to use.. | ❌ |
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.. | ✅ |
smoothing_factor |
float |
The smoothing factor for the EMA algorithm. The default of 0.25 means the most recent data point will carry 25% weight in the average. Higher values will make the average more responsive to recent data points.. | ✅ |
window_size |
int |
The number of 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 Changes
in version v1
.
- inputs:
Identify Outliers
,Perspective Correction
,Pixel Color Count
,Clip Comparison
,Identify Changes
,SIFT Comparison
,Image Contours
,Perception Encoder Embedding Model
,Distance Measurement
,SIFT Comparison
,Line Counter
,Template Matching
,CLIP Embedding Model
,Line Counter
,Detections Consensus
- outputs:
YOLO-World Model
,Keypoint Detection Model
,Roboflow Dataset Upload
,Gaze Detection
,Circle Visualization
,PTZ Tracking (ONVIF)
.md),Roboflow Custom Metadata
,Single-Label Classification Model
,Template Matching
,Dynamic Zone
,Detections Stitch
,Instance Segmentation Model
,Color Visualization
,Detections Consensus
,Object Detection Model
,Identify Outliers
,Perspective Correction
,Model Monitoring Inference Aggregator
,Image Slicer
,OpenAI
,Keypoint Detection Model
,Model Comparison Visualization
,Stitch Images
,Dynamic Crop
,Webhook Sink
,Pixelate Visualization
,Llama 3.2 Vision
,Byte Tracker
,Camera Calibration
,Reference Path Visualization
,Time in Zone
,Blur Visualization
,Ellipse Visualization
,Trace Visualization
,Velocity
,Corner Visualization
,Polygon Zone Visualization
,Google Gemini
,OpenAI
,Triangle Visualization
,Stability AI Inpainting
,Classification Label Visualization
,Single-Label Classification Model
,Bounding Box Visualization
,Distance Measurement
,Detections Stabilizer
,Halo Visualization
,Email Notification
,Polygon Visualization
,Slack Notification
,Object Detection Model
,Dot Visualization
,Label Visualization
,Byte Tracker
,Stability AI Outpainting
,Crop Visualization
,Cosine Similarity
,Stability AI Image Generation
,Identify Changes
,SIFT Comparison
,Mask Visualization
,Time in Zone
,Twilio SMS Notification
,Segment Anything 2 Model
,Roboflow Dataset Upload
,Byte Tracker
,Line Counter Visualization
,Instance Segmentation Model
,Background Color Visualization
,Anthropic Claude
,Multi-Label Classification Model
,Image Slicer
,Keypoint Visualization
,Multi-Label Classification Model
,Relative Static Crop
Input and Output Bindings¶
The available connections depend on its binding kinds. Check what binding kinds
Identify Changes
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..smoothing_factor
(float_zero_to_one
): The smoothing factor for the EMA algorithm. The default of 0.25 means the most recent data point will carry 25% weight in the average. Higher values will make the average more responsive to recent data points..window_size
(integer
): The number of 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]
.z_score
(float
): Float value.average
(embedding
): A list of floating point numbers representing a vector embedding..std
(embedding
): A list of floating point numbers representing a vector embedding..warming_up
(boolean
): Boolean flag.
Example JSON definition of step Identify Changes
in version v1
{
"name": "<your_step_name_here>",
"type": "roboflow_core/identify_changes@v1",
"strategy": "Simple Moving Average (SMA)",
"embedding": "$steps.clip.embedding",
"threshold_percentile": "$inputs.sample_rate",
"warmup": 100,
"smoothing_factor": 0.1,
"window_size": 5
}