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
Next 'evaluate R' Bug: roles of true/false not detected correctly
Hi.
I cant register to bugzilla due to another bug (dont you guys get paid for providing RapidMiner???).
Here is another bug concerning the 'execute R' operator:
When one wants to apply an R model to test data then one applies a prediction and one has to set the role to 'prediction' in order to be able to use the evaluation operators (performance, ...) from RapidMiner. However, RapidMiner does not see that 'true' means 'true', i.e. when doing a X-validation, then in the first round, 'true' means true but in the second round... RapidMiner is confused and thinks 'false' means true. Then I get the java exception from src/com/rapidminer/operator/performance/BinaryClassificationPerformance.java:
Cannot build average for different positive classes (true/false)
So what is missing here is to give the user access to another field in the mataData R object called 'orderOfValues' which should be a list with names being the values appearing in the table and the entry in the list being a string saying either 'TRUE' or 'FALSE' for binomial roles and an integer in the polynomial case.
The only solution I found so far is to enter a line 'false false' as the first line into the result data table. But am I sure then that this really gets interpreted as 'false' and not as the common 'true'? I dont know.
I cant register to bugzilla due to another bug (dont you guys get paid for providing RapidMiner???).
Here is another bug concerning the 'execute R' operator:
When one wants to apply an R model to test data then one applies a prediction and one has to set the role to 'prediction' in order to be able to use the evaluation operators (performance, ...) from RapidMiner. However, RapidMiner does not see that 'true' means 'true', i.e. when doing a X-validation, then in the first round, 'true' means true but in the second round... RapidMiner is confused and thinks 'false' means true. Then I get the java exception from src/com/rapidminer/operator/performance/BinaryClassificationPerformance.java:
Cannot build average for different positive classes (true/false)
So what is missing here is to give the user access to another field in the mataData R object called 'orderOfValues' which should be a list with names being the values appearing in the table and the entry in the list being a string saying either 'TRUE' or 'FALSE' for binomial roles and an integer in the polynomial case.
The only solution I found so far is to enter a line 'false false' as the first line into the result data table. But am I sure then that this really gets interpreted as 'false' and not as the common 'true'? I dont know.
Tagged:
0
Answers
I don't want to be caught out when using similar. I wonder if the Remap Binominals operator would help? Have you tried that?