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
Error: Label Not Present
Hello,
One of my students is using rapidminer on Mac Pro (Mojave) Java 8. The process has a label in the dataset and still its throwing an error stating "Input example set doesn't have label".
Label column in dataset is label and assigned during data loading into repository. I checked the process and it shows label column
I attached the process .rmp, dataset and log file.
@rfuentealba @sgenzer
Thanks for your help
One of my students is using rapidminer on Mac Pro (Mojave) Java 8. The process has a label in the dataset and still its throwing an error stating "Input example set doesn't have label".
Label column in dataset is label and assigned during data loading into repository. I checked the process and it shows label column
I attached the process .rmp, dataset and log file.
@rfuentealba @sgenzer
Thanks for your help
Regards,
Varun
https://www.varunmandalapu.com/
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing
Tagged:
1
Best Answers
-
rfuentealba RapidMiner Certified Analyst, Member, University Professor Posts: 568 UnicornHello, my dear @varunm1I didn't have the same repository structure with me, but I simply removed that one, added a reader for the provided Excel file, added a "Set Role" before the multiplication of parameters, and the Cross Validations passed without problems.See attached process and a picture:Also the log indicates that the data didn't have a label before RapidMiner executed the three stooges cross validations. It actually switched from stratified sample to shuffled sample because it didn't have a way to reorganize the data in function of the labels.I marked the line that indicates it on your provided log file.Perhaps the process of changing the .ioobject containing the data wasn't saved?There are two easy fixes. One is to add the Set Role operator right after reading your data. The other one is opening your .ioobject with the Data Editor panel and make fixes accordingly.All the best,Rod.
7 -
lionelderkrikor RapidMiner Certified Analyst, Member Posts: 1,195 Unicorn@varunm1,
I tested by importing your Excel file (via "import data") and by setting Label as "label" and changing Label type as "Binominal" during import and the process works fine...
To see if, in your case, it is linked to Logistic Regression can you disable the CV associated to Logistic Regression in order
to see if the other CV are executing without bugs ???
Thanks
Regards,
Lionel5
Answers
The process you shared has no defined Label (no Set Role operator in the process)....
By adding a Set Role and set the attribute "Label" as label, the process works fine....
Hope this helps,
Regards,
Lionel
PS : I'm using RM 9.4 / Windows 10
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing