Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
How to manually give attribute weight
can_yucebas
Member Posts: 7 Contributor II
Hi to all,
I'm using a categorical dataset with 20 attributes and analyzed it successfuly with ID3 deision tree. What I'm trying do to for next step is to give attribute some weights so these higher weighted attributes to appear in first levels (nearest too root) of the tree. Can you help me about this? My biggest problem is I could not find an operator that will allow me to give attribute weights manually
I'm using a categorical dataset with 20 attributes and analyzed it successfuly with ID3 deision tree. What I'm trying do to for next step is to give attribute some weights so these higher weighted attributes to appear in first levels (nearest too root) of the tree. Can you help me about this? My biggest problem is I could not find an operator that will allow me to give attribute weights manually
Tagged:
0
Answers
I wish to multiply these frequencies by the weight given to each term, eg if the document reads 'This was dire, a complete failure' I have the word 'dire' appearing once and also 'failure' appearing once. 'Dire' scores -3 and 'failure' scores -2, so the score for that comment would be 1*-3 plus 1*-2 = -5.
I can't see how to do that - the Weight by User Specification operator requires each word to be entered separately and there are about 2500 words in my AFINN database so that's no good...
many thanks
David Hampton
You may want to take a look at Word2Vec. It does exactly that.
All the best,
Rodrigo.