This is my first project in unsupervised NLP, so let me know if there's anything obviously wrong with the article or methodology.
Maybe consider including the results of others' analyses alongside yours? Even more interesting would be a deep-dive into why they disagree. (Adventures in interpretation) Also maybe do a PCA and show scatter plots of the first two PCs for each doc? I'm no expert, but these could be fun avenues to explore.
The Federalist Papers: Author Identification Through K-Means Clustering
11–20 of 36 posts
Re: The Federalist Papers: Author Identification Through K-Means Clustering
#12I did a similar exercise, and then applied it to the Titor posts. Turns out Alexander Hamilton is John Titor.
Re: The Federalist Papers: Author Identification Through K-Means Clustering
#13Re: The Federalist Papers: Author Identification Through K-Means Clustering
#14Earlier quoted context omitted.
There's no ground truth. :) They were written under a common psuedonym.
Couldn't works known to be written by hypothesis authors be used to train a supervised classifier?
Re: The Federalist Papers: Author Identification Through K-Means Clustering
#15I did a similar exercise, and then applied it to the Titor posts. Turns out Alexander Hamilton is John Titor.
Re: The Federalist Papers: Author Identification Through K-Means Clustering
#16Earlier quoted context omitted.
Couldn't works known to be written by hypothesis authors be used to train a supervised classifier?
That thought crossed my mind. I was thinking of trying to get a training set and teaching these models based on previous works by Jay, Madison, and Hamilton. However a lot of what I found for each of them was behind a paywall, or too hard to grep through to actually get the data. For instance all I could find in my (admittedly superficial) digging on John Jay was a book by UVA called "The Selected Papers of John Jay"…
Re: The Federalist Papers: Author Identification Through K-Means Clustering
#17This is my first project in unsupervised NLP, so let me know if there's anything obviously wrong with the article or methodology.
Re: The Federalist Papers: Author Identification Through K-Means Clustering
#18Re: The Federalist Papers: Author Identification Through K-Means Clustering
#19This is my first project in unsupervised NLP, so let me know if there's anything obviously wrong with the article or methodology.
I've been working on a similar project.
Three things that I would suggest would be
- add documents definitively written by the authors (Maddison, John jay, etc) from outside the federalist papers to your train set.
http://oll.libertyfund.org/titles/jay-the-correspondence-and...
http://www.gutenberg.org/ebooks/author/14, etc
- Add another feature which looks at the frequency of the function (closed class words) such as articles, prepositions etc these are very stylistic and hard for an author to control, they are also independent of the content, this is a classical feature in forensics.
- Add a distractor case to your train and validation set I.e documents written by a non federalist such as Thomas Jefferson and confirm that they don't get clustered into one of the other federalist authors.
If you have questions feel free to tweet me it seems like a cool project @pythiccoder