GithubHelp home page GithubHelp logo

arsena-k / disease_stigma Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 205 KB

Repository to accompany "The Stigma of Diseases: Unequal Burden, Uneven Decline" by RK Best and A Arseniev-Koehler

Home Page: https://osf.io/preprints/socarxiv/7nm9x/

Python 100.00%

disease_stigma's People

Contributors

arsena-k avatar

Stargazers

 avatar

Watchers

 avatar

disease_stigma's Issues

Disease_list_5.12.20_uncorrupted.csv missing

Hi Alina,

In your README.md you note that both WriteStigmaScores_CleanedUp.py and WordCounts_CleanedUp.py require the Disease_list_5.12.20_uncorrupted.csv file. I'm not seeing this file in the repository and my quick search doesn't seem to indicate that it is generated by one of the scripts.

Would you be willing to share either the file or a data dictionary for this file?

Thanks,

Aaron McKenny

Should dimension_lexicon class initialize with init_neg_train_words 3 times?

Hi Alina,

First off, thanks for making this code available to other researchers!

One quick question: In build_lexicon_stigma.py you have the following code to initialize the dimension_lexicon class:

class dimension_lexicon:
    def __init__(self,  w2vmodel,init_pos_train_words, init_neg_train_words=None,  init_pos_test_words=None, init_neg_test_words=None, test_size=0, min_count=50): #test_size is of EACH side!, and only applicable for dimensions (i.e., when we are looking at pos and neg training words)
        self.w2vmodel= w2vmodel
        self.init_pos_train_words= init_pos_train_words
        self.init_neg_train_words= init_neg_train_words
        self.init_pos_test_words= init_neg_train_words
        self.init_neg_test_words= init_neg_train_words
        self.test_size= test_size

I presume this should be:

        self.init_pos_test_words= init_pos_test_words
        self.init_neg_test_words= init_neg_test_words

... correct?

Best,

Aaron McKenny

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.