org.allenai.nlpstack.parse.poly.decisiontree
Normalizes an unnormalized distribution over integers.
Normalizes an unnormalized distribution over integers.
If the sum of the original masses is zero, then this will return a uniform distribution over the domain.
a map from integers to probability mass (not necessarily normalized)
the normalized version of the argument distribution