Code Monkey home page Code Monkey logo

dynamic_eigenvector_centralities's Introduction

Dynamic Eigenvector Centralities

Paper / Purpose

This code serves as an implementation of the work on calculating keywords and their emerging importance outlined here: https://people.cs.clemson.edu/~isafro/papers/dynamic-centralities.pdf

Results

The results in the paper have been replicated on the Boston dataset using time intervals of 60 and 15 minutes, located in boston_examples.

Requirements

  1. All code is run in Python 3.6 (Anaconda 4.3.0)
  2. Data to be processed should be stored in ordered text files (i.e., file1.txt, file2.txt, ... fileN.txt for N intervals, or some other numbered format.)
  3. Text files should contain one-document (i.e., one tweet) per line

Usage

  • Ensure all requirements are satisfied. The program can be run as follows.
# after repo has been downloaded
cd dynamic_eigenvector_centralities
pip install requirements.txt
python dec_main.py --input_folder /home/username/time_series_data/ --P 6 --output_folder /home/username/dec_results/

Files

  • dec_main.py Runs the full algorithm to compute DEC values described in the
  • dec_graph.py contains code for the graph logic of the algorithm
  • dec_text.py contains code for preprocessing and cleaning the data
  • break_files.py a useful script for dividing time-series CSV data

dynamic_eigenvector_centralities's People

Contributors

mgglenn avatar

Stargazers

 avatar Yuheng Du avatar

Watchers

James Cloos avatar Yuheng Du avatar  avatar

Forkers

aherzog

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.