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

"How to get/set the vector of a text?"

gfyanggfyang Member Posts: 29 Maven
edited May 2019 in Help
Hi,

I want to get the vector (e.g., tf-idf) of a text , refine this vector, and then replace the original vector with the refined one. Is it ok by RM?

TextInput is able to provide a file containing the frequency information. Of course, we could calculate the tf-idf based on this file by ourselves, and get a new vector of tf-idf. Then, how to replace the original vector with this new vector?

Sincerely yours
gfyang

Answers

  • gfyanggfyang Member Posts: 29 Maven
    I think I have solved it.

    A text vector is just an example in the ExampleSet, and changing the values in an example will change the corresponding text vector.
  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi,
    the text input operators will store the text vectors in an exampleset as example. So after they finished everything is just a normal example and you might do whatever you want to to on it...

    Greetings,
      Sebastian
  • gfyanggfyang Member Posts: 29 Maven
    Thanks a lot :)
Sign In or Register to comment.