Plot neural net work

前端 未结 2 1434
时光取名叫无心
时光取名叫无心 2021-01-21 17:24

I use RStudio. In order to plot neural network, I use the package neuralnet and function \'plot\' to do the picture. But I find that every time, it will just show m

相关标签:
2条回答
  • 2021-01-21 17:48

    I find it in some place, we can call dev.off() until RStudio never use other device but only studio plot itself

    For studio part we can use plot(nn, rep="best") to get the plot. I have not idea why it works.

    0 讨论(0)
  • 2021-01-21 18:03

    I am late to the post, was having the same issue but by passing "dev="pdf" in chunk options I was able to solve. Hope this proves helpful for anyone else having the same problem. The code

    {r,echo=FALSE,dev="pdf"}
    
    0 讨论(0)
提交回复
热议问题