Click 10_least_squares_in_class.pdf link to view the file.