Skip to content

Commit

Permalink
added threshold + accuracy to data split loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Amandarg committed May 1, 2018
1 parent be5b9f4 commit 06d854d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,7 @@
"print('-----------')\n",
"print('Average biased logistic regression accuracy:', np.mean(biased_accuracy))\n",
"print('Average debiased logistic regression accuracy:', np.mean(debiased_accuracy))\n",
"print('Average COMPAS logistic regression accuracy:', np.mean(compas_accuracy))\n",
"print('Average COMPAS accuracy:', np.mean(compas_accuracy))\n",
"print('-----------')\n",
"print('Average logistic regression biased threshold:', np.mean(biased_logistic_regression_threshold))\n",
"print('Average logistic regression debiased threshold:', np.mean(debiased_logistic_regression_threshold))"
Expand Down
2 changes: 1 addition & 1 deletion COMPAS_debias_experiments.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,7 @@
"print('-----------')\n",
"print('Average biased logistic regression accuracy:', np.mean(biased_accuracy))\n",
"print('Average debiased logistic regression accuracy:', np.mean(debiased_accuracy))\n",
"print('Average COMPAS logistic regression accuracy:', np.mean(compas_accuracy))\n",
"print('Average COMPAS accuracy:', np.mean(compas_accuracy))\n",
"print('-----------')\n",
"print('Average logistic regression biased threshold:', np.mean(biased_logistic_regression_threshold))\n",
"print('Average logistic regression debiased threshold:', np.mean(debiased_logistic_regression_threshold))"
Expand Down

0 comments on commit 06d854d

Please sign in to comment.