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

Christos_Karapapas
Christos_Karapapas New Altair Community Member
edited November 5 in Community Q&A
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

  • lionelderkrikor
    lionelderkrikor New Altair Community Member
    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

  • Christos_Karapapas
    Christos_Karapapas New Altair Community Member
    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.