如何搭配属性在秧鸡两个实例顺序 [英] how to match attributes order of two instances in weka

查看:123
本文介绍了如何搭配属性在秧鸡两个实例顺序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这种格式的 StringToWordVector 过滤器输出两个实例:

  instances1A B C
1 3 2
5 6 7
instances2B C A
8 9 1
5 7 8

我要匹配这些属性,这种格式制作一个合并实例:

  A B C
1 2 3
5 6 7
1 8 9
8 5 7


解决方案

您可以使用的 InputMappedClassifier 。如果保持原来的文档集合你有其他两个选项描述的这里

i have two Instances from StringToWordVector filter' output in this format:

instances1

a b c 
1 3 2 
5 6 7


instances2

b c a
8 9 1
5 7 8

i want to match these attribute and make a merged instances in this format :

a b c
1 2 3
5 6 7 
1 8 9
8 5 7

解决方案

You can make use of the InputMappedClassifier. If you keep the original doc collection you have two other options described here.

这篇关于如何搭配属性在秧鸡两个实例顺序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