Options

similarity

BasharBashar Member Posts: 9 Newbie
edited January 2022 in Help
How are you .. How can I use data to similarity to calculate the similarity of a document with all the lines in a database and choose the most similar
Thank you
Tagged:

Best Answer

  • Options
    BalazsBaranyBalazsBarany Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 Unicorn
    Solution Accepted
    Hi!

    You would use these operators:
    - Read Database for getting the data
    - Process Documents from Data (from the Text Processing extension) to create a document vector
    - A second Read Database (or different data source) for the data to compare
    - Process Documents from Data, with the wor (Wordlist) output from the first one connected to the input of this one. This makes sure that the tables have the same structure
    - Cross Distances

    Then you would select the documents with the smallest distance (= largest similarity). 

    Regards,
    Balázs

Sign In or Register to comment.