dataeval.shift.DriftKNeighbors.Stats¶ class dataeval.shift.DriftKNeighbors.Stats¶ Statistics from K-Nearest Neighbors drift detection. p_val¶ P-value from Mann-Whitney U test on k-NN distances, between 0 and 1. Type:¶ float mean_ref_distance¶ Mean k-NN distance in the reference set (baseline). Type:¶ float mean_test_distance¶ Mean k-NN distance for the test samples. Type:¶ float