Skip to content

Commit b7cb97d

Browse files
Fix reject H0 condition in multivariate_detector.ipynb
1 parent 69262bb commit b7cb97d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/examples/data_drift/multivariate_detector.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@
252252
"_, callback_logs = detector.compare(X=X_test)\n",
253253
"p_value = callback_logs[\"permutation_test\"][\"p_value\"]\n",
254254
"print(f\"p-value: {round(p_value, 4)}\")\n",
255-
"if p_value < alpha:\n",
255+
"if p_value <= alpha:\n",
256256
" print(\"Data drift detected\")\n",
257257
"else:\n",
258258
" print(\"No data drift detected\")\n",
@@ -352,7 +352,7 @@
352352
"_, callback_logs = detector.compare(X=X_test_noise)\n",
353353
"p_value = callback_logs[\"permutation_test\"][\"p_value\"]\n",
354354
"print(f\"p-value: {round(p_value, 4)}\")\n",
355-
"if p_value < alpha:\n",
355+
"if p_value <= alpha:\n",
356356
" print(\"Data drift detected\")\n",
357357
"else:\n",
358358
" print(\"No data drift detected\")\n",

0 commit comments

Comments
 (0)