• Keine Ergebnisse gefunden

Appendix 1 Data

N/A
N/A
Protected

Academic year: 2022

Aktie "Appendix 1 Data"

Copied!
7
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Appendix 1 Data

DailyStrength. DailyStrength is a social networking site that enables patients to exchange experiences and treatments, discuss daily struggles and successes, and receive emotional support (Bissoyi et al. 2016). We collected DailyStrength posts from 2006 to 2019 and determined the top 50 message boards by number of posts collected. From these 50, we manually selected 15 message boards related to med- ical conditions. These 15 message boards, as well as the number of positives and negatives in their respective datasets and the keywords used in our experiments, are listed in Table 1. Each post in these datasets is the first post in a thread.

Table 1 DailyStrength datasets

Message Board Positives Negatives Keywords

Alcoholism 2,077 511,988 drinking sober drink alcohol

aa

Anxiety 3,418 510,647 anxiety anxious panic attacks

attack

Chronic Fatigue Syndrome 1,611 512,454 cfs fatigue chronic illness energy

Chronic Pain 1,692 512,373 pain chronic knee meds norco

Depression 2,881 511,184 depression feel don[’t]

depressed anymore Eating Disorders 1,761 512,304 eating eat binge weight ed

Gastritis 1,642 512,423 gastritis stomach ppi

endoscopy acid

Graves’ Disease 1,622 512,443 graves tsh thyroid

methimazole labs Hidradenitis Suppurativa 1,660 512,405 hs groin armpots boils

dermatologist

Insomnia 1,616 512,449 sleep insomnia sleeping asleep

night

Multiple Personalities 1,669 512,396 alters alter personalities therapist parts

Myasthenia Gravis 1,764 512,301 mg mestinon prednisone myasthenia neuro Obsessive Compulsive Disorder 1,634 512,431 ocd thoughts intrusive

obsessions anxiety

Post-Traumatic Stress Disorder 3,956 510,109 ptsd trauma tw nightmares triggered

Pulmonary Embolism 1,632 512,433 pe clots warfarin clot xarelto

The Huffington Post. We downloaded the News Category Dataset (Misra 2018), a collection of news headlines in 41 categories published by The Huffington Post between 2012 and 2018. We noted that some of these categories were similar to each other and combined them:

– Arts, Arts & Culture, and Culture & Arts

(2)

– Healthy Living and Wellness – Parenting and Parents – Style and Style & Beauty – Worldpost and The Worldpost

Combining these categories and adding the remaining categories from Misra (2018) gave us a total of 35 as shown in Table 2. Each headline in the categories’ datasets is represented by the concatenation of the headline itself and a short description of the headline’s article.

Table 2 Huffington Post datasets

Category Positives Negatives Keywords

Arts 3,878 196,975 art artist artists imageblog exhibition Black Voices 4,528 196,325 black police african racial racism Business 5,937 194,916 business company companies ceo wall College 1,144 199,709 college students campus university colleges Comedy 5,175 195,678 colbert snl jimmy maher stephen

Crime 3,405 197,448 police suspect man shooting allegedly Divorce 3,426 197,427 divorce divorced ex marriage split Education 1,004 199,849 education students school teachers schools Entertainment 16,058 184,795 movie film trailer star actor

Environment 1,323 199,530 animal climate week weather animals Fifty 1,401 199,452 aging retirement age 50 older Food & Drink 6,226 194,627 recipes recipe food cooking taste Good News 1,398 199,455 dog homeless rescue trump pit

Green 2,622 198,231 climate change environmental california dog Healthy Living 24,521 176,332 health trump study life sleep

Home & Living 4,195 196,658 home photos ideas diy craft

Impact 3,459 197,394 homeless world homelessness people global Latino Voices 1,129 199,724 latino latinos latina puerto mexican Media 2,815 198,038 news fox media cnn journalists Money 1,707 199,146 credit money financial tax debt Parenting 12,632 188,221 kids parents children mom child Politics 32,739 168,114 trump donald gop clinton president Queer Voices 6,314 194,539 gay queer lgbt lgbtq trans

Religion 2,556 198,297 pope francis church faith god Science 2,178 198,675 scientists nasa space science mars Sports 4,884 195,969 nfl football nba game player Style 11,903 188,950 photos fashion style check tumblr Taste 2,096 198,757 recipes delicious food make cooking Tech 2,082 198,771 apple google iphone facebook tech Travel 9,887 190,966 travel hotels photos hotel travelers Weddings 3,651 197,202 wedding weddings marriage bride married Weird News 2,670 198,183 man cops dog fark weird

Women 3,490 197,363 women funniest feminist woman sexual World News 2,177 198,676 korea north rogingya myanmar korean Worldpost 6,243 194,610 isis syria syrian minister turkey

Reddit. We collected Reddit posts from 2008 to 2018 from 72 primarily health- related subreddits. From these, we randomly selected 16 subreddits related to med- ical conditions with at least 1,000 posts and added four additional subreddits not specifically related to a medical condition: /r/Dentistry, /r/electronic cigarette,

(3)

/r/politics, and /r/SuicideWatch. These 20 subreddits, as well as the number of positives and negatives in their respective datasets, are listed in Table 3. Each post in these datasets is a “self post,” i.e. a post that contains text rather than a link.

Table 3 Reddit datasets

Subreddit Positives Negatives Keywords

/r/ADHD 75,953 1,297,505 adhd adderall vyvanse medication focus /r/anxiety 106,253 1,267,205 anxiety panic anxious attack attacks /r/aspergers 35,037 1,338,421 aspergers aspie autism asperger aspies /r/Asthma 3,455 1,370,003 asthma inhaler albuterol inhalers

ventolin

/r/BipolarReddit 17,271 1,356,187 bipolar manic mania lamictal lithium /r/BPD 41,647 1,331,991 bpd dbt relationship fp borderline /r/cancer 14,999 1,358,459 cancer chemo radiation tumor

oncologist

/r/cfs 6,287 1,367,171 cfs fatigue chronic syndrome symptoms /r/ChronicPain 14,698 1,358,760 pain chronic nerve doctor disc

/r/Dentistry 40,524 1,332,934 dentist teeth tooth dental wisdom /r/Depression 202,464 1,170,994 depression feel depressed life friends /r/diabetes 26,471 1,346,987 diabetes insulin diabetic sugar pump /r/electronic cigarette 112,137 1,261,321 mod vape coils coil tank

/r/Hemophilia 1,737 1,371,721 hemophilia factor hemophiliac hemophiliacs bleeds

/r/Infertility 20,609 1,352,849 infertility ivf iui cycle moan /r/kidneystones 1,166 1,372,292 stone kidney stones pain ureter /r/politics 13,281 1,360,177 2018 trump politics just html /r/STD 11,900 1,361,558 sex herpes std penis unprotected /r/SuicideWatch 114,484 1,258,974 life suicide kill die want

/r/thritis 1,392 1,372,066 arthritis ra rheumatologist pain joints

2 Comparison of TP-KSA Variants

Fig. 1 shows the average balanced accuracy of SVM and CNN classifiers trained with data from each of the four TP-KSA variants. From these results, it is clear that the two “random negatives” variants, TPRN-KSA and TPPRN-KSA, lead

(4)

to a classifier with higher balanced accuracy than the other two methods. How- ever, the balanced accuracy of each of the two “proportional” variants (TPP-KSA and TPPRN-KSA) is very close to the balanced accuracy of its non-proportional counterpart. For the remainder of our experiments, we use TPRN-KSA rather than TPPRN-KSA as the additional functionality of the latter confers no signifi- cant benefit.

Fig. 1 Balanced accuracy of each TP-KSA variant using SVM (top) and CNN (bottom). Left:

DailyStrength. Middle: The Huffington Post. Right: Reddit.

3 Effect of Balance and Diversity on CNN Performance

These metrics, shown in Fig. 2, generally follow the same trends in the CNN results as they do in the SVM results. A notable exception is Active Learning, which has higher KLnegthan all other methods except for Random. As suggested above, the non-random nature of the negatives selected by Active Learning has an adverse effect on its KLneg. This is amplified by the assertion by Zhang et al. (2017) that active learning selection with a multi-layered neural model should be based on the embedding space rather than entropy. However, while the SVM and CNN results are not directly comparable since only the SVM experiments used cross-validation, we observe that the balanced accuracy of Active Learning in the CNN experiments is higher relative to other methods than it is the SVM experiments, suggesting that KLneghas less of an impact on classifier performance, at least when active learning is used.

