3. In SpectraFit, the regression metrics analysis is an established method in machine learning as well as chemistry , and it has been incorporated to enhance the evaluation of model performance and accuracy when fitting data. To achieve this, Scikit-Learn is used to score the input intensity (true values) against the fit (predicted values), as depicted in Figure .