dataset <- example_dataset
feature_importance <- runif(nrow(dataset$feature_info))
names(feature_importance) <- dataset$feature_info$feature_id
dataset <- add_feature_importance(dataset, feature_importance)
head(dataset$feature_importance)
Run the code above in your browser using DataLab