Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use properties for recommendation other than categorial? #54

Open
amitassaraf opened this issue Jul 1, 2018 · 5 comments
Open

Use properties for recommendation other than categorial? #54

amitassaraf opened this issue Jul 1, 2018 · 5 comments

Comments

@amitassaraf
Copy link

amitassaraf commented Jul 1, 2018

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!

@amitassaraf
Copy link
Author

This can be simplified by ignoring the user viewed part. Let's say I give the algorithm a list of items that I know the user viewed and I just need it to give me products similar to the ones I provide by taking into account city & size_in_sqf. How do I accomplish that?

@pferrel
Copy link
Collaborator

pferrel commented Jul 1, 2018 via email

@pferrel
Copy link
Collaborator

pferrel commented Jul 1, 2018 via email

@amitassaraf
Copy link
Author

amitassaraf commented Jul 1, 2018

@pferrel I have users who view rental properties (Houses). There are two actions. One which is my primary indicator, schedule (which means they schedule a visit in the house) and the secondary indicator which is view.

I want to recommend based on which houses the user viewed and scheduled other houses that they might like based on the properties of the house, such as it's size and location.

@amitassaraf
Copy link
Author

@pferrel How will using arrays of string work? I can see how it will work for places but for sizes of houses it seems like it wouldn't work because how will it know ['34'] is close to ['31']? It will just look at it as categories. Also house price wouldn't work as it varies a lot as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants