MLbench 示例
我听说 R 是统计软件开发人员中“事实上的”语言,我正在尝试一下。我已经了解了基础知识,但对我(C 开发人员)来说它仍然看起来“奇怪”。我认为查看一个工作示例来了解如何构建真正的 R 程序将非常有用。 我认为针对任何 mlbench 问题的 R 解决方案都是最佳的,因为我已经熟悉它并且它允许我将它与其他语言进行比较,但欢迎任何其他“玩具问题”示例。
下面的答案中指出了 mlbench 包,但它似乎只提供样本数据和生成样本数据的函数,但通用贝叶斯分类器除外。我正在寻找任何 mlbench 数据问题(DNA、玻璃、电离层等)的解决方案。也许我错过了什么?
I heard R is the "de facto" language amongst statistical software developers, and I'm giving it a try. I already know the basics, but it still looks "weird" to me (a C developer). I think it would be very useful to see a working example to see how a real R program is built.
I thought that an R solution for any of the mlbench problems would be optimal, because I'm already familiar with it and it would allow me to compare it to other languages, but any other "toy problem" example is welcome.
The mlbench
package is pointed out in the answers below, but it seems that it provides only sample data and functions to generate sample data, with the exception of a generic bayes classifier. I'm searching for solutions of any of the mlbench data problems (DNA, Glass, Ionosphere, etc.). Maybe I'm missing something?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许 mlbench 包就是您正在寻找的?您可以使用 print(nameOfFunction) 检查实现。
Maybe the mlbench package is what you are looking for? You can inspect the implementation by using print(nameOfFunction).