Skip to content

Prediction Class/Label Node

AI/ML

Prediction Class/Label

Extract class_idx and label from predictions.

ai_ml_pred_class_or_labelonnx
Inputs1
Outputs2
Security exposure10/10
Packageonnx

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

No score metadata has been set for this node yet.

Input Pins

1

Prediction

Struct
prediction

Single ClassPrediction

ClassPredictionClassPrediction3 fields
class_idxinteger:uint32required

Class index (0-based)

format uint32min 0
scorenumber:floatrequired

Confidence score (typically 0.0-1.0)

format float
labelstring | null

Optional human-readable class label

Output Pins

2

Class Index

Integer
class_idx

Selected prediction class index

Label

String
label

Selected prediction label (empty if not provided)

Node Info

Internal name
ai_ml_pred_class_or_label
Category
AI/ML