title: Convert independent sklearn GaussianMixture log probability scores to probabilities summing to 1
body: <p>I have labeled 2D data. There are 4 labels in the set, and I know the correspondence of every point to its label. I'd like to, given a new arbitrary data point, find the probability that it has each of the 4 labels. It must belong to one and only one of the labels, so the probabilities should sum to 1.</p>
  
  <p>What I've done so far is to train 4 independent sklearn GMMs (<code>sklearn.mixture.GaussianMixture</code>) on the data points associated with each label. It should be noted that I do not wish to train a single GMM with 4 components because I already know the labels, and don't want to re-cluster in a way that is worse than my known labels. (It would appear that there is a way to provide <code>Y=</code> labels to the <code>fit()</code> function, but I can't seem to get it to work).</p>
  
  <p><a href="https://i.stack.imgur.com/hY5D4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hY5D4.png" alt="enter image description here"></a></p>
  
  <p>In the above plot, points are colored by their known labels, and the contours represent the four independent GMMs fitted to these 4 sets of points.</p>
  
  <p>For a new point, I attempted to compute the probability of its label in a couple ways:</p>
  
  <ol>
  <li><p><code>GaussianMixture.predict_proba()</code>: Since each independent GMM has only one distribution, this simply returns a probability of 1 for all models.</p></li>
  <li><p><code>GaussianMixture.score_samples()</code>: According to documentation, this one returns the "weighted log probabilities for each sample". My procedure is, for a single new point, I make four calls to this function from each of the four independently trained GMMs represenenting each distribution above. I do get semi sensible results here--typically a positive number for the correct model and negative numbers for each of the three incorrect models, with more muddled results for points near intersecting distribution boundaries. Here's a typical clear-cut result:</p></li>
  </ol>
  
  <p><code>2.904136, -60.881554, -20.824841, -30.658509</code></p>
  
  <p>This point is actually associated with the first label and is least likely to be the second label (is farthest from the second distribution). My issue is how to convert the above scores into probabilities that sum to 1 and accurately represent the chance that the given point belongs to one and only one of the four distributions? Given that these are 4 independent models, is this possible? If not, is there another method I have overlooked that could allow me to train GMM(s) based on known labels and will provide probabilities that sum to 1?</p>