[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-119173-en":3,"doc-seo-119173-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},119173,8796095461564,"Liam","https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d",8,"Research & Report","vivid - An R package for Variable Importance and Variable Interactions Displays for Machine Learning Models - research article","vivid is an R package built to visualize variable importance and variable interactions in machine learning models. It supports heatmap and graph-based views for joint inspection of importance and interactions, plus partial dependence plots in a matrix layout and an alternative layout focused on important variable subsets. The article explains implementation design choices to improve interpretability, documents package structure and functions, and demonstrates practical usage on a dataset, emphasizing how visualization aids understanding of model predictions.","vivid: An R package for Variable Importance and Variable Interactions Displays for Machine Learning Models  \nby Alan Inglis, Andrew Parnell, and Catherine Hurley  \nAbstract We present vivid, an R package for visualizing variable importance and variable interactions in machine learning models. The package provides heatmap and graph-based displays for viewing variable importance and interaction jointly, and partial dependence plots in both a matrix layout and an alternative layout emphasizing important variable subsets. With the intention of increasing machine learning models’ interpretability and making the work applicable to a wider readership, we discuss the design choices behind our implementation by focusing on the package structure and providing an in-depth look at the package functions and key features. We also provide a practical illustration of the software in use on a data set.  \n1 Introduction  \nOur motivation behind the creation of the vivid package is to investigate machine learning models ina way that is simple to understand while also offering helpful insights into how variables affect the fit. We do this through the use of heatmaps, network graphs, and both a generalized pairs plot style partial dependence plot (PDP) (Friedman 2000) and a space saving PDP based on key variable subsets. While the techniques and fundamental goals of these visualizations have been discussed in Inglis, Parnell, and Hurley (2022a), we focus here on the implementation details of the package by providing a complete listing of the functions and arguments included in the vivid package with further examples indicating advanced usage beyond that previously shown. In this work we examine the decisions made when designing the package and provide an in-depth look at the package functions and features with the intention of making the work applicable to a larger readership. This article outlines the general architectural principles implemented in vivid, such as the data structures we use and data formatting, function design, filtering techniques, and more. We illustrate each function by way of a practical example. Our package is available on the Comprehensive R Archive Network at [https://cran. r](https://cran. r)[project.org/web/packages/vivid](project.org/web/packages/vivid or on GitHub at)[ or on GitHub at](project.org/web/packages/vivid or on GitHub at) [https://github.com/AlanInglis/vivid](https://github.com/AlanInglis/vivid).  \nIn recent years machine learning (ML) algorithms have emerged as a valuable tool for both industry and science. However, due to the black-box nature of many of these algorithms it can be challenging to communicate the reasoning behind the algorithm’s decision-making processes. With the need for transparency in ML growing it is important to gain understanding and clarity about how these algorithms are making predictions (Antunes et al. 2018; Felzmann et al. 2019) . Many R packages are now available that aid in creating interpretable machine learning (IML) models such as iml (Molnar, Bischl, and Casalicchio 2018), DALEX (Biecek 2018), and lime (Hvitfeldt, Pedersen, and Benesty 2022) . For a comprehensive review of IML, see Molnar (2022) and Biecek and Burzykowski (2021) .  \nHow we choose to visualize aspects of the model output is of vital importance to how a researcher can interpret and communicate their findings. Consequently, model summaries such as variable importance and variable interactions (VImp and VInt; together we term these VIVI) are frequently used in various fields to comprehend and explain the hidden structure in an ML fit. In ecology they are employed to determine the causes of ecological phenomena (e.g. Murray and Conner 2009); in meteorology VImp measures and partial dependence plots are used to examine air quality (e.g. Grange et al. 2018); in bioinformatics, understanding gene-environment interactions have made these measures an important tool for genomic analysis (e.g. Chen and Ishwaran 2012) .  \n","cbCaifICyCOBeZuF","https://ap.wps.com/l/cbCaifICyCOBeZuF","pdf",735085,1,18,"English","en",105,"# Introduction\n## Interpretable machine learning and the need for transparency\n## Visualizing model output: variable importance and interactions (VIVI)\n## Comparing R packages and summarizing VIVI measures","[{\"question\":\"What does the vivid R package provide for machine learning model interpretation?\",\"answer\":\"It provides visualizations for variable importance and variable interactions, including heatmaps, network graphs, and partial dependence plots in multiple layouts.\"},{\"question\":\"How does vivid support examining variable interactions together with importance?\",\"answer\":\"It offers heatmap and graph-based displays designed to view variable importance and interactions jointly.\"},{\"question\":\"What design goal does the article emphasize for vivid?\",\"answer\":\"It focuses on increasing machine learning model interpretability and making the implementation accessible to a wider readership by explaining package structure and functions.\"}]","vivid - An R package for Variable Importance and Variable Interactions Displays for Machine Learning Models - research article | PDF",1785722909,45,{"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},"vivid-an-r-package-for-variable-importance-and-variable-interactions-displays-for-machine-learning-models-research-article","",{"@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/vivid-an-r-package-for-variable-importance-and-variable-interactions-displays-for-machine-learning-models-research-article/119173/",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},"What does the vivid R package provide for machine learning model interpretation?","Question",{"text":75,"@type":76},"It provides visualizations for variable importance and variable interactions, including heatmaps, network graphs, and partial dependence plots in multiple layouts.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"How does vivid support examining variable interactions together with importance?",{"text":80,"@type":76},"It offers heatmap and graph-based displays designed to view variable importance and interactions jointly.",{"name":82,"@type":73,"acceptedAnswer":83},"What design goal does the article emphasize for vivid?",{"text":84,"@type":76},"It focuses on increasing machine learning model interpretability and making the implementation accessible to a wider readership by explaining package structure and functions.","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"]