summary_var_importance: Summary of variables importance

Description Usage Arguments Value Examples

View source: R/machinelearning.R

Description

Summary of variables importance of the models

Usage

1
summary_var_importance(performances, number.rows)

Arguments

performances

the result from training the models.

number.rows

number of variables to display.

Value

Returns list with the variables importance of each model.

Examples

1
2
3
4
5
6
7
  ## Example of getting a summary of variables importance
  library(specmine.datasets)
  data(cachexia)
  training.result = train_models_performance(cachexia, "pls", 
  	"Muscle.loss", "cv")
  result = summary_var_importance(training.result, 10)
  

specmine documentation built on Sept. 21, 2021, 5:06 p.m.