Options

Error: Label Not Present

varunm1varunm1 Moderator, Member Posts: 1,207 Unicorn
edited October 2019 in Help
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
Regards,
Varun
https://www.varunmandalapu.com/

Be Safe. Follow precautions and Maintain Social Distancing

Best Answers

Answers

  • Options
    lionelderkrikorlionelderkrikor Moderator, RapidMiner Certified Analyst, Member Posts: 1,195 Unicorn
    @varunm1,

    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

     
  • Options
    varunm1varunm1 Moderator, Member Posts: 1,207 Unicorn
    Sorry @lionelderkrikor. I updated the thread, label is set during data loading and i changed type to binominal as well
    Regards,
    Varun
    https://www.varunmandalapu.com/

    Be Safe. Follow precautions and Maintain Social Distancing

  • Options
    varunm1varunm1 Moderator, Member Posts: 1,207 Unicorn
    Final update, @rfuentealba informed that the user might have created Label (by typing) instead of selecting label from drop down and yes that is the reason. It took as user defined data type instead of Label. Thanks for quick resolution
    Regards,
    Varun
    https://www.varunmandalapu.com/

    Be Safe. Follow precautions and Maintain Social Distancing

Sign In or Register to comment.