diff --git a/EDA/EDA.ipynb b/EDA/EDA.ipynb index 89734793969ce3b73cd54c53d47415d57ac71287..b7b841c3a6476365ab80c99533d0901d5c7a872f 100644 --- a/EDA/EDA.ipynb +++ b/EDA/EDA.ipynb @@ -277,7 +277,7 @@ " textcoords = 'offset points')\n", "\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 @@ " axs[i, 1].tick_params(axis='x', rotation=90)\n", "\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 @@ " )\n", "\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 @@ " axs[i, 2].set_title(f\"\\nDistr. of {num_att} - POST\")\n", "\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 @@ "outputs": [], "source": [ "# Export feature names\n", - "np.save('./output/feature_names/all_features.npy', corr_cols)\n", - "np.save('./output/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/all_features.npy', corr_cols)\n", + "np.save('./results/feature_names/social_factors.npy', soc_vars_enc)\n", + "np.save('./results/feature_names/individual_factors.npy', ind_vars_enc)" ] }, { @@ -960,7 +960,7 @@ " \n", "plt.tight_layout()\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 @@ "outputs": [], "source": [ "# Export datasets\n", - "conj_pre.to_csv('./output/datasets/pre_dataset.csv', index=False)\n", - "conj_post.to_csv('./output/datasets/post_dataset.csv', index=False)" + "conj_pre.to_csv('./results/datasets/pre_dataset.csv', index=False)\n", + "conj_post.to_csv('./results/datasets/post_dataset.csv', index=False)" ] }, { @@ -1155,7 +1155,7 @@ "axes[1].set_title(\"POST\")\n", "\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()" ] }, @@ -1194,7 +1194,7 @@ "axes[1].set_title(\"POST\")\n", "\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()" ] }, @@ -1233,7 +1233,7 @@ "axes[1].set_title(\"POST\")\n", "\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()" ] }