How to apply weight in model building?

Xing_Liu
Xing_Liu New Altair Community Member
edited November 2024 in Community Q&A
Hi,

I have a column named weight which I want to use in model building process so that the record will be treated according to its weight instead of its count.

Your help is highly appreciated.
Thanks,


Xing


Tagged:

Answers

  • Telcontar120
    Telcontar120 New Altair Community Member
    Use the Set Role operator and change the role for your weight attribute to the type "weight" and it should be fine.
    But you will also need to confirm that the ML algorithm you are using accepts weights, which can be confirmed by clicking on operator information (or pressing F1) when the operator is highlighted.