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

Attribute not found even though it has been selected

vinnylocalvinnylocal Member Posts: 3 Learner I
using the 2 files uploaded here  i m trying to run a classification model. however even though i assign the label role to Category, i keep receiving the message in the screenshot. can you please help me?. i have also attached the RM file i m using.
has anyone experienced this before?

Answers

  • CKönigCKönig Employee-RapidMiner, Member Posts: 70 RM Team Member
    Hi vinnylocal,

    put a "Breakpoint before" (Shift+F7) on the Decision Tree operator and have a look at the actual example set that's going in.

    The process you've posted is not correctly configured (starts with missing repository entry for "Retrieve"), so it's hard to guess what you're doing - but you're probably setting the role label on a text field that afterwards gets processed into something else. Thus, none of the resulting attributes has the role label anymore.

    Have a nice day,
    Christian
  • vinnylocalvinnylocal Member Posts: 3 Learner I
    thanks Ckonig. 
    have done as you said. i can tell you that even inspecting the input of the decision tree i can see the feature marked as label. picture attached.  have also attached the rmp file and the csv so that you can try...since i m thinking my laptop might have some issues
  • ruhailaruhaila Member Posts: 48 Guru
    Hi,

    I believe you want to predict spam text? If so, then you don't need to use the TEXT VECTORIZATION operator, also no need for the PROCESS DOCUMENTS FROM DATA operator. hth
  • ruhailaruhaila Member Posts: 48 Guru
    Oh yes, and leave only one SET ROLE operator. You don't need two. hth
Sign In or Register to comment.