当XVal不是0时,如何从RPART计算分类树的准确性?
我想将模型的性能与KNN和幼稚的贝叶斯进行比较。但是问题在于,我无法以准确性的形式解释结果。在这种情况下,我没有设置任何培训和测试集,而是在此过程中设置XVAL = 10。那么,如何计算模型的准确性?
I want to compare the performance of the model with kNN and Naïve Bayes. But the problem is that I can't interpret the result in the form of accuracy. In this case, I did not set any training and test set but set xval = 10 in the process. So, how can I calculate the model's accuracy?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论