Skip to content

Distribution Drift Node

AI/ML/Monitoring

Compare reference and current distributions with KS and, when bin_edges are given, PSI. psi_drift is left empty when the windows are too small for PSI to separate drift from noise; psi_note says why

ml_distribution_driftml
Inputs2
Outputs2
Security exposureUnrated
Packageml

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

2

Input

Execution
exec_in

Run this operation

Configuration

Struct
request

Inputs and configuration

DistributionDriftRequestDistributionDriftRequest5 fields
referenceArray<number:double>required

Baseline window.

itemsnumber:doublearray item
format double
currentArray<number:double>required

Window to compare.

itemsnumber:doublearray item
format double
alphanumber:doublerequired
format double
bin_edgesArray<number:double>required

Increasing interior PSI bin edges; leave empty to compare with KS only.

itemsnumber:doublearray item
format double
psi_thresholdnumber:doublerequired
format double
Schema enforced

Output Pins

2

Done

Execution
exec_out

Operation completed

Result

Struct
result

Operation result

DistributionDriftDistributionDrift6 fields
ksKsResultrequired
statisticnumber:doublerequired
format double
critical_valuenumber:doublerequired
format double
driftbooleanrequired
reference_samplesinteger:uintrequired
format uintmin 0
current_samplesinteger:uintrequired
format uintmin 0
population_stability_indexnumber | null

Missing when no bin edges were given.

format double
psi_expected_without_driftnumber | null

Mean PSI of two windows of these sizes drawn from one distribution.

format double
psi_noise_floornumber | null

PSI that windows of these sizes without drift exceed in about 1% of comparisons.

format double
psi_driftboolean | null

Missing when PSI was not computed, or when the noise floor reaches the threshold and PSI does not pass it.

psi_notestring | null

Why psi_drift is missing.

Node Info

Internal name
ml_distribution_drift
Category
AI/ML/Monitoring
Version
2