How to plot the neural network found by train

假装没事ソ 提交于 2021-02-05 10:13:08

问题


I am trying to generate a plot of the best neural network found using the following code with a very tiny dataset. This gives me a plot of the accuracy not the neural net.

my.grid <- expand.grid(.decay = c(0.5, 0.1), .size = c(5, 6, 7))
nn.cr <- train(Acceptance ~ Salt + Fat, data = df,
               method = "nnet", tuneGrid = my.grid)
plot(nn.cr)

来源:https://stackoverflow.com/questions/64824753/how-to-plot-the-neural-network-found-by-train

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!