How to ignore specific columns at the lab output of the Apply model operator?

Christos_KarapapasChristos_Karapapas Member Posts: 25 Contributor II
edited December 2019 in Help
From what I see in the Result section, when I connect the lab output of the Apply model operator to results, the following columns are displayed, Row No., prediction, some confidence columns (8 in my case), and also all the regular attributes.

What I want is to keep just the prediction, I have tried with the select attributes operator but apparently it's not made for this purpose.
Any ideas please?

Answers

  • lionelderkrikorlionelderkrikor Moderator, RapidMiner Certified Analyst, Member Posts: 1,193 Unicorn
    HI @chris_skg,

    Yes, you can use the Select Attributes operator.
    Select attribute filter type = single
    Choose or enter manually the name of the prediction attribute (for example (prediction(label))
    Check include special attributes

    To have an idea, see the process in attached file

    Regards,

    Lionel

    mschmitzBalazsBaranyIngoRMChristos_Karapapas
  • Christos_KarapapasChristos_Karapapas Member Posts: 25 Contributor II
    edited December 2019
    lionelderkrikor Hello! Thank you for the answer and sorry for my late response.

    That is exactly what I was trying to do, but for some reason I couldn't see any of the attributes in the Select attribute operator.

    I finally ended up using the Transpose operator, followed by a Filter examples operator where I selected the prediction and ignored the confidence fields.
Sign In or Register to comment.