The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Generate ranked example set from word vector data

aruberutouaruberutou Member Posts: 23 Contributor II
edited December 2019 in Help
Hello,

This is my first post here, so please pardon any n00bishness.

I have a simple problem, with a potentially simple solution, and I am hoping for some kind help.

For a given example, is there a way to rank word vectors (i.e., sort decreasing) and then generate a new example set with, say:
- row titles "Rank 1", "Rank 2", ... "Rank 10"
- attributes titles corresponding to each example ID
- attribute values corresponding to the word vector titles (original attributes)

I have been trying to use transpose, followed by loop attributes containing: 1) sort (%{loop_attribute}), followed by 2) a generate attribute that copies the ranked words to a new example set as described above. I am stuck, however, at the "generate new example set" part.

This is easy enough in Excel, using the large() function. However, I was hoping to implement in Rapidminer, so as to save some effort.

Apologies if this has already been asked, or if its not as straight-forward as my post assumes.

Thanks in advance,
Sign In or Register to comment.