I am more a programming guy than math one, so please be easy on me with math expressions
Before I start describing to make it clear: I have 2 types of scores: reddit score and sentiment score. Reddit score can be of any value. Sentiment score ranges between -1 and 1
So my task is to calculate weight for each sentiment score. Besides analyzing post for sentiments I want to give this post a weight to enhance evaluation of sentiment value it carries
Basically it would look like this
sentiment value = sentiment_analyzer(post) * weight
I want to use average of reddit scores, which can be both negative and positive Then apply this average to calculate weight the following way:
weight = reddit_score / average(reddit_scores)
So here comes the problem, it is not typical but what happens if average will end up negative ? On one hand we can leave it as is, hoping this will never happen, but if it will it would ruin all scoring (I guess ?) , on the other we can't just make it positive and ignore that fact it was originally calculated with negative values.
Maybe I am missing some basic Math concepts, but I really can remember this situation, when I studied Math.
As for method itself I understand it far from accurate, but I am also limited on functions, so I would be grateful if you tell me whether this weight estimation method makes sense at all. And if there is a better simple method. (Even quartile formula not available)