{
 "cells": [
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Datasets used: \n",
    "- `Subject List Dataset(SSL)` :<br>\n",
    "The information displayed represents a de-identified listing of arrest data from August 1, 2012 to July 31, 2016, that was used by the Chicago Police Department’s Strategic Subject Algorithm,<br> created by the Illinois Institute of Technology and funded through a Department of Justice Bureau of Justice Assistance grant,<br> to create a risk assessment score known as the Strategic Subject List or “SSL.” <br>These scores reflect an individual’s probability of being involved in a shooting incident either as a victim or an offender.<br> Scores are calculated and placed on a scale ranging from 0 (extremely low risk) to 500 (extremely high risk).\n",
    "\n",
    "Reference Links: https://data.cityofchicago.org/Public-Safety/Strategic-Subject-List-Historical/4aki-r3np"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "import numpy as np\n",
    "from pprint import pprint\n",
    "\n",
    "from sklearn.model_selection import train_test_split\n",
    "from sklearn.metrics import classification_report, confusion_matrix, ConfusionMatrixDisplay\n",
    "\n",
    "import os\n",
    "import sys\n",
    "module_path = os.path.abspath(os.path.join('..', '..'))\n",
    "if module_path not in sys.path:\n",
    "    sys.path.append(module_path)\n",
    "\n",
    "from facts.utils import load_rules_by_if,save_rules_by_if\n",
    "import facts\n",
    "from facts.clean import clean_dataset\n",
    "from facts import valid_ifthens_with_coverage_correctness, rules2rulesbyif\n",
    "from facts.models import customLogisticRegression\n",
    "from facts.parameters import ParameterProxy\n",
    "from facts.formatting import recourse_report_reverse, print_recourse_report, print_recourse_report_cumulative,print_recourse_report_KStest_cumulative\n",
    "import matplotlib.pyplot as plt\n",
    "\n",
    "from IPython.display import Markdown, display"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "from pathlib import Path\n",
    "\n",
    "computed_rules_file = Path(\"..\") / \"..\" / \"Pre-computed Results\" / \"SSL\" / \"rulesSSL_atomic.data\"\n",
    "computed_rules_with_cumulative_file = Path(\"..\") / \"..\" / \"Pre-computed Results\" / \"SSL\" / \"rulesSSL_cumulative.data\""
   ]
  },
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Load Dataset"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "tags": []
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>SSL SCORE</th>\n",
       "      <th>PREDICTOR RAT AGE AT LATEST ARREST</th>\n",
       "      <th>PREDICTOR RAT VICTIM SHOOTING INCIDENTS</th>\n",
       "      <th>PREDICTOR RAT VICTIM BATTERY OR ASSAULT</th>\n",
       "      <th>PREDICTOR RAT ARRESTS VIOLENT OFFENSES</th>\n",
       "      <th>PREDICTOR RAT GANG AFFILIATION</th>\n",
       "      <th>PREDICTOR RAT NARCOTIC ARRESTS</th>\n",
       "      <th>PREDICTOR RAT TREND IN CRIMINAL ACTIVITY</th>\n",
       "      <th>PREDICTOR RAT UUW ARRESTS</th>\n",
       "      <th>SEX CODE CD</th>\n",
       "      <th>RACE CODE CD</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>0</td>\n",
       "      <td>20-30</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>4</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>(0.3, 7.3]</td>\n",
       "      <td>1</td>\n",
       "      <td>M</td>\n",
       "      <td>BLK</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>0</td>\n",
       "      <td>20-30</td>\n",
       "      <td>0</td>\n",
       "      <td>9</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>(0.3, 7.3]</td>\n",
       "      <td>0</td>\n",
       "      <td>M</td>\n",
       "      <td>WHI</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>0</td>\n",
       "      <td>10-20</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>(0.3, 7.3]</td>\n",
       "      <td>0</td>\n",
       "      <td>M</td>\n",
       "      <td>WHI</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>0</td>\n",
       "      <td>10-20</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>4</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>(0.3, 7.3]</td>\n",
       "      <td>1</td>\n",
       "      <td>M</td>\n",
       "      <td>BLK</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>0</td>\n",
       "      <td>10-20</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>(0.3, 7.3]</td>\n",
       "      <td>3</td>\n",
       "      <td>M</td>\n",
       "      <td>BLK</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   SSL SCORE PREDICTOR RAT AGE AT LATEST ARREST  \\\n",
       "0          0                              20-30   \n",
       "1          0                              20-30   \n",
       "2          0                              10-20   \n",
       "3          0                              10-20   \n",
       "4          0                              10-20   \n",
       "\n",
       "   PREDICTOR RAT VICTIM SHOOTING INCIDENTS  \\\n",
       "0                                        0   \n",
       "1                                        0   \n",
       "2                                        1   \n",
       "3                                        1   \n",
       "4                                        0   \n",
       "\n",
       "   PREDICTOR RAT VICTIM BATTERY OR ASSAULT  \\\n",
       "0                                        1   \n",
       "1                                        9   \n",
       "2                                        2   \n",
       "3                                        1   \n",
       "4                                        0   \n",
       "\n",
       "   PREDICTOR RAT ARRESTS VIOLENT OFFENSES  PREDICTOR RAT GANG AFFILIATION  \\\n",
       "0                                       4                               1   \n",
       "1                                       1                               1   \n",
       "2                                       1                               1   \n",
       "3                                       4                               1   \n",
       "4                                       5                               0   \n",
       "\n",
       "   PREDICTOR RAT NARCOTIC ARRESTS PREDICTOR RAT TREND IN CRIMINAL ACTIVITY  \\\n",
       "0                               1                               (0.3, 7.3]   \n",
       "1                               0                               (0.3, 7.3]   \n",
       "2                               3                               (0.3, 7.3]   \n",
       "3                               0                               (0.3, 7.3]   \n",
       "4                               0                               (0.3, 7.3]   \n",
       "\n",
       "   PREDICTOR RAT UUW ARRESTS SEX CODE CD RACE CODE CD  \n",
       "0                          1           M          BLK  \n",
       "1                          0           M          WHI  \n",
       "2                          0           M          WHI  \n",
       "3                          1           M          BLK  \n",
       "4                          3           M          BLK  "
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "urlfile= \"https://raw.githubusercontent.com/samuel-yeom/fliptest/master/exact-ot/chicago-ssl-clean.csv\"\n",
    "\n",
    "X = pd.read_csv(urlfile)\n",
    "sensitive_attribute = \"SEX CODE CD\"\n",
    "df = clean_dataset(X,'SSL')\n",
    "df.head()"
   ]
  },
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Model training and test"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "X = df.drop('SSL SCORE', axis=1)\n",
    "y = df['SSL SCORE']\n",
    "num_features = X._get_numeric_data().columns.to_list()\n",
    "cate_features = X.select_dtypes(include=['object','category']).columns.to_list()\n",
    "\n",
    "X_train, X_test, y_train, y_test = train_test_split(X, y, train_size=0.7, random_state=131313, stratify=y)\n",
    "\n",
    "X_train = X_train.reset_index(drop=True)\n",
    "X_test = X_test.reset_index(drop=True)\n",
    "y_train = y_train.reset_index(drop=True)\n",
    "y_test = y_test.reset_index(drop=True)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "tags": []
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Wall time: 14.3 s\n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "array([1., 1., 1., 1., 1., 0., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,\n",
       "       1., 1., 1., 1., 1., 0., 1., 1., 0., 1., 1., 1., 1., 1., 1., 1., 1.,\n",
       "       1., 1., 1., 1., 1., 1., 1., 1., 1., 0., 1., 1., 1., 1., 1., 1., 1.,\n",
       "       1., 1., 1., 1., 1., 1., 1., 1., 1., 0., 1., 1., 1., 1., 1., 1., 1.,\n",
       "       1., 1., 1., 1., 1., 1., 0., 0., 1., 1., 1., 1., 1., 0., 1., 1., 1.,\n",
       "       1., 1., 1., 1., 1., 0., 1., 1., 1., 1., 1., 1., 1., 1., 1.])"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "%%time\n",
    "\n",
    "model = customLogisticRegression(max_iter = 1500)\n",
    "model.fit(X_train, y_train, cate_columns=cate_features, target_column='SSL SCORE')\n",
    "model.predict(X_test.iloc[:100, :])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "tags": []
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "              precision    recall  f1-score   support\n",
      "\n",
      "           0       0.77      0.69      0.73     11343\n",
      "           1       0.97      0.98      0.97    106179\n",
      "\n",
      "    accuracy                           0.95    117522\n",
      "   macro avg       0.87      0.84      0.85    117522\n",
      "weighted avg       0.95      0.95      0.95    117522\n",
      "\n"
     ]
    }
   ],
   "source": [
    "positive_label = 1\n",
    "negative_label = 0\n",
    "preds_Xtest = model.predict(X_test)\n",
    "print(classification_report(y_test.map({negative_label: 0, positive_label: 1}), preds_Xtest))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "tags": []
   },
   "outputs": [
    {
     "data": {
      "image/png": "[encoded data, 23124 characters]",
      "text/plain": [
       "<Figure size 640x480 with 2 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "conf_matrix = confusion_matrix(y_test, preds_Xtest)\n",
    "cm_disp = ConfusionMatrixDisplay(confusion_matrix=conf_matrix)\n",
    "cm_disp.plot()\n",
    "plt.show()"
   ]
  },
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Main Contribution"
   ]
  },
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Find all valid if-thens with all respective coverages and correctness, for all subgroups.\n",
    "\n",
    "**Caution!** This step takes time. Uncomment the following block if you wish to run."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [],
   "source": [
    "# #Uncomment if you want to find new rules with different support\n",
    "\n",
    "# ifthens_coverage_correctness = valid_ifthens_with_coverage_correctness(\n",
    "#     X_test,\n",
    "#     model=model,\n",
    "#     sensitive_attribute='RACE CODE CD',\n",
    "#     freqitem_minsupp = 0.01,\n",
    "#     missing_subgroup_val=\"Unknown\",\n",
    "#     drop_infeasible = True,\n",
    "#     drop_above = False\n",
    "# )\n",
    "\n",
    "# print(f\"Number of if-thens: {len(ifthens_coverage_correctness)}\")\n",
    "# rules_by_if = rules2rulesbyif(ifthens_coverage_correctness)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [],
   "source": [
    "from facts.utils import load_rules_by_if, save_rules_by_if\n",
    "\n",
    "## Use this for loading rules from disk\n",
    "rules_by_if = load_rules_by_if(computed_rules_file)\n",
    "\n",
    "## Use this for saving rules on disk\n",
    "#save_rules_by_if(precomputed_rules_file, rules_by_if)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {
    "tags": []
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.61%\u001b[39m covered\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.64%\u001b[39m covered\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m100.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.68%\u001b[39m covered\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.73%\u001b[39m covered\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m100.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.13%\u001b[39m covered\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.32%\u001b[39m covered\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m100.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m100.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.08%\u001b[39m covered\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.28%\u001b[39m covered\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m100.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m100.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.46%\u001b[39m covered\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.87%\u001b[39m covered\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m98.41%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.41%\u001b[39m covered\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.87%\u001b[39m covered\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m98.41%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.73%\u001b[39m covered\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.28%\u001b[39m covered\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m98.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m98.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.69%\u001b[39m covered\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.28%\u001b[39m covered\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m98.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m98.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.93%\u001b[39m covered\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m5.84%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m5.19%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m5.19%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.96%\u001b[39m covered\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m95.35%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m4.65%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m4.65%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.84%\u001b[39m covered\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m6.12%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m5.44%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m5.44%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.87%\u001b[39m covered\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m95.12%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m4.88%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m4.88%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with correctness \u001b[32m0.00%\u001b[39m.\n",
      "\n"
     ]
    }
   ],
   "source": [
    "K = 10\n",
    "\n",
    "# keep K ifs with maximum coverage on Females\n",
    "# TODO: the below is currently dataset dependent\n",
    "# rules_by_if_filtered = sorted(rules_by_if.items(), key=lambda e: e[1][\"F\"][0][1], reverse=True)[:K]\n",
    "\n",
    "# keep K ifs with maximum absolute difference in correctness between Males and Females.\n",
    "# TODO: the below is currently dataset dependent\n",
    "rules_by_if_filtered = sorted(rules_by_if.items(), key=lambda e: abs(e[1][\"WHI\"][1][0][1]-e[1][\"BLK\"][1][0][1]), reverse=True)[:K]\n",
    "\n",
    "rules_by_if_filtered = dict(rules_by_if_filtered)\n",
    "\n",
    "print(recourse_report_reverse(rules_by_if_filtered))"
   ]
  },
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Macro Viewpoint"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "num_features = X._get_numeric_data().columns.to_list()\n",
    "cate_features = X.select_dtypes(include=['object','category']).columns.to_list()\n",
    "ord_features = []\n",
    "feature_weights = {'PREDICTOR RAT AGE AT LATEST ARREST':10,\t'PREDICTOR RAT VICTIM SHOOTING INCIDENTS':1,\t\n",
    "'PREDICTOR RAT VICTIM BATTERY OR ASSAULT':1,\t'PREDICTOR RAT ARRESTS VIOLENT OFFENSES':1,\t'PREDICTOR RAT GANG AFFILIATION':1,\n",
    "'PREDICTOR RAT NARCOTIC ARRESTS':1,\t'PREDICTOR RAT TREND IN CRIMINAL ACTIVITY':1,\t'PREDICTOR RAT UUW ARRESTS':1,\t'SEX CODE CD':100,\t'RACE CODE CD':100}\n",
    "\n",
    "features_with_binary_cost = cate_features\n",
    "features_with_proportional_cost = num_features\n",
    "\n",
    "\n",
    "comparators = facts.feature_change_builder(\n",
    "    X,\n",
    "    num_cols=features_with_proportional_cost,\n",
    "    cate_cols=features_with_binary_cost,\n",
    "    ord_cols=ord_features,\n",
    "    feature_weights=feature_weights,\n",
    "    num_normalization=True,\n",
    "    #feats_to_normalize = [\"capital-gain\",\"capital-loss\"]\n",
    ")\n",
    "params = ParameterProxy(featureChanges=comparators)"
   ]
  },
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Equal Cost of Effectiveness (Macro)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {
    "tags": []
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 1\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m33.40%\u001b[39m covered out of 209747\n",
      "\t\t\u001b[31mNo recourses for this subgroup!\n",
      "\u001b[39m\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35minf\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m32.88%\u001b[39m covered out of 181990\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0\u001b[39m\u001b[0m with correctness \u001b[32m57.84%\u001b[39m.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK. Unfairness score = inf.\u001b[39m\n",
      "If \u001b[1mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 1, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m28.37%\u001b[39m covered out of 209747\n",
      "\t\t\u001b[31mNo recourses for this subgroup!\n",
      "\u001b[39m\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35minf\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m29.32%\u001b[39m covered out of 181990\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0\u001b[39m\u001b[0m with correctness \u001b[32m57.08%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m54.28%\u001b[39m.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK. Unfairness score = inf.\u001b[39m\n",
      "If \u001b[1mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m24.50%\u001b[39m covered out of 209747\n",
      "\t\t\u001b[31mNo recourses for this subgroup!\n",
      "\u001b[39m\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35minf\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m37.30%\u001b[39m covered out of 181990\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m74.82%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m62.35%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m67.24%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m69.80%\u001b[39m.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK. Unfairness score = inf.\u001b[39m\n",
      "If \u001b[1mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m20.56%\u001b[39m covered out of 209747\n",
      "\t\t\u001b[31mNo recourses for this subgroup!\n",
      "\u001b[39m\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35minf\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m31.69%\u001b[39m covered out of 181990\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m72.37%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m60.29%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m65.47%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m72.37%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m59.86%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m65.18%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m68.35%\u001b[39m.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK. Unfairness score = inf.\u001b[39m\n",
      "If \u001b[1mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3], PREDICTOR RAT UUW ARRESTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m18.95%\u001b[39m covered out of 209747\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m93.98%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m93.71%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m93.98%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m93.98%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m93.98%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m86.23%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m93.71%\u001b[39m.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.05%\u001b[39m covered out of 181990\n",
      "\t\t\u001b[31mNo recourses for this subgroup!\n",
      "\u001b[39m\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35minf\u001b[39m\n",
      "\t\u001b[35mBias against WHI. Unfairness score = inf.\u001b[39m\n",
      "If \u001b[1mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m18.95%\u001b[39m covered out of 209747\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m93.98%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m93.71%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m93.98%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m93.98%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m93.98%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m86.23%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m93.71%\u001b[39m.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.05%\u001b[39m covered out of 181990\n",
      "\t\t\u001b[31mNo recourses for this subgroup!\n",
      "\u001b[39m\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35minf\u001b[39m\n",
      "\t\u001b[35mBias against WHI. Unfairness score = inf.\u001b[39m\n",
      "If \u001b[1mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m17.98%\u001b[39m covered out of 209747\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m95.25%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m95.25%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m95.25%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m95.25%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m95.25%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m90.86%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m95.25%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m95.25%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m90.65%\u001b[39m.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.28%\u001b[39m covered out of 181990\n",
      "\t\t\u001b[31mNo recourses for this subgroup!\n",
      "\u001b[39m\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35minf\u001b[39m\n",
      "\t\u001b[35mBias against WHI. Unfairness score = inf.\u001b[39m\n",
      "If \u001b[1mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3], PREDICTOR RAT UUW ARRESTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m17.98%\u001b[39m covered out of 209747\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m95.25%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m95.25%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m95.25%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m95.25%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m95.25%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m90.86%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m95.25%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m95.25%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m90.65%\u001b[39m.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.28%\u001b[39m covered out of 181990\n",
      "\t\t\u001b[31mNo recourses for this subgroup!\n",
      "\u001b[39m\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35minf\u001b[39m\n",
      "\t\u001b[35mBias against WHI. Unfairness score = inf.\u001b[39m\n",
      "If \u001b[1mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m16.77%\u001b[39m covered out of 209747\n",
      "\t\t\u001b[31mNo recourses for this subgroup!\n",
      "\u001b[39m\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35minf\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m28.55%\u001b[39m covered out of 181990\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m77.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m63.90%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m69.65%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m77.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m63.42%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m69.33%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m72.52%\u001b[39m.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK. Unfairness score = inf.\u001b[39m\n",
      "If \u001b[1mPREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3], SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m14.86%\u001b[39m covered out of 209747\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m70.21%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m69.37%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m69.62%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m69.87%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m69.37%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m69.62%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m69.62%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m69.62%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m63.80%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m69.37%\u001b[39m.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m6.11%\u001b[39m covered out of 181990\n",
      "\t\t\u001b[31mNo recourses for this subgroup!\n",
      "\u001b[39m\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35minf\u001b[39m\n",
      "\t\u001b[35mBias against WHI. Unfairness score = inf.\u001b[39m\n",
      "\n"
     ]
    }
   ],
   "source": [
    "top_rules, subgroup_costs = facts.select_rules_subset(\n",
    "    rules_by_if,\n",
    "    metric=\"min-above-thr\",\n",
    "    sort_strategy=\"abs-diff-decr-ignore-forall-subgroups-empty\",\n",
    "    top_count=10,\n",
    "    cor_threshold=0.5,\n",
    "    filter_sequence=[\"remove-below-thr\", \"remove-fair-rules\"],\n",
    ")\n",
    "\n",
    "pop_sizes = {sg: (X[\"RACE CODE CD\"] == sg).sum() for sg in X[\"RACE CODE CD\"].unique()}\n",
    "print(recourse_report_reverse(\n",
    "    top_rules,\n",
    "    population_sizes = pop_sizes,\n",
    "    subgroup_costs=subgroup_costs,\n",
    "    show_subgroup_costs=True\n",
    "))"
   ]
  },
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Equal Choice for Recourse"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {
    "tags": []
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 1, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 1, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.07%\u001b[39m covered out of 209747\n",
      "\t\t\u001b[31mNo recourses for this subgroup!\n",
      "\u001b[39m\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.28%\u001b[39m covered out of 181990\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with correctness \u001b[32m82.14%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with correctness \u001b[32m60.71%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with correctness \u001b[32m64.29%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with correctness \u001b[32m60.71%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m82.14%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m60.71%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m64.29%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m60.71%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with correctness \u001b[32m64.29%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with correctness \u001b[32m67.86%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with correctness \u001b[32m64.29%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with correctness \u001b[32m60.71%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with correctness \u001b[32m60.71%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with correctness \u001b[32m60.71%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with correctness \u001b[32m50.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with correctness \u001b[32m60.71%\u001b[39m.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m-16.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK. Unfairness score = 16.\u001b[39m\n",
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m3.31%\u001b[39m covered out of 209747\n",
      "\t\t\u001b[31mNo recourses for this subgroup!\n",
      "\u001b[39m\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m5.47%\u001b[39m covered out of 181990\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m75.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m57.50%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m58.33%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m57.50%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m75.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m57.50%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m58.33%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m52.50%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m58.33%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m58.33%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m58.33%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m57.50%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m57.50%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m57.50%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m57.50%\u001b[39m.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m-15.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK. Unfairness score = 15.\u001b[39m\n",
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.94%\u001b[39m covered out of 209747\n",
      "\t\t\u001b[31mNo recourses for this subgroup!\n",
      "\u001b[39m\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m4.88%\u001b[39m covered out of 181990\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m76.64%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m57.01%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m57.94%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m57.01%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m76.64%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m57.01%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m57.94%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m57.01%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m57.94%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m57.94%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m57.94%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m57.01%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m57.01%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m57.01%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m57.01%\u001b[39m.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m-15.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK. Unfairness score = 15.\u001b[39m\n",
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.92%\u001b[39m covered out of 209747\n",
      "\t\t\u001b[31mNo recourses for this subgroup!\n",
      "\u001b[39m\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m4.74%\u001b[39m covered out of 181990\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m76.92%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m57.69%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m57.69%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m57.69%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m76.92%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m57.69%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m57.69%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m51.92%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m57.69%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m57.69%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m57.69%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m57.69%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m57.69%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m57.69%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m57.69%\u001b[39m.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m-15.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK. Unfairness score = 15.\u001b[39m\n",
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.82%\u001b[39m covered out of 209747\n",
      "\t\t\u001b[31mNo recourses for this subgroup!\n",
      "\u001b[39m\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m4.88%\u001b[39m covered out of 181990\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m76.64%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m57.01%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m57.94%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m57.01%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m76.64%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m57.01%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m57.94%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m57.01%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m57.94%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m57.94%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m57.94%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m57.01%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m57.01%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m57.01%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m57.01%\u001b[39m.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m-15.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK. Unfairness score = 15.\u001b[39m\n",
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.26%\u001b[39m covered out of 209747\n",
      "\t\t\u001b[31mNo recourses for this subgroup!\n",
      "\u001b[39m\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m4.20%\u001b[39m covered out of 181990\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m86.96%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m65.22%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m65.22%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m65.22%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m86.96%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m65.22%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m65.22%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m58.70%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m65.22%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m65.22%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m65.22%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m65.22%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m65.22%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m65.22%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m65.22%\u001b[39m.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m-15.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK. Unfairness score = 15.\u001b[39m\n",
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.94%\u001b[39m covered out of 209747\n",
      "\t\t\u001b[31mNo recourses for this subgroup!\n",
      "\u001b[39m\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m3.69%\u001b[39m covered out of 181990\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m88.89%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m88.89%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m-15.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK. Unfairness score = 15.\u001b[39m\n",
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.84%\u001b[39m covered out of 209747\n",
      "\t\t\u001b[31mNo recourses for this subgroup!\n",
      "\u001b[39m\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m3.69%\u001b[39m covered out of 181990\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m88.89%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m88.89%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m64.20%\u001b[39m.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m-15.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK. Unfairness score = 15.\u001b[39m\n",
      "If \u001b[1mPREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 1, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.63%\u001b[39m covered out of 209747\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with correctness \u001b[32m60.77%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with correctness \u001b[32m60.77%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with correctness \u001b[32m60.77%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with correctness \u001b[32m56.15%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m60.77%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m60.77%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m60.77%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with correctness \u001b[32m60.77%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m50.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with correctness \u001b[32m50.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with correctness \u001b[32m56.15%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with correctness \u001b[32m60.77%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with correctness \u001b[32m60.77%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with correctness \u001b[32m50.00%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with correctness \u001b[32m60.77%\u001b[39m.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m-15.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.09%\u001b[39m covered out of 181990\n",
      "\t\t\u001b[31mNo recourses for this subgroup!\n",
      "\u001b[39m\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\t\u001b[35mBias against WHI. Unfairness score = 15.\u001b[39m\n",
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 1, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.61%\u001b[39m covered out of 209747\n",
      "\t\t\u001b[31mNo recourses for this subgroup!\n",
      "\u001b[39m\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.87%\u001b[39m covered out of 181990\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m74.60%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m52.38%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m52.38%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with correctness \u001b[32m52.38%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m74.60%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m52.38%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m52.38%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with correctness \u001b[32m50.79%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m52.38%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m52.38%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with correctness \u001b[32m52.38%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m52.38%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with correctness \u001b[32m52.38%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with correctness \u001b[32m52.38%\u001b[39m.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with correctness \u001b[32m52.38%\u001b[39m.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m-15.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK. Unfairness score = 15.\u001b[39m\n",
      "\n"
     ]
    }
   ],
   "source": [
    "top_rules, subgroup_costs = facts.select_rules_subset(\n",
    "    rules_by_if,\n",
    "    metric=\"num-above-thr\",\n",
    "    sort_strategy=\"abs-diff-decr-ignore-forall-subgroups-empty\",\n",
    "    top_count=10,\n",
    "    cor_threshold=0.5,\n",
    "    filter_sequence=[\"remove-below-thr\"]\n",
    ")\n",
    "\n",
    "pop_sizes = {sg: (X[\"RACE CODE CD\"] == sg).sum() for sg in X[\"RACE CODE CD\"].unique()}\n",
    "print(recourse_report_reverse(\n",
    "    top_rules,\n",
    "    population_sizes = pop_sizes,\n",
    "    subgroup_costs=subgroup_costs,\n",
    "    show_subgroup_costs=True\n",
    "))"
   ]
  },
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Micro viewpoint"
   ]
  },
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "We start by computing the cumulative effectiveness of the actions for each subgroup and each value of the protected attribute.\n",
    "\n",
    "**Caution!** This step takes time. Uncomment the following block if you wish to run."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [],
   "source": [
    "# rules_with_cumulative = facts.cum_corr_costs_all(rules_by_if, X_test, model, sensitive_attribute=\"RACE CODE CD\", params=params)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 38,
   "metadata": {},
   "outputs": [],
   "source": [
    "## Use this for loading rules from disk\n",
    "rules_with_cumulative = load_rules_by_if(computed_rules_with_cumulative_file)\n",
    "\n",
    "## Use this for saving rules on disk\n",
    "# save_rules_by_if(computed_rules_with_cumulative_file, rules_with_cumulative)\n",
    "\n",
    "# facts.update_costs_cumulative(rules_with_cumulative, params)"
   ]
  },
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Equal (Conditional) Mean Recourse"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 39,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.67%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m99.32%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m10.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.73%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.14\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 8.857.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22620 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.46%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m98.93%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m10.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.87%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.18%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.16\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 8.836.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22580 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.13%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 110.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 110.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 111.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 111.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 111.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 111.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 111.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m10.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.32%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.11%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m98.11%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 110.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 110.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 111.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 111.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 111.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 111.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 111.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.17\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 8.83.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23468 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.73%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m98.46%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 110.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 110.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 111.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 111.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 111.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 111.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 111.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m10.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.28%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.50%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 110.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 110.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 111.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 111.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 111.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 111.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 111.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.23\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 8.775.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23472 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.96%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m84.76%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 111.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 111.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 112.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 112.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 112.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 112.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 112.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.87%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m82.76%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m82.76%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m82.76%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 111.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 111.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 112.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 112.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 112.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 112.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m98.28%\u001b[39m and counterfactual cost = 112.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m2.58\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 8.421.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 24176 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.06%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m84.43%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m99.40%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m99.40%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m99.40%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.40%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.40%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.40%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.40%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m99.40%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.40%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.40%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.40%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.40%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.40%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.40%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.40%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.40%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.40%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.01%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m82.54%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m82.54%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m82.54%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m82.54%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m96.83%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m2.61\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 8.387.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22996 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "top_rules, subgroup_costs = facts.select_rules_subset_cumulative(\n",
    "    rules_with_cumulative,\n",
    "    metric=\"fairness-of-mean-recourse-conditional\",\n",
    "    sort_strategy=\"generic-sorting-ignore-exists-subgroup-empty\",\n",
    "    top_count=10,\n",
    "    filter_sequence = [\n",
    "        \"remove-contained\",\n",
    "        # \"remove-fair-rules\"\n",
    "    ],\n",
    "    params=params\n",
    ")\n",
    "\n",
    "pop_sizes = {sg: ((X_test[\"RACE CODE CD\"] == sg) & (preds_Xtest == 0)).sum() for sg in X_test[\"RACE CODE CD\"].unique()}\n",
    "print_recourse_report_cumulative(\n",
    "    top_rules,\n",
    "    population_sizes=pop_sizes,\n",
    "    subgroup_costs=subgroup_costs,\n",
    "    show_subgroup_costs=True,\n",
    "    show_then_costs=True,\n",
    "    show_cumulative_plots=True,\n",
    "    correctness_metric=False\n",
    ")"
   ]
  },
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Equal Effectiveness"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 40,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.68%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.73%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.98\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.984.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23860 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.46%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.87%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.21%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.21%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.21%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.21%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.21%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.21%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.98\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.982.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23888 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.13%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 100.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.32%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.11%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.11%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.11%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.11%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.11%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.11%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.11%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m98.11%\u001b[39m and counterfactual cost = 100.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m98.11%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m98.11%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m98.11%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.98\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.981.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22948 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.73%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 100.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.28%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.56%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.56%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.56%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.56%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.56%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.56%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m97.56%\u001b[39m and counterfactual cost = 100.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m97.56%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m97.56%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m97.56%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.98\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.976.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22892 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.93%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m3.01%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m4.82%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m4.82%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m4.82%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m4.82%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m4.82%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.05\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.96%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m5.80%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.65%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.65%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.65%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.65%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.65%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.96\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.908.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22612 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m17.98%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.35%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.35%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.35%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.35%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.35%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.35%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.35%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.35%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.35%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.35%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.96\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.28%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m6.25%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m6.25%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m6.25%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m6.25%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m6.25%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m6.25%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m6.25%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.06\u001b[39m\n",
      "\t\u001b[35mBias against WHI due to Equal Effectiveness. Unfairness score = 0.901.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 24132 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.44%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 100.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.73%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m89.66%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m89.66%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m89.66%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m89.66%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m89.66%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m89.66%\u001b[39m and counterfactual cost = 100.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m89.66%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m89.66%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m89.66%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.90\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.897.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22260 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.37%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m3.23%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m5.65%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m5.65%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m5.65%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m5.65%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m5.65%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m5.65%\u001b[39m and counterfactual cost = 100.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m5.65%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m5.65%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m5.65%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m5.65%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.06\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.55%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m6.78%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m94.92%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m94.92%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m94.92%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m94.92%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m94.92%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m94.92%\u001b[39m and counterfactual cost = 100.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m94.92%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m94.92%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m94.92%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m94.92%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.95\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.893.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22732 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.02%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.19%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.57%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.57%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.57%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.57%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.57%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.57%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.89\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.886.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23272 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.01%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 102.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 102.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 102.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.87%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m81.36%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.36%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.36%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.36%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m81.36%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.36%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.36%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.36%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.36%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.36%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m81.36%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m81.36%\u001b[39m and counterfactual cost = 102.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m81.36%\u001b[39m and counterfactual cost = 102.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m81.36%\u001b[39m and counterfactual cost = 102.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.81\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.814.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 25044 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.11%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.01%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m81.25%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.25%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.25%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.25%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m81.25%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.25%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.25%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.25%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.25%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.25%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.81\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.812.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 26036 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 1, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.07%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.60%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.78\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.783.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 25916 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 1, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.07%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 102.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 103.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 103.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 103.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.60%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 102.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 103.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 103.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 103.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.78\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.783.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 24980 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m4.11%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m10.34%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m10.34%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m10.34%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m10.34%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m10.34%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m10.34%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m10.34%\u001b[39m and counterfactual cost = 100.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m10.34%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m10.34%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m10.34%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m10.34%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.10\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m3.97%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m20.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m21.67%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.33%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.33%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.33%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.33%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.33%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m88.33%\u001b[39m and counterfactual cost = 100.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m88.33%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m88.33%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m88.33%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m88.33%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.88\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.78.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22660 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.92%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m3.78%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m77.14%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m77.14%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m77.14%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m77.14%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m77.14%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m77.14%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.77\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.771.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 25928 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.86%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m3.36%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m8.82%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.09\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.83%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m6.17%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m85.19%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.85\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.764.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22028 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.26%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m2.62%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m9.42%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m9.42%\u001b[39m and counterfactual cost = 100.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m9.42%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m9.42%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m9.42%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m9.42%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.09\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.37%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m7.25%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m85.51%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m85.51%\u001b[39m and counterfactual cost = 100.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m85.51%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m85.51%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m85.51%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m, \u001b[31mSEX CODE CD = F\u001b[39m\u001b[0m with effectiveness \u001b[32m85.51%\u001b[39m and counterfactual cost = 101.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.86\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.761.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22796 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "top_rules, subgroup_costs = facts.select_rules_subset_cumulative(\n",
    "    rules_with_cumulative,\n",
    "    metric=\"total-correctness\",\n",
    "    sort_strategy=\"generic-sorting-ignore-forall-subgroups-empty\",\n",
    "    top_count=50,\n",
    "    filter_sequence = [\n",
    "        \"remove-contained\",\n",
    "        # \"remove-fair-rules\",\n",
    "        # \"keep-only-min-change\"\n",
    "    ],\n",
    "    params=params\n",
    ")\n",
    "\n",
    "pop_sizes = {sg: ((X_test[\"RACE CODE CD\"] == sg) & (preds_Xtest == 0)).sum() for sg in X_test[\"RACE CODE CD\"].unique()}\n",
    "print_recourse_report_cumulative(\n",
    "    top_rules,\n",
    "    population_sizes=pop_sizes,\n",
    "    subgroup_costs=subgroup_costs,\n",
    "    show_subgroup_costs=True,\n",
    "    show_then_costs=True,\n",
    "    show_cumulative_plots=True,\n",
    "    correctness_metric= True\n",
    ")"
   ]
  },
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Equal Cost of Effectiveness (micro)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 41,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 1\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m9.26%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m23.75%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m73.61%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m9.35%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m43.72%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 20324 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 20-30, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 1\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m7.68%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m25.37%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m86.02%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m5.56%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m48.18%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 21132 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 20-30, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 1, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m7.26%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m24.66%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m86.15%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m5.29%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m48.46%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 21160 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 1, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m7.24%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m15.80%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m67.88%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m8.57%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m39.77%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 21144 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 1, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m3.99%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m22.70%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m22.70%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m76.64%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m5.02%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m47.52%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 21172 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 1, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m3.95%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m28.71%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m92.74%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m5.88%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m58.47%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 21960 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 1\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m3.68%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m29.55%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m29.55%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m29.55%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m29.55%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m77.32%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m3.51%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m47.50%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 20672 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 1, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.85%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m17.30%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m17.30%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m17.30%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m73.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m3.28%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m42.03%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 21428 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT NARCOTIC ARRESTS = 1, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1], SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.78%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m30.14%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.41%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m8.33%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m83.33%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\t\u001b[35mBias against WHI due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 21152 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 1\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.43%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m22.94%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m64.71%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.19%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m40.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 19760 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.15%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m80.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.42%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m68.57%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23504 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.06%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m84.43%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.01%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m82.54%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 21140 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 1, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.96%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m21.13%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m62.68%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.05%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m41.67%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 20360 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT NARCOTIC ARRESTS = 1, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 1\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.72%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m16.99%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m19.61%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m69.28%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.01%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m39.02%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 21480 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT NARCOTIC ARRESTS = 1, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 1, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.59%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m12.86%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m14.29%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m67.14%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.96%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m35.90%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 20704 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 1\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.59%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m37.84%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.41%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m29.63%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m29.63%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m29.63%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m29.63%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m88.89%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\t\u001b[35mBias against WHI due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22412 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 1, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.32%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m24.21%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m24.21%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m24.21%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m77.89%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.82%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m48.65%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 21472 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 20-30, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT UUW ARRESTS = 1\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.32%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m41.09%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.14%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m24.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m24.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m24.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m24.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m24.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m24.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m76.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\t\u001b[35mBias against WHI due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 20836 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 20-30, PREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1], PREDICTOR RAT UUW ARRESTS = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.29%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m14.41%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m27.93%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m27.93%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m27.93%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m27.93%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m29.73%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m84.68%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.37%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m25.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m35.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23064 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 1\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.28%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m37.35%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.05%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m25.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m25.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m25.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m25.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m83.33%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\t\u001b[35mBias against WHI due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 21548 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 20-30, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT UUW ARRESTS = 1, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.28%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m41.73%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.14%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m24.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m24.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m24.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m24.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m24.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m24.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT UUW ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m76.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\t\u001b[35mBias against WHI due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 20820 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2], SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.15%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m44.09%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.55%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m39.13%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 20412 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 1, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.09%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m36.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.05%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m26.09%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m26.09%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m26.09%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m82.61%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m11.00\u001b[39m\n",
      "\t\u001b[35mBias against WHI due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 21612 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 2\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.05%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m15.12%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m44.19%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m12.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.00%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m50.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m2.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 24740 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 1, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.04%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m85.19%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m12.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.60%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m2.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 10.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 21396 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m14.19%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m7.73%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m71.44%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m10.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m28.86%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m50.66%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 9.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 21756 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT NARCOTIC ARRESTS = 1, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m12.63%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m2.60%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m68.95%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m10.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m25.63%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m47.45%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m1.00\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 9.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22372 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "top_rules, subgroup_costs = facts.select_rules_subset_cumulative(\n",
    "    rules_with_cumulative,\n",
    "    metric=\"min-above-corr\",\n",
    "    sort_strategy=\"generic-sorting-ignore-exists-subgroup-empty\",\n",
    "    top_count=50,\n",
    "    filter_sequence = [\n",
    "        \"remove-contained\",\n",
    "        \"remove-fair-rules\",\n",
    "        \"keep-cheap-rules-above-thr-cor\",\n",
    "        # \"keep-only-min-change\",\n",
    "        \n",
    "    ],\n",
    "    cor_threshold = 0.3,\n",
    "    params=params\n",
    ")\n",
    "\n",
    "pop_sizes = {sg: ((X_test[\"RACE CODE CD\"] == sg) & (preds_Xtest == 0)).sum() for sg in X_test[\"RACE CODE CD\"].unique()}\n",
    "print_recourse_report_cumulative(\n",
    "    top_rules,\n",
    "    population_sizes=pop_sizes,\n",
    "    subgroup_costs=subgroup_costs,\n",
    "    show_subgroup_costs=True,\n",
    "    show_then_costs=True,\n",
    "    show_cumulative_plots=True,\n",
    "    correctness_metric=False\n",
    ")"
   ]
  },
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Equal Effectiveness Within Budget"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 42,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.68%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.73%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.41%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.98\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.984.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23860 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.46%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.87%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.21%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.21%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.21%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.21%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.21%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.21%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.98\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.982.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23888 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.13%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.32%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.11%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.11%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.11%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.11%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.11%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.11%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.11%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.98\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.981.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23912 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.73%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.28%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.56%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.56%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.56%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.56%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.56%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.56%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.98\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.976.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23868 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.93%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m3.01%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m4.82%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m4.82%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m4.82%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m4.82%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m4.82%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.05\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.96%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m5.80%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.65%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.65%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.65%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.65%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.65%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.96\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.908.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22612 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m17.98%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.35%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.35%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.35%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.35%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.35%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.35%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.35%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.35%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.35%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.35%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.96\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.28%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m6.25%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m6.25%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m6.25%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m6.25%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m6.25%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m6.25%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m6.25%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.06\u001b[39m\n",
      "\t\u001b[35mBias against WHI due to Equal Effectiveness. Unfairness score = 0.901.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 24132 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.44%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.73%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m89.66%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m89.66%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m89.66%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m89.66%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m89.66%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.90\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.897.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23328 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.37%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m3.23%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m5.65%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m5.65%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m5.65%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m5.65%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m5.65%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.06\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.55%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m6.78%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m94.92%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m94.92%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m94.92%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m94.92%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m94.92%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.95\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.893.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22012 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.02%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.19%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.57%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.57%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.57%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.57%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.57%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.57%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.89\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.886.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23272 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.96%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.87%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m82.76%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m82.76%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m82.76%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.83\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.828.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 21168 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.06%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.01%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m82.54%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m82.54%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m82.54%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m82.54%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.83\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.825.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 21172 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.01%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.87%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m81.36%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.36%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.36%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.36%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m81.36%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.36%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.36%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.36%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.36%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.36%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.81\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.814.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 26032 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.11%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.01%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m81.25%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.25%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.25%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.25%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m81.25%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.25%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.25%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.25%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.25%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.25%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.81\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.812.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 26036 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 1, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.07%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.60%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.78\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.783.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 25916 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 1, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.07%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.60%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.78\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.783.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 25916 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 1, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.04%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.60%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.78\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.783.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23764 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT GANG AFFILIATION = 1, PREDICTOR RAT NARCOTIC ARRESTS = 1, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m1.04%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m1.60%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 0\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 0\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.78\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.783.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23788 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m4.11%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m10.34%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m10.34%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m10.34%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m10.34%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m10.34%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m10.34%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.10\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m3.97%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m20.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m21.67%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.33%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.33%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.33%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.33%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.33%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.88\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.78.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22152 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.92%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.00\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m3.78%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m77.14%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m77.14%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m77.14%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m77.14%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m77.14%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m77.14%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.77\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.771.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 25928 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.86%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m3.36%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m8.82%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.09\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.83%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m6.17%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m85.19%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.85\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.764.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22028 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, SEX CODE CD = M\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m2.26%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m2.62%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m9.42%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.09\u001b[39m\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m2.37%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m7.25%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m85.51%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\t\u001b[1mAggregate cost\u001b[0m of the above recourses = \u001b[35m0.86\u001b[39m\n",
      "\t\u001b[35mBias against BLK due to Equal Effectiveness. Unfairness score = 0.761.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 21948 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "top_rules, subgroup_costs = facts.select_rules_subset_cumulative(\n",
    "    rules_with_cumulative,\n",
    "    metric=\"max-upto-cost\",\n",
    "    sort_strategy=\"generic-sorting-ignore-exists-subgroup-empty\",\n",
    "    top_count=50,\n",
    "    filter_sequence = [\n",
    "        \"remove-contained\",\n",
    "        \"remove-fair-rules\",\n",
    "        \"remove-above-thr-cost\"\n",
    "        #\"remove-below-thr\",\n",
    "        #\"keep-only-min-change\",\n",
    "        \n",
    "    ],\n",
    "    cost_threshold = 10,\n",
    "    params=params\n",
    ")\n",
    "\n",
    "pop_sizes = {sg: ((X_test[\"RACE CODE CD\"] == sg) & (preds_Xtest == 0)).sum() for sg in X_test[\"RACE CODE CD\"].unique()}\n",
    "print_recourse_report_cumulative(\n",
    "    top_rules,\n",
    "    population_sizes=pop_sizes,\n",
    "    subgroup_costs=subgroup_costs,\n",
    "    show_subgroup_costs=True,\n",
    "    show_then_costs=True,\n",
    "    show_cumulative_plots=True,\n",
    "    correctness_metric = True\n",
    ")"
   ]
  },
  {
   "attachments": {},
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Fair Effectiveness-Cost Trade-Off"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 43,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m6.46%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.83%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.83%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.83%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m94.02%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m99.44%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.44%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.44%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.44%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.44%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.44%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.63%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.81%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.81%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.81%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m15.41%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.64%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.64%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.64%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.64%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m97.64%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 13.94.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23068 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m6.46%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.83%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.83%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.83%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m94.02%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m99.44%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.44%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.44%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.44%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.44%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.44%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.63%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.81%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.81%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.81%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m15.41%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.64%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.64%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.64%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.64%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m97.64%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 13.94.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23068 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m6.02%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 3.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m14.82%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 13.91.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23912 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m6.02%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 3.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m14.82%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 13.91.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23756 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m6.02%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m14.82%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 13.91.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22276 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m6.02%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.80%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m14.82%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 13.91.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22276 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m6.27%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.54%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.54%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.54%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m96.54%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m99.81%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.81%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.81%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.81%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.81%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.81%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.81%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m15.28%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.22%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.22%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.22%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.22%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m98.22%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 13.9.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22840 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m6.27%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.54%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.54%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.54%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m96.54%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m99.81%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.81%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.81%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.81%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.81%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.81%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.81%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m15.28%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.22%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.22%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.22%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.22%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m98.22%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 13.9.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22840 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m6.00%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m14.82%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 13.9.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23880 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m6.00%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m14.82%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 13.9.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22240 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m6.00%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m14.82%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 13.9.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22240 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m6.00%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m14.82%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 13.9.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23736 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m6.99%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m94.47%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.43%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.43%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.43%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.43%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.43%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.43%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.43%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.43%\u001b[39m and counterfactual cost = 3.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m16.42%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.44%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.54%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.54%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.54%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.54%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.54%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.54%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.54%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.54%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.54%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 13.81.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 24344 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m6.99%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m94.47%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.43%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.43%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.43%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.43%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.43%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.43%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.43%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.43%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.43%\u001b[39m and counterfactual cost = 3.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m16.42%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.44%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.54%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.54%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.54%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.54%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.54%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.54%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.54%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.54%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.54%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.54%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 13.81.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 24420 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m7.64%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.33%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m90.17%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m90.17%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m90.17%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m90.17%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m90.17%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m90.17%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m90.17%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m90.17%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m90.17%\u001b[39m and counterfactual cost = 3.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m16.87%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m90.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.95%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.95%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.95%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.95%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.95%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.95%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.95%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.95%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.95%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.95%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 13.65.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 24032 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m7.64%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.33%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m90.17%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m90.17%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m90.17%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m90.17%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m90.17%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m90.17%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m90.17%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m90.17%\u001b[39m and counterfactual cost = 3.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m16.87%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m90.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.95%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.95%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.95%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.95%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.95%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.95%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.95%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.95%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.95%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 13.65.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23936 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m5.98%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.53%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.53%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.53%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.53%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.53%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.53%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.53%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.53%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.53%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.53%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.53%\u001b[39m and counterfactual cost = 3.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m13.59%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.62%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.62%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.62%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.62%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.62%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.62%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.62%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.62%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.62%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.62%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.62%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.62%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 13.21.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23832 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m5.98%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.53%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.53%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.53%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.53%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.53%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.53%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.53%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.53%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.53%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.53%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.53%\u001b[39m and counterfactual cost = 3.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m13.59%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.62%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.62%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.62%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.62%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.62%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.62%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.62%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.62%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.62%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.62%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.62%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.62%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 13.21.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23832 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m6.22%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.48%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.48%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.48%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.48%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.48%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.48%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.48%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.48%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.48%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.48%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.48%\u001b[39m and counterfactual cost = 3.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m13.68%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.35%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.35%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.35%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.35%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.35%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.35%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.35%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.35%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.35%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.35%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.35%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.35%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 13.03.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23892 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m6.22%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.48%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.48%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.48%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.48%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.48%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.48%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.48%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.48%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.48%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.48%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m93.48%\u001b[39m and counterfactual cost = 3.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m13.68%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.35%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.35%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.35%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.35%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.35%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.35%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.35%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.35%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.35%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.35%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.35%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.35%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 13.03.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23892 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m11.08%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.11%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m62.21%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m63.47%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m63.47%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m63.47%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m63.47%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m63.47%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m63.47%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m63.47%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m63.47%\u001b[39m and counterfactual cost = 3.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m20.38%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m75.59%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.80%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.80%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.80%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m87.15%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m87.15%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m87.15%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m87.15%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m87.15%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m87.15%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 13.0.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 24428 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m9.85%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.12%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m64.75%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m64.75%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m64.75%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m64.75%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m64.75%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m64.75%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m64.75%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m64.75%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m64.75%\u001b[39m and counterfactual cost = 3.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m18.56%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m79.49%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m79.49%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m79.49%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m79.49%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.58%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.58%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.58%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.58%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.58%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.58%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.99.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23864 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m9.72%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.13%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m65.20%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m65.20%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m65.20%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m65.20%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m65.20%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m65.20%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m65.20%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m65.20%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m65.20%\u001b[39m and counterfactual cost = 3.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m18.51%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m79.49%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m79.49%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m79.49%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m79.49%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.58%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.58%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.58%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.58%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.58%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.58%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.95.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23884 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m10.34%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m59.41%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m59.41%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m59.41%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m80.36%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m95.15%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.15%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.15%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.15%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.15%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.15%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.28%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.46%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.46%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.82%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.41%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.41%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.41%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.41%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.41%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.41%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.41%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.64%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.64%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.64%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.64%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m19.06%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m77.16%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m77.16%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m77.16%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m86.01%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m92.54%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m99.07%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.07%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.07%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.07%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.07%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.07%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.77%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.77%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.77%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.85.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 24172 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m5.56%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.09%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.09%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.09%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m95.09%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.09%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.08%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.08%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.08%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.57%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.79%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.79%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.79%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m12.90%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.81%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.81%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.81%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.81%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m97.81%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.64%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.64%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.64%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.64%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.85.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22916 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3]\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m5.56%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.09%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.09%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.09%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m95.09%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.09%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.08%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.08%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.08%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.57%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.79%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.79%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.79%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m12.90%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.81%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.81%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.81%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.81%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m97.81%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.64%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.64%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.64%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.64%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.85.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22916 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m5.24%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m12.45%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.84.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22068 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m5.24%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m12.45%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.84.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22068 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m5.24%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m12.45%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.84.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23644 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m5.24%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m12.45%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.84.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22068 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m5.24%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m12.45%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.84.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23644 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m5.24%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m12.45%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.84.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23736 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m5.24%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m12.45%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.84.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22068 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m5.24%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m12.45%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.84.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23736 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m12.07%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.11%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m57.90%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m59.07%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m59.07%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m59.07%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m59.07%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m59.07%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m59.07%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m59.07%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m59.07%\u001b[39m and counterfactual cost = 3.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m21.07%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m72.78%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m75.88%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m75.88%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m75.88%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m83.92%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m83.92%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m83.92%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m83.92%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m83.92%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 2\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m83.92%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.84.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 24496 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m9.92%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m62.21%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m62.21%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m62.21%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m84.01%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m97.40%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.40%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.40%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.40%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.40%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.40%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.13%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.26%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.26%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.50%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.75%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.75%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.75%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.75%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.75%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.75%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.75%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.75%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.75%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.75%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.75%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m18.74%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.07%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.07%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m78.07%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m87.03%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m93.63%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m99.76%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.76%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.76%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.76%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.76%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.76%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.84.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23908 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m5.46%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.74%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.74%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.74%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m96.74%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.74%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m12.86%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.17%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.17%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.17%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.17%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m98.17%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.83.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22740 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT ARRESTS VIOLENT OFFENSES = 0, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m5.46%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.74%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.74%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.74%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m96.74%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.74%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m12.86%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.17%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.17%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.17%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.17%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m98.17%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.83.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 22740 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m9.47%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m64.36%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m64.36%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m64.36%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m87.05%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m98.21%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.21%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.21%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.21%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.21%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.21%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.62%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.62%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.62%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.87%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m18.19%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m79.38%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m79.38%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m79.38%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.49%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m95.20%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m99.76%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.76%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.76%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.76%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.76%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.76%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.82.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23720 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m9.40%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m64.86%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m64.86%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m64.86%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m87.60%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m98.19%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.19%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.19%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.19%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.19%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.19%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.61%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.61%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.61%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.87%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m18.15%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m79.38%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m79.38%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m79.38%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m88.49%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m95.20%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m99.76%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.76%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.76%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.76%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.76%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.76%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.8.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23748 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m8.74%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.14%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m68.07%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m68.07%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m68.07%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m68.07%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m68.07%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m68.07%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m68.07%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m68.07%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m68.07%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m68.07%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m68.07%\u001b[39m and counterfactual cost = 3.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m15.96%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m83.43%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m83.43%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m83.43%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m83.43%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m94.57%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m94.57%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m94.57%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m94.57%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m94.57%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m94.57%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m94.57%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m94.57%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.71.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23800 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m9.07%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.14%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m65.94%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m65.94%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m65.94%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m65.94%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m65.94%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m65.94%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m65.94%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m65.94%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m65.94%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m65.94%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m65.94%\u001b[39m and counterfactual cost = 3.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m16.10%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.79%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.79%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.79%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m81.79%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m92.72%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m92.72%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m92.72%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m92.72%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m92.72%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m92.72%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m92.72%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m92.72%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.58.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23744 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m7.83%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.15%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.05%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.05%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.05%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.05%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.05%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.05%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.05%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.05%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.05%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.05%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.05%\u001b[39m and counterfactual cost = 3.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m14.64%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m84.78%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m84.78%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m84.78%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m84.78%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.89%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.89%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.89%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.89%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.89%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.89%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.89%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.89%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.32.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 24268 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m10.34%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m58.17%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m58.17%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m58.17%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m78.68%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m96.99%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.99%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.99%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.99%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.99%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.99%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.26%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.26%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.38%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.84%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.65%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.65%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.77%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.77%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.77%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.88%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.88%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.88%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.88%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.88%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.88%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m18.92%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m74.05%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m74.05%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m74.05%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m82.55%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m90.16%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m98.43%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.43%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.43%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.43%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.43%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.43%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.88%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.88%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.33%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.33%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.3.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23864 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m10.25%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m58.71%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m58.71%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m58.71%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m79.30%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m96.96%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.96%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.96%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.96%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.96%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.96%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.25%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.25%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.36%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.83%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.65%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.65%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.77%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.77%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.77%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.88%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.88%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.88%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.88%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.88%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.88%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m18.88%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m74.22%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m74.22%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m74.22%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m82.74%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m90.36%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m\u001b[0m with effectiveness \u001b[32m98.65%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.65%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.65%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.65%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.65%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m98.65%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.10%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.10%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.55%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.55%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.78%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.3.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23900 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m7.80%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.15%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.26%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.26%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.26%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.26%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.26%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.26%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.26%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.26%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.26%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.26%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.26%\u001b[39m and counterfactual cost = 3.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m14.59%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m84.78%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m84.78%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m84.78%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.3, -0.2]\u001b[39m\u001b[0m with effectiveness \u001b[32m84.78%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.89%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.89%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.89%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.89%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.89%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.89%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.89%\u001b[39m and counterfactual cost = 2.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.89%\u001b[39m and counterfactual cost = 3.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.3.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 24264 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m8.09%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m66.22%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m66.22%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m66.22%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m85.86%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m86.16%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m94.35%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m94.35%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m94.35%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.11%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.26%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.26%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.70%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m15.00%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m83.23%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m83.23%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m83.23%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.03%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m95.03%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.07%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.07%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.07%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.38%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.29.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23696 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m7.59%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m69.97%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m69.97%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m69.97%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m90.72%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m91.04%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.48%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.48%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.48%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.69%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.69%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.69%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m14.41%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m85.08%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m85.08%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m85.08%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.14%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m97.14%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.68%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.68%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.68%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.26.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23512 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m7.93%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m67.63%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m67.63%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m67.63%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m87.69%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m87.69%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.05%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.05%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m96.05%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.39%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.54%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.54%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.85%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m14.91%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m83.49%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m83.49%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m83.49%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m95.33%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m95.33%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.38%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.38%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.38%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.69%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT GANG AFFILIATION = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.26.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23608 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "If \u001b[1mPREDICTOR RAT AGE AT LATEST ARREST = 10-20, PREDICTOR RAT GANG AFFILIATION = 0, PREDICTOR RAT NARCOTIC ARRESTS = 0, PREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.3, 7.3], PREDICTOR RAT UUW ARRESTS = 0, PREDICTOR RAT VICTIM BATTERY OR ASSAULT = 0, PREDICTOR RAT VICTIM SHOOTING INCIDENTS = 0\u001b[0m:\n",
      "\tProtected Subgroup '\u001b[1mBLK\u001b[0m', \u001b[34m7.58%\u001b[39m covered out of 7854\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m0.00%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.19%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.19%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m70.19%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m91.01%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m91.01%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.48%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.48%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.48%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.68%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.68%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.68%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\tProtected Subgroup '\u001b[1mWHI\u001b[0m', \u001b[34m14.36%\u001b[39m covered out of 2210\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m85.08%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m85.08%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m85.08%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m97.14%\u001b[39m and counterfactual cost = 1.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m\u001b[0m with effectiveness \u001b[32m97.14%\u001b[39m and counterfactual cost = 10.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.68%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.68%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m99.68%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 30-40\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 40-50\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.1, 0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-0.2, -0.1]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 50-60\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (0.1, 0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 11.0.\n",
      "\t\tMake \u001b[1m\u001b[31mPREDICTOR RAT AGE AT LATEST ARREST = 20-30\u001b[39m, \u001b[31mPREDICTOR RAT NARCOTIC ARRESTS = 1\u001b[39m, \u001b[31mPREDICTOR RAT TREND IN CRIMINAL ACTIVITY = (-8.200999999999999, -0.3]\u001b[39m\u001b[0m with effectiveness \u001b[32m100.00%\u001b[39m and counterfactual cost = 12.0.\n",
      "\t\u001b[35m Unfairness based on the Fair Effectiveness-Cost Trade-Off = 12.24.\u001b[39m\n",
      "\t\u001b[36mCumulative effectiveness plot for the above recourses:\u001b[39m\n"
     ]
    },
    {
     "data": {
      "image/png": "[encoded data, 23504 characters]",
      "text/plain": [
       "<Figure size 640x480 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "affected_pop_sizes = {sg: ((X_test[\"RACE CODE CD\"] == sg) & (preds_Xtest == 0)).sum() for sg in X_test[\"RACE CODE CD\"].unique()}\n",
    "\n",
    "top_rules,unfairness = facts.select_rules_subset_KStest(\n",
    "    rules_with_cumulative,\n",
    "    affected_pop_sizes,\n",
    "    top_count=50\n",
    ")\n",
    "\n",
    "print_recourse_report_KStest_cumulative(\n",
    "    top_rules,\n",
    "    population_sizes=pop_sizes,\n",
    "    unfairness = unfairness,\n",
    "    show_then_costs=True,\n",
    "    show_cumulative_plots=True\n",
    ")"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.2"
  },
  "vscode": {
   "interpreter": {
    "hash": "362842c44ed7d38e9c92d488ead4445e1c745f35479a5810177dacafb6456c39"
   }
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
