There are two primary categories of least-squares method problems:
Ordinary or linear least squares
Nonlinear least squares