【问题标题】:create a custom numeric arff weka创建一个自定义数字 arff weka
【发布时间】:2015-12-11 04:15:22
【问题描述】:

您好,我想在 WEKA 中创建一个以下 cusotm 数字 arff。我看到了一些 arff 的例子,但仍然很困惑我如何在 arff 中建模我的问题。我正在尝试将其用于朴素贝叶斯分类器。

attributes = {long, sweet, colour}
long = {yes, no}
sweet = {yes, no}
colour = {yellow, other}
fruits = {banana, orange, other}

for example I have 400 instances of 
long(yes) , banana
350 of 
sweet(yes), banana
and 450 of
yellow(yes), banana 

对于橙子和其他水果同样明智。我如何在 arff 中建模

【问题讨论】:

    标签: weka naivebayes


    【解决方案1】:

    如果您从未从头开始创建过 ARFF 文件,最简单的方法是将您的数据放入 CSV 文件中,从 weka 资源管理器中打开它并将其另存为 ARFF。属性将得到适当处理。从那里,如果需要,修改您创建的 ARFF 会更容易。

    【讨论】:

      猜你喜欢
      • 2015-06-24
      • 1970-01-01
      • 2016-12-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-08-12
      • 1970-01-01
      • 2014-06-13
      相关资源
      最近更新 更多