Given a classifier $C$ that gets text as an input and outputs a posterior distribution $p_1\dots p_n$ on $n$ possible topics.
In other words, for each user post, I have a list of probabilities $\{p_i\}$ that represent the chance that the user was writing about topic $i$.
I would like to calculate weights $w_i=f(p_i)$ such that the weight would be negative if the user is very not likely to write about a topic, and positive if the user is very likely to write about a topic.
What would be the standard way to do this transformation ?