Learning curves for LS-regression