5 ms·
Show HN: Gauge of the World's Faith in Humanity
- saraid216 14y ago/me watched the "positive" side retweet a bunch of "every time i regain faith in humanity, someone spends more than 5 min in front of the ATM".
- jstanley 14y agoPretty neat, though it looks like the sentiment analysis could use some work. There are quite a lot of negative ones on the positive side. EDIT: Might be useful to expand this into a generic service where people can enter their own search terms.
- locopati 14y agoOr allow page viewers to move something from one column to the other and have the back-end receive notification so that it modifies its sentiment algorithm automagically.
- ScottBurson 14y agoI see some positive ones on the negative side too: "Batman no!! You can't lose your faith in humanity!" "You must not lose faith in humanity. [...] - Gandhi" I don't know how the sentiment analysis is being done (naive Bayes?), but perhaps it could be tweaked to handle this case.
- Fishkins 14y agoEven a tweet about this website itself is categorized as negative: https://twitter.com/LeviDayley/status/313711985437073409 https://twitter.com/LeviDayley/status/313711985437073409
- kafkaesque 14y agoHere is a stab in the dark: These types of declaratives have two negatives side by side (e.g., "not lose", "can't lose"), making them into a positive. They're somewhat similar to rhetorical questions which have assertions embedded in them in the form of a negative question. From the Wikipedia article, "What have the Romans ever done for us?..." (What...ever...?) "...should be read as The Romans have never done anything for us"... (where a negative is surrounded by a verb). http://en.wikipedia.org/wiki/Rhetorical_question#Negative_assertions http://en.wikipedia.org/wiki/Rhetorical_question#Negative_as... What do people think of this? I'm not entirely familiar with naive Bayes classifier.
- anigbrowl 14y agoThey'll be cancelled out by false positives, eg 'I try to maintain my my faith in humanity. Sometimes I succeed.'
- imkevinxu 14y agoHi! Creator here, yes the sentiment analysis could definitely use more work but we've found our naiive approach to be about 95% accurate which was good enough for our MVP. Definite idea, some friends have mentioned it might be useful for brands
- fatjokes 14y agoMight I ask what exactly is the naive approach? Is it simply searching for keywords like "lose", "lost", etc?
- callmecosmas 14y agoPretty much: https://github.com/imkevinxu/faithinhumanity/blob/master/faithinhumanity_app/management/commands/tweet_scraper.py https://github.com/imkevinxu/faithinhumanity/blob/master/fai...
- farmdawgnation 14y agoThis is a good start for sure, but as the previous readers mentioned it could use some work. Might consider looking for a series of keywords and adding removing positivity points based on their existance?
- joshrotenberg 14y agoI can't help but lose a little faith in humanity when I see that faith in humanity is measured via Twitter.
- RyanIyengar 14y agoTwitter is not the world or a meaningful representation of the world.
- patrickmay 14y agoBuzzkill. You're making me lose faith in humanity. ;-)
- jimmybook 14y agoCool little weekend hack. Love the UI. It's a refreshing take on sentiment analysis.
- kps 14y agoExcept that, for no good reason, it's awkward to read in a window narrower than the authors'. (Edit: and middle-click is broken.) I'd lose my faith in humanity, if I were persuaded that web developers are a subset.
- generalpf 14y agoIf they include the common misspelling of "lose" as "loose" I suspect the good side won't have a chance.
- ambiate 14y agoI was toying around with the URL in some of the source and modified a few of the sources to be facebook rather than faithinhumanity. After a few tries, I got an interesting security message. https://www.facebook.com/dialog/oauth?client_id=343797409063510&response_type=token%2Csigned_request%2Ccode&display=none&domain=facebook.com&origin=1&redirect_uri=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D19%23cb%3Df111667c13151b2%26origin%3Dhttp%253A%252F%252Ffacebook.com%252Ff2b34222fd3121c%26domain%3Dthefaithinhumanity.com%26relation%3Dparent&sdk=joey https://www.facebook.com/dialog/oauth?client_id=343797409063...
- imkevinxu 14y agoWow! Really interesting, and weird. We aren't using anything Facebook-related besides the like button and we don't even have a registered Facebook app or secret keys or anything. All the Twitter sourcing is done on the server so I'm not sure how you stumbled onto that security message
- ambiate 14y agoIt is indeed the like button. I just saw the OAUTH token and wanted to toy with it. http://i.imgur.com/bF3LQul.png http://i.imgur.com/bF3LQul.png
- rickyyean 14y agoIf you're not happy about the results, here's a way to restore your faith in humanity: http://www.quora.com/Cancer/Can-I-use-the-internet-to-save-my-mom-who-suffers-from-Stage-IV-cancer/answer/Jae-Won-Joh http://www.quora.com/Cancer/Can-I-use-the-internet-to-save-m...
- xijuan 14y agoSome are misclassified, such as "before I lose faith", or "else I will lost faith"
- eli_gottlieb 14y agoWhat was it I'm supposed to believe about humanity?
- deleted 14y ago[deleted]
- peapicker 14y agoImagine, people like to complain via hyperbole with twitter. #notsurprised
- deleted 14y ago[deleted]