Collaborative Filtering Item Recommendation how can I create output "item_id" with title name

tonybunjong
tonybunjong New Altair Community Member
edited November 5 in Community Q&A
hi 

I use Rapidminner for Collaborative Filtering Item Recommendation with user k-nn  and the result at "item_id" is number like this


so how can I create or replace number in 'item_id'  with title name like this. Or how can I show output with title name in new attribute.


I try to use set role operator and set additional roles : attribute 'title' with 'item identification' but output is the same. the "item_id" still be number. 

sorry for my English isn't good.
Thanks you for your help

Best Answer

  • Caperez
    Caperez Altair Community Member
    Answer ✓
    Hi @tonybunjong,

    if your item_id attribute  is a polynominal type,  you can use the Map Operator to replace the old values for new ones.

    Best

Answers

  • Caperez
    Caperez Altair Community Member
    Answer ✓
    Hi @tonybunjong,

    if your item_id attribute  is a polynominal type,  you can use the Map Operator to replace the old values for new ones.

    Best
  • Karn
    Karn New Altair Community Member
    Hi @ceaperez

    Thank you for the solution.

    Now I'm face the same problem but I can't use Map Operator because as I understand Map Operation is replace the value one by one but in my case I have a lot value to reply, Do we have the other way to resolve this problem.

    From the screenshot below, I want to show Movie Name (title) instead of item_id.






  • Caperez
    Caperez Altair Community Member
    Hi @Karn
    Can you share your process?
    Best, 

    Cesar
  • Karn
    Karn New Altair Community Member
    Hi @ceaperez

    I have share process and the data as an attachment.

    Thanks you for your help
  • Caperez
    Caperez Altair Community Member
    Hi @Karn,
    I can't open the process file, can you share it again.
    best, 

    Cesar