分类神经网络图已经跑出来了
explainer<-lime::lime(trainset,network,quantile_bins = F)
explanation<-lime::explain(testset[14:80,],explainer,n_labels = 1,n_features = 2)
Error: The class of model must have a model_type method. See ?model_type to get an overview of models supported out of the box
我觉得是testset[14:80,]中的参数没有设置好
绘制出LIME图