(5)

Fig. 2 Percent Positive (top), KLpos(top center), KLneg(bottom center), and the correlation of balanced accuracy and the harmonic mean of balance and diversity (bottom) as determined in the CNN experiments. Left: DailyStrength. Middle: The Huffington Post. Right: Reddit.

4 Effect of Constants Used in Sampling on Classifier Performance To study the importance of the constants used in our proposed algorithm’s sam- pling of posts, we performed additional experiments using TPRN-KSA and SVM with several values larger and smaller than the arbitrarily-chosen values used for these constants in our main experiments. The constants evaluated are:

(6)

– Sampling ratio. The percentage of labeling budgetmreserved for sampling, which is distributed equally among the input keywords.

– Minimum sample size. The minimum size of a sample for an individual keyword, which overrides the sampling budget allocated to each input keyword for sufficiently small values ofm.

– Maximum sampling ratio. When the minimum sample size overrides the sampling ratio for small values ofm, the maximum sampling ratio ensures that the entire labeling budget is not spent on sampling.

These experiments were performed in the same manner as our main experiments (i.e. averaging the results of all datasets from the same source and using 5 input keywords). For each sampling constant, we evaluated a total of 11 values within a range of half to 1.5 times the constant’s default value (i.e. the value used in our main experiments). For the maximum sampling ratio, this was calculated in relation to its distance from 1. Each sampling constant’s experiments used the default values for the other two constants and used a value ofmtaken from those used in our main experiments that maximizes the effect of the constant being evaluated (e.g. while evaluating the minimum sample size withm= 300, the values evaluated always override the sample size derived from the default sampling ratio and never cause the total number of sampled posts to exceed the default maximum sampling ratio). Table 4 lists the default value, the range of values evaluated, and the value ofmused for each sampling constant in these experiments.

Table 4 Description of values used in sampling constant evaluation experiments.

Constant Default Value Range Evaluated m

Sampling Ratio 0.2 0.1–0.3 1000

Minimum Sample Size 30 15–45 300

Maximum Sampling Ratio 0.8 0.7–0.9 100

The results of these experiments, shown in Fig. 3, demonstrate that, in gen- eral, values chosen for these constants taken from the ranges evaluated do not sub- stantially effect classifier performance. We observed a slight increase in balanced accuracy as the sampling ratio and minimum sample size decrease with the Huff- ington Post data, which suggests that datasets from this source may benefit from larger samples. We also observed a decrease in balanced accuracy as the minimum sample size increases with the DailyStrength data, which suggests that datasets from his source may be more sensitive to larger numbers of posts retrieved with less relevant input keywords, which are introduced by sampling. Finally, we note that extreme values such as a sampling ratio close to 1 or a maximum sampling ratio close to 0 may yield significantly different results.

(7)

Fig. 3 Effect of sampling ratio (top), minimum sample size (center), and maximum sampling ratio (bottom) on SVM balanced accuracy. Left: DailyStrength. Middle: The Huffington Post.

Right: Reddit.

Referenzen

ÄHNLICHE DOKUMENTE

Comparing these two diagrams above it is seen that teaching writing in Narva Soldino Upper Secondary School is focused basically on intensive writing activities

In a certain sense, the models which were used (and especially the uneven-aged stands model) should be termed "data-orientedn models, meaning that they have

12 doing, we distinguish between four levels of car quality: new vehicles, used cars sub- mitted by dealers for inspection up to three months before purchase, those privately

• Although there are no systematic studies on the optimal treatment of individuals in whom drug resistance due to PrEP is found, there is anecdotal evidence that

3 If more than one signal source has been connected, use the projector ' s control panel or the remote control buttons to select the port which the signal source that you would

If the computer has a standard DVI or DFP -compliant digital video card or video output port, use an optional digital video cable or DVI analog cable to connect the monitor port

button on the projector's control panel or the [Computer] button on the remote control to select the Computer port as the input

•••• Press the button on the projector's control panel or the [Enter] button on the remote control, and select the video signal format from the menu that appears..