Commit b25e8989 authored by Noric Couderc's avatar Noric Couderc

Save netbook before experiment

I want to try normalizing the heatmaps by the number of method calls.
parent 31727f2f
......@@ -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\")"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment