Code Monkey home page Code Monkey logo

flockwatch's People

Contributors

sjacks26 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

flockwatch's Issues

Output for context

Figure out the best way to report context. Olga suggests columns for example messages in the trending report and the co-occurrence report.

Replace co-occurrence matrix with nested dict?

Building the co-occurrence matrix is the most computationally expensive part of this code. Would it be faster/cheaper to use a nested dict instead?

Rather than:

matrix co-occurrence term 1 co-occurrence term 2 ... co-occurrence term n
collection term 1 # # ... #
collection term 2 # # ... #
... ... ... ... ...
collection term n # # ... #

Something like:
{collection term 1: { co-occurrence term 1: #, co-occurrence term 2: #, ..., co-occurrence term n: #}, collection term 2: { co-occurrence term 1: #, co-occurrence term 2: #, ..., co-occurrence term n: #}, {...}, collection term n: { co-occurrence term 1: #, co-occurrence term 2: #, ..., co-occurrence term n: #}}

Is that computationally easier??

AttributeError: 'PurePosixPath' object has no attribute 'startswith'

Hi,
I'm trying to use FlockWatch, I've followed all the set up instructions and when trying to run Flockwatch (python3 FlockWatch.py -n file) I get this error:
AttributeError: 'PurePosixPath' object has no attribute 'startswith'
Please, could you help me? I don't know how to deal with this error?
Thanks in advance
Berta

Multiple config files

Need to allow for multiple config files in case reminder emails for different projects should be sent to different email addresses.

One option is in #9. Another option would be to have a default, but allow users to specify an alternative via CLI argument.

Add input option for multiple files

Allow users to specify more than one file for input. This is particularly helpful for json input, but probably csv as well.

Two approaches:

  1. Build this into the main process
  2. Create a stand-alone script that combines multiple files into the single file expected by FlockWatch.py

More output for time analysis

Add more output for time analysis.

I might want to see the number of times a term has co-occurred regardless of which collection term it has co-occurred with.

I might want to see the number of times a term has appeared in a co-occurrence report, regardless of the number of times it appears or what its rate it. But this output should still take the rate into account somehow or maybe just report an average or something.

Interactively generate config file

To allow folks who don't know python to use this more easily, let users choose whether to:

  1. Specify a complete config file
  2. Be interactively guided through generating a config file (use input to have FlockWatch ask questions to populate a config file)

If users specify a complete config file through a CLI argument, this has the added benefit of letting them use multiple config files if they are running multiple simultaneous FlockWatches.

Add bigrams to trending report

Add bigrams to trending report. For some collections, few unigrams are sufficiently precise to be useful for collection terms. Especially for more focused collections, bigrams (or even longer) will be more useful.

Rate versus count for trending rate

Right now, FlockWatch uses raw frequency counts from two time windows to identify trending terms. If there are many more messages in t2 than in t1, FlockWatch will find a lot of trending terms (simply because more messages means more opportunities for a term to appear).
Maybe FlockWatch should use frequency rates (normalized by the number of messages in a time window) rather than raw frequency counts?

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.