polyfit-residuals (cargo): Efficiently calculate the residual errors (in the least squares sense) of all polynomial models (up to some degree) for a given dataset and compute least-squares polynomial fits.
Keywords: statistics|algorithms|mathematics|polynomial|regression