Get probability of parameter given new data

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:

  1. update the posterior of w given a new data point y.
    or
  2. given a new data point y, compute the probability it’s belonging to component 1 or 2