Commit 39e40062 authored by Joaquin Torres's avatar Joaquin Torres

Paths updated

parent 5845473a
...@@ -277,7 +277,7 @@ ...@@ -277,7 +277,7 @@
" textcoords = 'offset points')\n", " textcoords = 'offset points')\n",
"\n", "\n",
"plt.tight_layout()\n", "plt.tight_layout()\n",
"plt.savefig('./output/plots/distributions/countplots.svg', dpi=600, bbox_inches='tight')" "plt.savefig('./results/plots/distributions/countplots.svg', dpi=600, bbox_inches='tight')"
] ]
}, },
{ {
...@@ -368,7 +368,7 @@ ...@@ -368,7 +368,7 @@
" axs[i, 1].tick_params(axis='x', rotation=90)\n", " axs[i, 1].tick_params(axis='x', rotation=90)\n",
"\n", "\n",
"plt.tight_layout()\n", "plt.tight_layout()\n",
"plt.savefig('./output/plots/distributions/norm_countplots.svg', dpi=600, bbox_inches='tight')" "plt.savefig('./results/plots/distributions/norm_countplots.svg', dpi=600, bbox_inches='tight')"
] ]
}, },
{ {
...@@ -420,7 +420,7 @@ ...@@ -420,7 +420,7 @@
" )\n", " )\n",
"\n", "\n",
"plt.tight_layout()\n", "plt.tight_layout()\n",
"plt.savefig('./output/plots/distributions/boxplots.svg', dpi=600, bbox_inches='tight')" "plt.savefig('./results/plots/distributions/boxplots.svg', dpi=600, bbox_inches='tight')"
] ]
}, },
{ {
...@@ -457,7 +457,7 @@ ...@@ -457,7 +457,7 @@
" axs[i, 2].set_title(f\"\\nDistr. of {num_att} - POST\")\n", " axs[i, 2].set_title(f\"\\nDistr. of {num_att} - POST\")\n",
"\n", "\n",
"plt.tight_layout()\n", "plt.tight_layout()\n",
"plt.savefig('./output/plots/distributions/histograms.svg', dpi=600, bbox_inches='tight')" "plt.savefig('./results/plots/distributions/histograms.svg', dpi=600, bbox_inches='tight')"
] ]
}, },
{ {
...@@ -750,9 +750,9 @@ ...@@ -750,9 +750,9 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"# Export feature names\n", "# Export feature names\n",
"np.save('./output/feature_names/all_features.npy', corr_cols)\n", "np.save('./results/feature_names/all_features.npy', corr_cols)\n",
"np.save('./output/feature_names/social_factors.npy', soc_vars_enc)\n", "np.save('./results/feature_names/social_factors.npy', soc_vars_enc)\n",
"np.save('./output/feature_names/individual_factors.npy', ind_vars_enc)" "np.save('./results/feature_names/individual_factors.npy', ind_vars_enc)"
] ]
}, },
{ {
...@@ -960,7 +960,7 @@ ...@@ -960,7 +960,7 @@
" \n", " \n",
"plt.tight_layout()\n", "plt.tight_layout()\n",
"\n", "\n",
"plt.savefig('./output/plots/correlations/heatmaps_one_hot.svg', dpi=550, bbox_inches='tight')" "plt.savefig('./results/plots/correlations/heatmaps_one_hot.svg', dpi=550, bbox_inches='tight')"
] ]
}, },
{ {
...@@ -1111,8 +1111,8 @@ ...@@ -1111,8 +1111,8 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"# Export datasets\n", "# Export datasets\n",
"conj_pre.to_csv('./output/datasets/pre_dataset.csv', index=False)\n", "conj_pre.to_csv('./results/datasets/pre_dataset.csv', index=False)\n",
"conj_post.to_csv('./output/datasets/post_dataset.csv', index=False)" "conj_post.to_csv('./results/datasets/post_dataset.csv', index=False)"
] ]
}, },
{ {
...@@ -1155,7 +1155,7 @@ ...@@ -1155,7 +1155,7 @@
"axes[1].set_title(\"POST\")\n", "axes[1].set_title(\"POST\")\n",
"\n", "\n",
"plt.tight_layout()\n", "plt.tight_layout()\n",
"plt.savefig('./output/plots/feature_importance/mutual_info.svg', format='svg', dpi=1200)\n", "plt.savefig('./results/plots/feature_importance/mutual_info.svg', format='svg', dpi=1200)\n",
"plt.show()" "plt.show()"
] ]
}, },
...@@ -1194,7 +1194,7 @@ ...@@ -1194,7 +1194,7 @@
"axes[1].set_title(\"POST\")\n", "axes[1].set_title(\"POST\")\n",
"\n", "\n",
"plt.tight_layout()\n", "plt.tight_layout()\n",
"plt.savefig('./output/plots/feature_importance/ANOVA.svg', format='svg', dpi=1200)\n", "plt.savefig('./results/plots/feature_importance/ANOVA.svg', format='svg', dpi=1200)\n",
"plt.show()" "plt.show()"
] ]
}, },
...@@ -1233,7 +1233,7 @@ ...@@ -1233,7 +1233,7 @@
"axes[1].set_title(\"POST\")\n", "axes[1].set_title(\"POST\")\n",
"\n", "\n",
"plt.tight_layout()\n", "plt.tight_layout()\n",
"plt.savefig('./output/plots/feature_importance/var_threshold.svg', format='svg', dpi=1200)\n", "plt.savefig('./results/plots/feature_importance/var_threshold.svg', format='svg', dpi=1200)\n",
"plt.show()" "plt.show()"
] ]
} }
......
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