Giter Club home page Giter Club logo

news-articles-clustering's Introduction

News-articles-clustering

Fuzzy clustering (using fuzzy C-means algorithm) system for news articles, with Information Retrieval query system

This work was done as part of a postgraduate course that I credited during Spring 2016 at BITS Pilani, India. Fuzzy C-means is a clustering algorithm based on K-means clustering, but different in that it assigns probabilistic membership of a document to multiple clusters. This repo contains code to fuzzy cluster Times of India news articles, and then retrieve top n documents similar to a queried document. In order to overcome the dependency of clustering efficiency on initial assignment of cluster centers, an evolutionary algorithm called Harmony Search is used to arrive at good initial cluster assignments prior to the clustering.

Usage:

  1. Read the paper (Paper.pdf) for more understanding
  2. The directory 'toi' has datasets crawled from the Times of India website
  3. Maintain the directory structure of the repo and run admfinal.py (look at comments in the code for better understanding of output format, code sections etc.
  4. test.py is a short code we used while figuring out how to compute cosine_similarity scores for all pairs from a set of documents
  5. Results are in our project report (Report.pdf)

news-articles-clustering's People

Contributors

akhisud3195 avatar

Watchers

Akhilesh S avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.