Skip to content

Instantly share code, notes, and snippets.

@andrea-dagostino
Created November 23, 2021 15:02
Show Gist options
  • Save andrea-dagostino/41c437f5c6d53fbbc6db57185d643c76 to your computer and use it in GitHub Desktop.
Save andrea-dagostino/41c437f5c6d53fbbc6db57185d643c76 to your computer and use it in GitHub Desktop.
posts/raggruppamento-testuale-con-tf-idf
# assegnamo cluster e vettori PCA a delle colonne nel dataframe originale
df['cluster'] = clusters
df['x0'] = x0
df['x1'] = x1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment