The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
[SOLVED] An attribute dissapears when I use generate id operator
Hi there, I have a stupid problem when using generate ID operator. I have a data set with a certain number of attributes. The first thing I do is to sort this using the "Material" attribute. Next, I generate an ID for each row. When I do this and look at the results, the column "Material" dissapears. I have looked for a solving for this problem but I found nothing. Also I cant understand why that happens. The only idea that cames to my mind and actually worked out was to duplicate the attribute Material by generating attribute operator,but I think this is an ugly and not professional solution.
Please dont give me lines of code to solve this problem since Im very new using rapidminer and the only thing I know is to work with processes.
Thanks you very much for your help.
PD: sorry if I made a lot of mistakes, I dont speak english :-\
Please dont give me lines of code to solve this problem since Im very new using rapidminer and the only thing I know is to work with processes.
Thanks you very much for your help.
PD: sorry if I made a lot of mistakes, I dont speak english :-\
0
Answers
that operator does not change your data. It adds a new id column, but that's it. Are you sure that it's not simply an issue of the id column pushing your Material attribute to the right and thus 'hiding' it behind a horizontal scrollbar?
If that is not the case, can you please a) post a screenshot of the results where you are missing your attribute and b) the process xml (you can access that by clicking "View -> "Show View" -> "XML").
Regards,
Marco
https://www.dropbox.com/s/rhyv0sjra5q5r8u/Captura%20de%20pantalla%202015-09-23%2010.16.57.png?dl=0
So what I did was generate Material2 before applying generate id operator, so when Material dissapears, it doesn't affect me. By the way, generate ID appears with red color but it works okay anyway. I have a huge lines of code and many subprocesess, so I coudnt insert it here because exceed the lenght and I coundt find out how to insert an scrolling window with the code on it,
Thanks you again.
there is one instance where an attribute will be overridden with "Generate ID": If you already have an attribute with the "id" role. It might be that your Material attribute is considered an id attribute.
Regards,
Marco