How to join multiple excel sheets to combine them into one cluster (k-means) ?
DDresen
New Altair Community Member
Hey there,
I'm trying to join (in this example 2 but the purpose is to join a huge number of excels) some excel sheets with the join operator to cluster similar documents from different datasets. My problem is, that the join operator overwrites the datasets which are identical in their structure to that the exampleset that arrives at the cluster operator is empty. Attached you will find the process I'm using + the datasets.
How do I solve this? Thanks in advance!
I'm trying to join (in this example 2 but the purpose is to join a huge number of excels) some excel sheets with the join operator to cluster similar documents from different datasets. My problem is, that the join operator overwrites the datasets which are identical in their structure to that the exampleset that arrives at the cluster operator is empty. Attached you will find the process I'm using + the datasets.
How do I solve this? Thanks in advance!
0
Best Answer
-
Hi,in this case you likely want to append BEFORE process Documents, otherwise your normalization equations are off.Another "trick" is the operator Append (SuperSet), which will allow this operation and add missings. But i suspect this is not what you want.Best,Martin5
Answers
-
1
-
0
-
I'm sorry, just trying to make sense of my problem which is hard when you dont really know what your problem is. But I guess I evaluated what the problem is. As you can see in my attached process I'm trying to read multiple datasets which only cotain text, seperated by ','. After replacing missing values I'm using the process Documents operator to tokenize, transform cases etc. and the most important part of it: to create tf-idf word vectors of those tokens. After doing this for each dataset I would like to append those vector-matrices to cluster them afterwards.
This is where it cracks. It is obviously not possible to append examplesets with different attribute names (which have now the values of the generated text-tokens - I will attach a picture for better understanding)
So my question is: How do I append those matrices to cluster them afterwards?0 -
Hi,in this case you likely want to append BEFORE process Documents, otherwise your normalization equations are off.Another "trick" is the operator Append (SuperSet), which will allow this operation and add missings. But i suspect this is not what you want.Best,Martin5