arsena-k / disease_stigma Goto Github PK
View Code? Open in Web Editor NEWRepository 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/
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/
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.