Can anyone show me step by step, how to derive this equation, and the formulas used? Maybe the author uses Bayes' Theorem but I cannot find how...
$P(z_k | d_i,w_j) = \frac{P(w_j,z_k|d_i)}{P(w_j|d_i)} = \frac{P(w_j|z_k,d_i)P(z_k|d_i)}{\sum_{i=1}^M P(w_j|z_i,d_i)P(z_i|d_i)}$