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
Performance (binominal) strange error!!!
mahtab3000
Member Posts: 4 Contributor I
Hi,
I work with Performance(binominal) for getting "recall".
I use KDD'99 as dataset and it has a binary class named attack (values are: '0' , '1' ).
The running operation stoped with a strange error:
"The attribute 'prediction(label)' has 3 different values, must be 2 for calculation of 'recall'"
What does it mean?
Any idea's would be helpful.
Mahtab.T.
Tagged:
0
Answers
To solve the problem I would suggest using a parcel numbers operator to parse the numbers in the label column and then double check the statistics Tabb to see if they are now transformed from nominal to numerical.
I have had a similar error before when a previous value is still present somehow in the metadata even after it has been removed in the data. In that case, you can also solve this by adding a "Remove Unused Value" operator to your process. This will ensure that only the values that are present in the data (in your case, first make sure your nominal label has only 2 values) don't affect any other operators via incorrect metadata.
Lindon Ventures
Data Science Consulting from Certified RapidMiner Experts
I understand you are still having this problem. Perhaps you can post your xml process and a data sample for further investigation? Here are a few additional ideas:
Of course you should also check your data to make sure there really are only 2 values in the label as well.
Lindon Ventures
Data Science Consulting from Certified RapidMiner Experts