Skip to content

Cluster labelling was done by using the power of wikipedia search

License

Notifications You must be signed in to change notification settings

bhavul/Cluster-Labeling-using-wikipedia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cluster-Labeling-using-wikipedia

K-means clustering was done using scikit-learn library. This is followed by extraction of important keywords using tf-idf centroid. Top 'k' labels from here are sent to wikipedia as search query. The search results are used to generate better labels. All candidate labels were judged using Mutual Information judge and a high accuracy of 85.6% was obtained for 20-Newsgroups dataset. Dataset is not included as a part of the repo.

Note : The code is still all in one file, but is documented pretty well through comments.

Releases

No releases published

Packages

No packages published

Languages