This is setting properties for items, which MUST be arrays of strings in
the Universal Recommender. The array may contain only one string, so you
need to change that part. See docs on actionml.com


From: Amit Assaraf <[email protected]> <[email protected]>
Reply: actionml/universal-recommender
<reply+0004fc4b0ee1a50be76c32fb052aa812f39af692abd67be292cf000000011750f37a92a169ce141b0...@reply.github.com>
<reply+0004fc4b0ee1a50be76c32fb052aa812f39af692abd67be292cf000000011750f37a92a169ce141b0...@reply.github.com>
Date: July 1, 2018 at 12:54:34 PM
To: actionml/universal-recommender
<[email protected]>
<[email protected]>
Cc: Subscribed <[email protected]>
<[email protected]>
Subject:  [actionml/universal-recommender] Use properties for
recommendation other than categorial? (#54)

I'd like to add a property to my item like so:

{
    "event" : "$set",
    "entityType" : "item",
    "entityId" : "some-item-id",
    "properties" : {
        "city": "New York",
        "size_in_sqf": 35
    },
    "eventTime" : "2015-10-05T21:02:49.228Z"
}

then lets say the user has viewed several items and reported a view event.

Now I want the recommender to recommend me items that are similar to the
one's the user viewed by taking into account the properties city &
size_in_sqf.

That means it should show me items that are in New York and the size_in_sqf
is around 35.
How do I do this? I can't find any tutorial other than the official one on
using UR and I really want to accomplish something similar to this.

thanks!

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/actionml/universal-recommender/issues/54>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AAT8S0yXei-ZdXyE6HmDaDsA8PqDqL1Yks5uCSj6gaJpZM4U-cmb>
.

Reply via email to