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
"Calculated Performance Measurement"
Hello all.
First off, let me say how much I am enjoying RapidMiner. It is an amazing application. When I first started using statistics (many decades ago) no one could have imagined such a thing.
I am having trouble figuring something out. What I want to do is generate a performance measurement combining confidence(true) and an attribute from my example set: confidence(true)*RecidivismImpact. This is being done from within an X-Validation.
I tried using "generate_attributes" to define an attribute based on the formula and then getting the average from Extract Performance. This works fine on the first loop -- if I set a break point I can see the results I want. However, on the second loop, this method causes a "duplicate attribute name" exception.
In hopes of side-stepping the error, I tried renaming the new attribute with Rename Generic (after performing the performance extraction.) I still got the same error. I also tried filtering out the attribute with Select Attributes. That didn't help either. Any suggestions would be appreciated.
Regards, Charles
First off, let me say how much I am enjoying RapidMiner. It is an amazing application. When I first started using statistics (many decades ago) no one could have imagined such a thing.
I am having trouble figuring something out. What I want to do is generate a performance measurement combining confidence(true) and an attribute from my example set: confidence(true)*RecidivismImpact. This is being done from within an X-Validation.
I tried using "generate_attributes" to define an attribute based on the formula and then getting the average from Extract Performance. This works fine on the first loop -- if I set a break point I can see the results I want. However, on the second loop, this method causes a "duplicate attribute name" exception.
In hopes of side-stepping the error, I tried renaming the new attribute with Rename Generic (after performing the performance extraction.) I still got the same error. I also tried filtering out the attribute with Select Attributes. That didn't help either. Any suggestions would be appreciated.
Regards, Charles
Tagged:
0
Answers
In short, RapidMiner stores the data using a model-view concept so that the data is copied less times but you can access it from multiple positions. This one of the reasons why rapidminer is so fast. Hence your attribute construction operator adds column which is filtered out in the view, but of cause still present in the model.
how to solve the problem: use the operator "MaterializeDataInMemory". This one persists the current view in a separate model without touching the original data. I recommend to use it before or after the modelapplier-operator.
hope this was helpful
regards,
Steffen
Have a great day, Charles.