Hi fellow UR users,I have few doubts in the Universal Recommender template that I am using currently with my PredictionIO framework:1) How do I recommend items based on the user preferences without using them in the query? The algorithm itself should be recommending items based on the user preferences. I have a separate data of user preference which I can put as an input. But where exactly should I put it. Need help.
For ecom start with a “primary indicator” of “buy”, then add other things you know about user behavior like “detail-view” or “category-preference”, you can even add “search-terms” where the targetEntityId is the term itself. These are made into “events” sent as inout to the engine.
2) How does UR treat the properties of $set events of Items? Does it see it as text data describing the item properties and use NLP there to process it to recommend better or is it just for the querying purpose? Also, how can I keep few of the columns in $set events of items to train, and few columns just for the querying purpose?
Properties are textual (or datetimes) They are used as to filter the recommendations. See the examples in the docs on Ahttps://actionml.com/docs/h_ur_queries#business-rules for a duscussion of various business rules you can build.
3) How can I recommend items based on the recency of items. For example, if there is a new item introduced recently and I want to rank it higher in the recommendations, is there any way I can achieve that? Also, there is an expiry date for each item, hence beyond that date it should not be recommended.
This is a deceptively complicated question. How would you want “recent” items to benefit from “recency”? What is recent? When would recency override the strength of recommendation? Why does recent override what we think the user wants?You can filter recommendations to be items with a timestamp after some datetime with buiness rules https://actionml.com/docs/h_ur_queries#business-rules
4) How exactly should I decide on the user and item bias values in the query?
ignore them, there is typically no reason to use them.
Please someone help me in regard to these questions. It will be of great help!...Regards,Mayank Mangal
First you should not use PredictionIO — we have replaced it with Harness, a more modern easier to use ML Server. see https://actionml.com/docs/harness_introIt includes theUniversal Recommender.On Sep 8, 2021, at 5:19 AM, 'Mayank Mangal' via actionml-user <action...@googlegroups.com> wrote:Can anyone please reply to this? This is a bit urgent for me as I am stuck in this.On Tuesday, September 7, 2021 at 3:00:34 PM UTC+5:30 Mayank Mangal wrote:Hi fellow UR users,I have few doubts in the Universal Recommender template that I am using currently with my PredictionIO framework:1) How do I recommend items based on the user preferences without using them in the query? The algorithm itself should be recommending items based on the user preferences. I have a separate data of user preference which I can put as an input. But where exactly should I put it. Need help.For ecom start with a “primary indicator” of “buy”, then add other things you know about user behavior like “detail-view” or “category-preference”, you can even add “search-terms” where the targetEntityId is the term itself. These are made into “events” sent as inout to the engine.
2) How does UR treat the properties of $set events of Items? Does it see it as text data describing the item properties and use NLP there to process it to recommend better or is it just for the querying purpose? Also, how can I keep few of the columns in $set events of items to train, and few columns just for the querying purpose?Properties are textual (or datetimes) They are used as to filter the recommendations. See the examples in the docs on Ahttps://actionml.com/docs/h_ur_queries#business-rules for a duscussion of various business rules you can build.
3) How can I recommend items based on the recency of items. For example, if there is a new item introduced recently and I want to rank it higher in the recommendations, is there any way I can achieve that? Also, there is an expiry date for each item, hence beyond that date it should not be recommended.This is a deceptively complicated question. How would you want “recent” items to benefit from “recency”? What is recent? When would recency override the strength of recommendation? Why does recent override what we think the user wants?You can filter recommendations to be items with a timestamp after some datetime with buiness rules https://actionml.com/docs/h_ur_queries#business-rules
4) How exactly should I decide on the user and item bias values in the query?ignore them, there is typically no reason to use them.
First you should not use PredictionIO — we have replaced it with Harness, a more modern easier to use ML Server. see https://actionml.com/docs/harness_introIt includes theUniversal Recommender.On Sep 8, 2021, at 5:19 AM, 'Mayank Mangal' via actionml-user <action...@googlegroups.com> wrote:Can anyone please reply to this? This is a bit urgent for me as I am stuck in this.On Tuesday, September 7, 2021 at 3:00:34 PM UTC+5:30 Mayank Mangal wrote:Hi fellow UR users,I have few doubts in the Universal Recommender template that I am using currently with my PredictionIO framework:1) How do I recommend items based on the user preferences without using them in the query? The algorithm itself should be recommending items based on the user preferences. I have a separate data of user preference which I can put as an input. But where exactly should I put it. Need help.For ecom start with a “primary indicator” of “buy”, then add other things you know about user behavior like “detail-view” or “category-preference”, you can even add “search-terms” where the targetEntityId is the term itself. These are made into “events” sent as inout to the engine.
2) How does UR treat the properties of $set events of Items? Does it see it as text data describing the item properties and use NLP there to process it to recommend better or is it just for the querying purpose? Also, how can I keep few of the columns in $set events of items to train, and few columns just for the querying purpose?Properties are textual (or datetimes) They are used as to filter the recommendations. See the examples in the docs on Ahttps://actionml.com/docs/h_ur_queries#business-rules for a duscussion of various business rules you can build.
3) How can I recommend items based on the recency of items. For example, if there is a new item introduced recently and I want to rank it higher in the recommendations, is there any way I can achieve that? Also, there is an expiry date for each item, hence beyond that date it should not be recommended.This is a deceptively complicated question. How would you want “recent” items to benefit from “recency”? What is recent? When would recency override the strength of recommendation? Why does recent override what we think the user wants?You can filter recommendations to be items with a timestamp after some datetime with buiness rules https://actionml.com/docs/h_ur_queries#business-rules