Jump to content

User:The Anome/Naive Bayes WikiProject classifier

From Wikipedia, the free encyclopedia

This is a mini-project to create a Naive Bayes classifier to map articles to Wikiprojects, allowing the auto-classification of articles that have not yet been assigned to Wikiprojects.

[edit]

Strategy

[edit]
  • Build the cross-reference table, limited to first few million rows to avoid blowing up web browser.
  • Download this to a TSV file
  • Load this into a Python program, and build the relevant tables for a Naive Bayes classifier
  • Build a mapping from WikiProject categories to the WikiProject templates

Code

[edit]