klotz: k-means*

0 bookmark(s) - Sort by: Date ↓ / Title / - Bookmarks from other users for this tag

  1. ow can you learn about the underlying structure of documents in a way that is informative and intuitive? This basic motivating question led me on a journey to visualize and cluster documents in a two-dimensional space. What you see above is an output of an analytical pipeline that begin by gathering synopses on the top 100 films of all time and ended by analyzing the latent topics within each document. In between I ran significant manipulations on these synopses (tokenization, stemming), transformed them into a vector space model (tf-idf), and clustered them into groups (k-means). You can learn all about how I did this with my detailed guide to Document Clustering with Python. But first, what did I learn?
  2. tokenizing and stemming each synopsis
    transforming the corpus into vector space using tf-idf
    calculating cosine distance between each document as a measure of similarity
    clustering the documents using the k-means algorithm
    using multidimensional scaling to reduce dimensionality within the corpus
    plotting the clustering output using matplotlib and mpld3
    conducting a hierarchical clustering on the corpus using Ward clustering
    plotting a Ward dendrogram
    topic modeling using Latent Dirichlet Allocation (LDA)
    2018-08-16 Tags: , , , , , , , by klotz
  3. 2014-05-30 Tags: , , , , by klotz
  4. 2014-01-25 Tags: , , by klotz
  5. 2012-10-16 Tags: , , by klotz
  6. 2012-07-09 Tags: , , , by klotz
  7. 2012-07-09 Tags: , , , , by klotz

Top of the page

First / Previous / Next / Last / Page 2 of 0 SemanticScuttle - klotz.me: Tags: k-means

About - Propulsed by SemanticScuttle