【问题标题】:Association rule mining using weka使用 weka 进行关联规则挖掘
【发布时间】:2015-02-13 00:34:53
【问题描述】:

我正在尝试使用 weka 工具进行关联规则挖掘

我拥有的数据的记录长度不一样。

Ex of the data:
a,b,c
a,b,c,d,e,f
a
k,g,y,r

In the above example
R1: length is 3
R2: length is 6 and so on

因为记录长度不同。 weka 正在抛出类似

的错误
 wrong number of values read 3 expected 2.

请告诉我,如何使用 Weka 进行关联规则挖掘 记录的长度不一样?

【问题讨论】:

    标签: weka data-mining


    【解决方案1】:

    使用 sparse arff 文件格式。

    ARFF format documentation.

    {1 X, 3 Y, 4 "class A"}
    

    另见示例 .arff 文件。

    【讨论】:

      猜你喜欢
      • 2015-04-29
      • 1970-01-01
      • 1970-01-01
      • 2015-05-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-04-26
      • 1970-01-01
      相关资源
      最近更新 更多