ModelOriented / randomForestExplainer

A set of tools to understand what is happening inside a Random Forest
https://ModelOriented.github.io/randomForestExplainer/
230 stars 37 forks source link

Depreicated functions in called R package #29

Closed Kuroshiwo closed 8 months ago

Kuroshiwo commented 1 year ago

Below is a warning thrown when min_depth_interaction functions() is used.

interactions_frame <- min_depth_interactions(rf_fit, vars)

Warning messages: 1: funs() was deprecated in dplyr 0.8.0. ℹ Please use a list of either functions or lambdas:

Simple named list: list(mean = mean, median = median)

Auto named with tibble::lst(): tibble::lst(mean, median)

Using lambdas list(~ mean(., trim = .2), ~ median(., na.rm = TRUE))

ℹ The deprecated feature was likely used in the randomForestExplainer package. Please report the issue to the authors.