Change point

Find the single split in a numeric series that minimizes within-segment squared error.