AlanInglis / vivid

This package is for visualising variable importance and variable interaction.
https://alaninglis.github.io/vivid/
20 stars 2 forks source link

Comply with upcoming flashlight version >= 1.0.0 #1

Closed mayer79 closed 1 year ago

mayer79 commented 1 year ago

Hello vivid team

Thanks for your beautiful package!

I am the maintainer of {flashlight}, and currently working on a relatively large update (version 1.0.0) that will be released in 1-2 months.

One of the changes affects the column names (not the column order) of the data objects resulting from calling light_importance() and light_interaction(). This PR tries to make your code working with old and new {flashlight} versions.

Note: There is a reorder() after calculation of the pairwise interaction values. I don't think it is necessary for the matrix organization below, so we might drop it.