Generate weights applied to examples
je23
New Altair Community Member
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
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
0
Best 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
2
Answers
-
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
2 -
Thank you, that worked1