Commit b25e8989 authored by Noric Couderc's avatar Noric Couderc
Browse files

Save netbook before experiment

I want to try normalizing the heatmaps by the number of method calls.
parent 31727f2f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -817,7 +817,7 @@
    "# Single value\n",
    "features = data[\"data\"].iloc[0].get(data[\"software_selected_columns\"])\n",
    "features_bool = ((features > 0) * 1).to_frame()\n",
    "product = features_bool.dot(features_bool.transpose()) # Eh bah putain, ca m'a pris rois plombes!\n",
    "product = features_bool.dot(features_bool.transpose()) # Eh bah putain, ca m'a pris trois plombes!\n",
    "fig = plt.figure(figsize=(10,10))\n",
    "sns.heatmap(product)\n",
    "fig.savefig(\"heatmap_example.pdf\")"