The RapidMiner community is on read-only mode until further notice. Technical support via cases will continue to work as is. For any urgent licensing related requests from Students/Faculty members, please use the Altair academic forum here.
"[Solved] Assigning IDs to tokens in word vector."
gamgambambam
Member Posts: 6 Contributor II
Hi,
I have this word vector:
http://postimg.org/image/zaahfep4v/
What i want to do is copy all the tokens from the top x-axis and align them next to their appropriate IDs.
For example, the token 'actual' (on the top x-axis) has the value of 0.366 and id of 3006. What I want is for the token 'actual' to be aligned next to its id. So in this case row 45 would go: id (3006), token (actual).
http://postimg.org/image/erk3d16h5/
Hope all this makes sense.
Thanks in advance for your help,
Alex
I have this word vector:
http://postimg.org/image/zaahfep4v/
What i want to do is copy all the tokens from the top x-axis and align them next to their appropriate IDs.
For example, the token 'actual' (on the top x-axis) has the value of 0.366 and id of 3006. What I want is for the token 'actual' to be aligned next to its id. So in this case row 45 would go: id (3006), token (actual).
http://postimg.org/image/erk3d16h5/
Hope all this makes sense.
Thanks in advance for your help,
Alex
Tagged:
0
Answers
if I understand you correctly you want to De-Pivot the data (search Pivot on the internet to understand the operation). For an example see the process below. The regular expression in the attribute_name parameter of De-Pivot selects all attributes but text and id.
Best regards,
Marius
You are a champion!
Alex