Recommenders extension: How to convert integer results back into text?
RionArisu
New Altair Community Member
I have attempted to use "Recommenders" extension to build a model which provide recommendation based on collaborative filtering logic. The input data are as such:
User | Item | Score
A | Item X | 5
B | Item Y | 3
However, after the results are generated, it has automatically converted the user and item into ID, e.g.
User_id | Item_id | Rank
0 | 1 | 1
0 | 4 | 2
1 | 3 | 3
It seems like it has automatically change the nominal value into unique integers. May I know how can I convert these unique integers back into nominal results?
Many thanks!
User | Item | Score
A | Item X | 5
B | Item Y | 3
However, after the results are generated, it has automatically converted the user and item into ID, e.g.
User_id | Item_id | Rank
0 | 1 | 1
0 | 4 | 2
1 | 3 | 3
It seems like it has automatically change the nominal value into unique integers. May I know how can I convert these unique integers back into nominal results?
Many thanks!
Tagged:
0
Answers
-
Have you tried Numerical to Polynomial operator?0
-
Those numbers are actually nominal value, e.g. user_id = 0 represent User A, item_id = 1 represent item X. I have tried using operator which change nominal value to other value type, but those seemed to just change the value type of the column, but does not convert 0 to User A, 1 to item X etc.0