[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-121975-en":3,"doc-seo-121975-105":30,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":4,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":27,"seo_description":14,"update_tm":28,"read_time":29},121975,4398048950312,"Violet","https://ap-avatar.wpscdn.com/avatar/400002538284de19e3c?_k=1778320343897328908",8,"Research & Report","Rapid Classiﬁcation of Petroleum Waxes - A Vis-NIR Spectroscopy and Machine Learning Approach","Petroleum-derived waxes are widely used in the food industry to improve texture and act as protective coatings for products such as fruits and cheeses, requiring strict quality control to meet regulatory demands. This study combines visible and near-infrared (Vis-NIR) spectroscopy with machine learning to characterize macrocrystalline and microcrystalline waxes. Unsupervised HCA and PCA separate samples by chemical composition, while nonparametric supervised models—support vector machines (SVM) and random forest (RF)—classify wax types using five-fold cross-validation. The workflow also identifies discriminative wavelengths to build representative spectral fingerprints, enabling fast, eco-friendly, cost-effective automated quality assessment.","foods   \nArticle  \nRapid Classiﬁcation of Petroleum Waxes: A Vis-NIR Spectroscopy and Machine Learning Approach  \nMarta Barea-Sepólveda , Jos² Luis P. Calle, Marta Ferreiro-Gonz¡lez * and Miguel Palma   \nCitation: Barea-Sepúlveda, M.; Calle, J.L.P.; Ferreiro-González, M.; Palma, M. Rapid Classiﬁcation of Petroleum Waxes: A Vis-NIR Spectroscopy and Machine Learning Approach. Foods 2023, 12, 3362. [https://doi.org/](https://doi.org/)[ ](https://doi.org/)[10.3390/foods12183362](10.3390/foods12183362)  \nAcademic Editor: Zhengjun Qiu  \nReceived: 8 August 2023  \nRevised: 31 August 2023  \nAccepted: 5 September 2023  \nPublished: 7 September 2023  \nCopyright: © 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license ([https://](https://)[ ](https://)[creativecommons.org/licenses/by/](creativecommons.org/licenses/by/)[ ](creativecommons.org/licenses/by/)[4.0/](4.0/)) .  \nDepartment of Analytical Chemistry, Faculty of Sciences, Agri-Food Campus of International Excellence (ceiA3), IVAGRO, University of Cadiz, 11510 Puerto Real, Spain; [marta.barea@uca.es](marta.barea@uca.es) (M.B.-S.);  \n[joseluis.perezcalle@uca.es](joseluis.perezcalle@uca.es) (J.L.P.C.); [miguel.palma@uca.es](miguel.palma@uca.es) (M.P.)  \n* Correspondence: marta.ferreiro@uca.es; Tel.: +34-956-01658  \nAbstract: Petroleum-derived waxes are used in the food industry as additives to provide texture and as coatings for foodstuffs such as fruits and cheeses. Therefore, food waxes are subject to strict quality controls to comply with regulations. In this research, a combination of visible and nearinfrared (Vis-NIR) spectroscopy with machine learning was employed to effectively characterize two commonly marketed petroleum waxes of food interest: macrocrystalline and microcrystalline. The present study employed unsupervised machine learning algorithms like hierarchical cluster analysis (HCA) and principal component analysis (PCA) to differentiate the wax samples based on their chemical composition. Furthermore, nonparametric supervised machine learning algorithms, such as support vector machines (SVMs) and random forest (RF), were applied to the spectroscopic data for precise classiﬁcation. Results from the HCA and PCA demonstrated a clear trend of grouping the wax samples according to their chemical composition. In combination with ﬁve-fold cross-validation (CV), the SVM models accurately classiﬁed all samples as either macrocrystalline or microcrystalline wax during the test phase. Similar high-performance outcomes were observed with RF models along with ﬁve-fold CV, enabling the identiﬁcation of speciﬁc wavelengths that facilitate discrimination between the wax types, which also made it possible to select the wavelengths that allow discrimination of the samples to build the characteristic spectralprint of each type of petroleum wax. This research underscores the effectiveness of the proposed analytical method in providing fast, environmentally friendly, and cost-effective quality control for waxes. The approach offers a promising alternative to existing techniques, making it a viable option for automated quality assessment of waxes in food industrial applications.  \nKeywords: food waxes; petroleum-derived products; parafﬁns; visible–near-infrared spectroscopy; machine learning; support vector machine; random forest; discrimination; spectralprint  \n1. Introduction  \nPetroleum waxes are a petroleum-derived product (PDP) with a wide spectrum of industrial applications obtained from lubricating oils. Within the agri-food industry, waxes are commonly used to make fruits, vegetables, and candy look shiny or as a food additive. They provide a protective layer that helps to extend shelf life by reducing the loss of water, thus slowing the dehydration process and keeping the product fresh for a longer period. This application is particularly important f","cbCaie7QJp8rqtLp","https://ap.wps.com/l/cbCaie7QJp8rqtLp","pdf",2328617,1,16,"English","en",105,"# Introduction\n# Materials and Methods\n## Vis-NIR spectroscopy and data preprocessing\n## Machine learning approaches\n# Results and Discussion\n## Unsupervised clustering (HCA and PCA)\n## Supervised classification (SVM and RF)\n## Discriminative wavelengths and spectral fingerprints\n# Conclusions","[{\"question\":\"Why is rapid quality control needed for petroleum-derived food waxes?\",\"answer\":\"Petroleum-derived waxes are used as additives and coatings in foods, so they must meet strict regulations. Quality control ensures proper texture, protection, and compliance with safety and purity requirements.\"},{\"question\":\"How does the study use spectroscopy and machine learning to classify wax types?\",\"answer\":\"The approach applies visible and near-infrared (Vis-NIR) spectroscopy to generate spectral data, then uses machine learning. Unsupervised HCA and PCA first reveal grouping trends by chemical composition, and supervised SVM and random forest perform accurate classification of macrocrystalline versus microcrystalline waxes.\"},{\"question\":\"What is the role of discriminative wavelengths and spectral fingerprints?\",\"answer\":\"Along with five-fold cross-validation, the supervised models yield high-performance classification and highlight specific wavelengths that differentiate wax types. These wavelengths support constructing representative spectral fingerprints for automated assessment.\"}]","Rapid Classiﬁcation of Petroleum Waxes - A Vis-NIR Spectroscopy and Machine Learning Approach | PDF",1785808099,40,{"code":4,"msg":31,"data":32},"ok",{"site_id":24,"language":23,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":28},"rapid-classification-of-petroleum-waxes-a-vis-nir-spectroscopy-and-machine-learning-approach","",{"@graph":36,"@context":85},[37,54,68],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/research-report/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/rapid-classification-of-petroleum-waxes-a-vis-nir-spectroscopy-and-machine-learning-approach/121975/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":23,"description":14,"dateModified":62,"datePublished":62,"encodingFormat":61,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-04",true,{"@type":65,"interactionType":66,"userInteractionCount":4},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"Why is rapid quality control needed for petroleum-derived food waxes?","Question",{"text":75,"@type":76},"Petroleum-derived waxes are used as additives and coatings in foods, so they must meet strict regulations. Quality control ensures proper texture, protection, and compliance with safety and purity requirements.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"How does the study use spectroscopy and machine learning to classify wax types?",{"text":80,"@type":76},"The approach applies visible and near-infrared (Vis-NIR) spectroscopy to generate spectral data, then uses machine learning. Unsupervised HCA and PCA first reveal grouping trends by chemical composition, and supervised SVM and random forest perform accurate classification of macrocrystalline versus microcrystalline waxes.",{"name":82,"@type":73,"acceptedAnswer":83},"What is the role of discriminative wavelengths and spectral fingerprints?",{"text":84,"@type":76},"Along with five-fold cross-validation, the supervised models yield high-performance classification and highlight specific wavelengths that differentiate wax types. These wavelengths support constructing representative spectral fingerprints for automated assessment.","https://schema.org",{"og:url":52,"og:type":87,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":89,"canonical":52},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,115,119,122,127,130,134],{"id":20,"doc_module":4,"doc_module_name":46,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":46,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":116,"doc_module":4,"doc_module_name":46,"category_name":117,"show_sort_weight":29,"slug":118},7,"Healthcare","healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":120,"slug":121},30,"research-report",{"id":123,"doc_module":4,"doc_module_name":46,"category_name":124,"show_sort_weight":125,"slug":126},9,"Religion & Spirituality",20,"religion-spirituality",{"id":125,"doc_module":4,"doc_module_name":46,"category_name":128,"show_sort_weight":125,"slug":129},"World Cup","world-cup",{"id":131,"doc_module":4,"doc_module_name":46,"category_name":132,"show_sort_weight":131,"slug":133},10,"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":46,"category_name":136,"show_sort_weight":106,"slug":137},19,"General","general"]