GithubHelp home page GithubHelp logo

responseratevisualizer's Introduction

Response Rate Visualizer

Visualize respone rates from text data (blogs, twitter, etc.)

Schedules of reinforcement

Usage

  1. pip install -r requirements.txt
  2. For datasets with sentences or paragraphs per cell, use schedulesngrams.py. For datasets where it's just one word per cell, use schedulesfavorites.py
  3. Make sure your CSV file's column name starts with 'tweet' if using schedulesngrams.py (or 'user' if using schedulesfavorites.py) and that there's a column called 'date' with the date formatted as follows: 2012-03-24
  4. Make sure the columns are sorted by descending order (latest dates first).

Example

Originally, I made this for twitter data, but of course it also works for blogs. For example, here's my analysis of the amazing systems scientist George Mobus' blog.

https://questioneverything.typepad.com/

How to read it

Extremely roughly, you could say 'the steeper the lines, the higher the "interest" '

Plateuing lines means "interest" is decaying.

But this is oversimplifying it.

Disclaimer: There's a list of words in the python script that I have added to exclude (such as stop words, but I've also included words which were not stop words which to me did not seem to convey much information in most cases as I was using this script. If you'd like to keep all words, I suggest looking up "toremove" and replacing those giant lists of words with an empty array.

responseratevisualizer's People

Contributors

youssefabdelm avatar

Watchers

 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.