first attempt at the combination of demographics into one binary variable based on gower clustering, then classifying this binary variable using various classification algorithms

This commit is contained in:
James Twose
2021-12-06 10:32:17 +01:00
parent bb96398104
commit ac27be6bab
3 changed files with 2153 additions and 85 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -330,4 +330,4 @@ def tSNE(
for x, y, tag in zip(df_tsne["t-SNE (x)"], df_tsne["t-SNE (y)"], df_tsne[tag]):
plt.annotate(tag, (x, y), fontsize=label_fontsize, alpha=0.75)
return fig, ax
return fig, ax, df_tsne