What are the common applications of supervised and unsupervised learning?