{'fraction_non_alphanumeric': 0.021105527638190954, 'fraction_numerical': 0.0020100502512562816, 'mean_word_length': 5.467532467532467, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Selection of Wavelength Range and Number of Factors to be Used in the PLS Treatment of Spectrophotometric Data

Abstract A procedure for selection of wavelength range and number of factors to be used in partial least square calibration that involves the calculation of prediction residual sum of squares (PRESS) in different conditions is proposed. The best model takes into account the minimum PRESS value that does not show significant differences with respect to the corresponding model with fewer factors. The ability of the proposed method to minimize errors in partial least squares (PLS) prediction is demonstrated by applying it to the resolution of phenytoine (DPH) and phenobarbital (PB) binary mixtures with errors less than 2.8%; the results are compared with those obtained using another wavelength selection procedure. The ensuing method, which was validated by high performance liquid chromatography (HPLC), also gives good results with real samples (pharmaceutical preparations).