plot_results_vip: Plot variable importance scores

View source: R/plot_results_vip_functions.R

plot_results_vipR Documentation

Plot variable importance scores

Description

Internal function of predict_trait_MET().

Variable importance can be calculated based on model agnostic approaches (permutation-based methods, like for stacking_reg_1 or DL_reg), or on model-specific methods (gain metric for GBDT methods xgb_reg).

Usage

plot_results_vip(x, path_plot, type)

Arguments

x

List of results from the model fitted on the complete training set

path_folder

a character where the plots should be saved.

Value

A variable importance plot is saved in the path_folder. No specific object returned otherwise.

Author(s)

Cathy C. Westhues cathy.jubin@hotmail.com


cjubin/learnMET documentation built on Nov. 4, 2024, 6:23 p.m.