From 39e400629f29b38bee0592475bda36c726b74955 Mon Sep 17 00:00:00 2001 From: joaquintb Date: Wed, 10 Jul 2024 12:37:28 +0200 Subject: [PATCH] Paths updated --- EDA/EDA.ipynb | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/EDA/EDA.ipynb b/EDA/EDA.ipynb index 8973479..b7b841c 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()" ] } -- 2.24.1