Giter VIP home page Giter VIP logo

twitfem's Introduction

twitfem

Feminism Tweet Analysis - Big Data Week Hackathon Project

###Attitude analysis and corpus analytics of 1M tweets about feminism #

Link to slides.com presentation

Using a corpus of 988,000 tweets retrieved from Twitter's Search API from January to April 2015 containing the words "feminism", "feminist" or "feminists", we trained a classifier to label them as pro-feminist, anti-feminist or neither (regardless of sentiment), and determined the most characteristic words used by each group with the log-likelihood keyness method.

GRAPHS:

##HPC McGill Instructions

####To move files back and forth #####GET a file

scp -P 57328 [email protected]:/home/class03/path_to_file /local_path_to_put_file

#####PUT a file

scp -P 57328 /local_path_to_put_file [email protected]:/home/class03/path_to_file

Team User Name: class03

Assigned Node: aw-4r12-n03.hpc.mcgill.ca

(ssh requires port flag -p 57328)

password: ask Dave

running notebook (requires password)

you need to accept the cerificate

##RadialPoint Repo on github

twitfem's People

Contributors

zafarali avatar nedjunk avatar prooffreader avatar jbchouinard avatar

Stargazers

 avatar Nawal avatar  avatar Imran Jameel avatar

Watchers

James Cloos avatar  avatar  avatar  avatar  avatar  avatar Reda avatar

Forkers

estorex mtldata

twitfem's Issues

"s" error in curator

Still receiving "s" error in the curator

---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-3-831138ef80f9> in <module>()
----> 1 curate_tweets('twitfem.csv','id','tweet', 100, 'zaf-curated')

/Users/zaf/Documents/dev/twitfem/curate_tweets.py in curate_tweets(filename, col_id, col_tweet, num_rows, out_filename)
     25     while i < end_i:
     26         print(df_out[col_tweet].iloc[i])
---> 27         resp = input("class --> ")
     28         if resp == "x":
     29             i = end_i

/Users/zaf/anaconda/lib/python2.7/site-packages/IPython/kernel/zmq/ipkernel.pyc in <lambda>(prompt)
    362         if content.get('allow_stdin', False):
    363             raw_input = lambda prompt='': self._raw_input(prompt, ident, parent)
--> 364             input = lambda prompt='': eval(raw_input(prompt))
    365         else:
    366             raw_input = input = lambda prompt='' : self._no_raw_input()

/Users/zaf/anaconda/lib/python2.7/site-packages/IPython/kernel/zmq/ipkernel.pyc in <module>()

NameError: name 's' is not defined

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.