Generate weights applied to examples

je23
je23 New Altair Community Member
edited November 2024 in Community Q&A
Hi, Im very new to data science in general and Rapid Miner.  I have a process where I have used the Generate weight operator and obtained a result.  Now I want to apply that weight to the example attributes.  

Example:
Row No   Attrib 1    Weight   Attrib 2
1              Label          .69     Number

I want the weight to be applied to Attribute 2 so the Number is the weighted data.  

Thank you     
Tagged:

Best Answer

  • tftemme
    tftemme New Altair Community Member
    Answer ✓
    Hi @je23

    You can use the Generate Attribute operator to create a new attribute which is just the product of the Weight and the Attrib 2 attributes.

    Be aware that you need to set the name of attributes in squared brackets if they have blanks in their names.

    Best regards,
    Fabian

Answers

  • tftemme
    tftemme New Altair Community Member
    Answer ✓
    Hi @je23

    You can use the Generate Attribute operator to create a new attribute which is just the product of the Weight and the Attrib 2 attributes.

    Be aware that you need to set the name of attributes in squared brackets if they have blanks in their names.

    Best regards,
    Fabian
  • je23
    je23 New Altair Community Member
    Thank you, that worked