[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-121125-en":3,"doc-seo-121125-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},121125,8796095461610,"Oliver","https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c",8,"Research & Report","Machine learning regression algorithms for generating chemical element maps from X-ray fluorescence data of paintings","Generating chemical element maps of paintings from X-ray fluorescence (XRF) data supports conservators and art historians by revealing pigment distributions used for dating, restoration detection, and conservation decisions. Hand-held XRF scanners are portable but yield sparse measurements, requiring improved reconstruction methods. A SmART_Scan approach based on minimum hypercube distance (MHD) exists, yet this study proposes regression-based machine learning alternatives. Eight regression models are evaluated against MHD on two paintings with different features, using hold-out validation and cross-validation.","Chemometrics and Intelligent Laboratory Systems 248 (2024) 105116  \nContents lists available at ScienceDirect  \nChemometrics and Intelligent Laboratory Systems  \njournal [homepage: www.elsevier.com/locate/chemometrics](homepage: www.elsevier.com/locate/chemometrics)  \n| Machine learning regression algorithms for generating chemical element maps from X-ray fluorescence data of paintings\u003Cbr>Juan Ruiz de Miras a, *, María Jos´e Gacto a, María Rosario Blanc b, Germ´an Arroyo a, Luis L´opez a, Juan Carlos Torres a, Domingo Martín a\u003Cbr>a Software Engineering Department, University of Granada, Granada, Spain b Department of Analytical Chemistry, University of Granada, Spain |  |  |\n| --- | --- | --- |\n| A R T I C L E I N F O |  | A B S T R A C T |\n| Keywords:\u003Cbr>Machine learning Random forest Regression problem X-ray fluorescence Chemical element maps |  | Generating chemical element maps of paintings from X-ray fluorescence (XRF) data is a very valuable tool for the scientific community of conservators and art historians. Hand-held XRF scanners are cheap and easily portable but their use provides scans with a few data, so additional analytical tools are needed to obtain reliable chemical element maps from them. Recently, the software tool SmART_Scan was released, which uses an algorithm based on the minimum hypercube distance (MHD) to compute this kind of maps. In this paper, we propose a new methodology to address this problem by using machine learning algorithms for regression as alternative and more accurate techniques than MHD. We tested MHD versus eight machine learning regression algorithms on two paintings with different features. Our results showed that machine learning algorithms Random Forest and kNN significantly outperformed MHD in Mean Squared Error (MSE) and coefficient of determination (R2) for all the experiments. When using experts’ data and a hold-out validation, kNN was the best-ranked algorithm. Random Forest was the best-ranked algorithm when cross-validation was used. We did not find significant differences in average MSE nor in R2 between kNN and Random Forest, so we can conclude that Random Forest is the best-suited algorithm for computing chemical element maps of paintings from XRF data. |\n\n1. Introduction  \nX-ray fluorescence (XRF) scanners are very valuable tools for analyzing the distribution of pigments on paintings, among many other applications [1]. These scanners are very useful for the scientific community of conservators and art historians because analyzing the pigments used in a painting allow them to date the work, identify previous restorations and perform conservation techniques [2]. An XRF scan on a certain point of a painting returns an energy spectrum whose peaks correspond to the XRF emissions of chemical elements. As the characteristic energy of each chemical element is known, it is possible to identify the elements present in that point from the XRF spectrum [2].  \nXRF scanners can be grouped into two main families: MacroXRF and hand-held scanners. MacroXRF scanners produce very precise results allowing the users to scan thousands of samples on the painting, but they are much more expensive and difficult to transport than hand-held portable scanners. These are the reasons why the development of  \nefficient and accurate data analysis tools for those less expensive and less complex hand-held scanners is an important focus of study nowadays [1].  \nIn this line of work, Martin-Ramos et al. presented SmART_Scan [3], a computer program for generating chemical element maps showing the distribution of chemical elements in the painting. These maps are generated using as inputs an RGB image of the painting and a limited number of XRF scanned points selected by an expert. SmART_Scan obtains the maps by combining the data through a method called Minimum Hypercube Distance (MHD). The short processing time and the quality of the maps generated position SmART_Scan as a valuable alternative approach to an","cbCaiauSUDJKp7TG","https://ap.wps.com/l/cbCaiauSUDJKp7TG","pdf",1032910,1,14,"English","en",105,"# Introduction\n## XRF scanners and pigment characterization\n## MacroXRF vs hand-held XRF\n## Prior work: SmART_Scan and MHD approach","[{\"question\":\"Why are chemical element maps important for paintings?\",\"answer\":\"They support conservators and art historians by revealing pigment distributions that help with dating artworks, identifying prior restorations, and informing conservation techniques.\"},{\"question\":\"What limitation of hand-held XRF motivates new analysis methods?\",\"answer\":\"Hand-held scanners are portable but provide scans with only a few data points, so additional tools are needed to generate reliable element maps.\"},{\"question\":\"Which regression models outperform the MHD baseline in the experiments?\",\"answer\":\"Random Forest and kNN significantly outperform MHD in mean squared error (MSE) and R2 across experiments; kNN ranks best with hold-out validation, while Random Forest ranks best with cross-validation.\"}]","Machine learning regression algorithms for generating chemical element maps from X-ray fluorescence data of paintings | PDF",1785733879,35,{"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},"machine-learning-regression-algorithms-for-generating-chemical-element-maps-from-x-ray-fluorescence-data-of-paintings","",{"@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/machine-learning-regression-algorithms-for-generating-chemical-element-maps-from-x-ray-fluorescence-data-of-paintings/121125/",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-03",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 are chemical element maps important for paintings?","Question",{"text":75,"@type":76},"They support conservators and art historians by revealing pigment distributions that help with dating artworks, identifying prior restorations, and informing conservation techniques.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"What limitation of hand-held XRF motivates new analysis methods?",{"text":80,"@type":76},"Hand-held scanners are portable but provide scans with only a few data points, so additional tools are needed to generate reliable element maps.",{"name":82,"@type":73,"acceptedAnswer":83},"Which regression models outperform the MHD baseline in the experiments?",{"text":84,"@type":76},"Random Forest and kNN significantly outperform MHD in mean squared error (MSE) and R2 across experiments; kNN ranks best with hold-out validation, while Random Forest ranks best with cross-validation.","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,120,123,128,131,135],{"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":118,"slug":119},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":121,"slug":122},30,"research-report",{"id":124,"doc_module":4,"doc_module_name":46,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":46,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":132,"doc_module":4,"doc_module_name":46,"category_name":133,"show_sort_weight":132,"slug":134},10,"Lifestyle","lifestyle",{"id":136,"doc_module":4,"doc_module_name":46,"category_name":137,"show_sort_weight":106,"slug":138},19,"General","general"]