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:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -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]):
|
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)
|
plt.annotate(tag, (x, y), fontsize=label_fontsize, alpha=0.75)
|
||||||
|
|
||||||
return fig, ax
|
return fig, ax, df_tsne
|
||||||
Reference in New Issue
Block a user