Taking classes in an area of your interest is a great way to make friends and improve language skills in a new city. Riga offers some courses for adults, from dance classes to photography to cooking classes.
You can also network with like-minded people on the Latvia Meet-up Forum.