File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/source/examples/data_drift Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 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",
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",
You can’t perform that action at this time.
0 commit comments