Hello together,
The ExampleSet looks like:
Row No. Att1 Att2 Att3
1 A B C
2 A B C
3 A B C
4 D E F
5 D E F
6 A B C
7 D E F
7 D E F
So, what I now want to do is to compare each example with the one in the first row and check if they are similar to each other. If true the Result attribute has to show the same output (here "1" for row 1,2 and 3). This should be continued until the similarity is not true for the first time (here after row 3). After that the process has to be start again but this time the "first row" needs to be the one which was not similar on the previous comparision process (so in this case row 4). The following examples have to be compared with the new "first row" (e.g. row 5 with row 4, row 6 with row4 ... until the next false occures). This time the Result attribute should show the output "2".
And so on, and so on....
It is importend not to change the order of the examples because i need to know how often there is a difference within the ExampleSet.
This is how it should look like in the end:
Row No. Att1 Att2 Att3 Result
1 A B C 1
2 A B C 1
3 A B C 1
4 D E F 2
5 D E F 2
6 A B C 3
7 D E F 4
8 D E F 4
I was trying to solve the problem with the LoopExample and Generate Attribute operator but it didn't really work.
So does anybody has an idea? I have no clue
Many thanks and best regards,
Leo