问题
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
回答1:
You can make use of the InputMappedClassifier
. If you keep the original doc collection you have two other options described here.
来源:https://stackoverflow.com/questions/21067439/how-to-match-attributes-order-of-two-instances-in-weka