Not sure I understand - The probability of w is already fixed given the model and the observed (represented as samples in trace
). So you either looking to:
- update the posterior of w given a new data point y.
or - given a new data point y, compute the probability it’s belonging to component 1 or 2