Physics, Data Science, Least Squares, Chemometrics, Spectroscopy.
linear_model linear_model.LinearRegression().fit(components.T, query_spectra).coef_ resulting both of them in the concentrations 0.48, 0.30, 0.20 for components A, B and C, respectively. Summary and further considerations In this short tutorial, a Classical Least Squares approach was used to