On one hand, you have access to a professional instructor to help you with your posture, and on the other hand, there is the simple enjoyment of doing something as a group.
If your experience of yoga studios has not been good, or if you don't always have the money or time to go to a studio, then you may want to consider doing your yoga at home.