If you feel like people who do yoga in general represent the sort of people who you are likely to become friends with (and I recognize he is a huge generalization, but work with me for a minute) then I think you are more likely to make friends in a yoga class, whereas if it is something you enjoy but do not necessarily connect with people about, then it is less likely.