“…The recent technological advances in instrumentation, including miniaturized measurement devices and the possibilities of cloud-based computing systems, have made Raman spectroscopy practically accessible to many fields and applications. − Especially, in the quality by design context in the pharmaceutical industry, Raman spectroscopy is increasingly used to address qualitative analytical compliance testing problems, including the identification of raw materials and the verification of the compliance of the quality of intermediate drug products and bioprocesses with a reference quality. − In such problems, only representative spectra of the targeted identity or quality are available, while nontargeted or undesired identities or quality profiles are theoretically unlimited or cannot be representatively sampled. Hence, such qualitative testing problems are mathematically addressed by predicting the conformity of the Raman spectral features of unknown test samples to those of the representative reference set, based on classification rules defined using that reference set exclusively. , The type of mathematical techniques involved in such compliance verification tasks are known as “rigorous” one-class classification (OCC) methods. − Alternatively, when there also exist samples of some nontarget quality or products, even if these samples are not representative of all of the scenarios of nontarget quality or product profiles that might be encountered in the future, they can be used together with the reference set to define the classification rules. In the latter case, the resulting type of models are termed “compliant” OCC methods. − …”