Coder Social home page Coder Social logo

Recommendation list about tifuknn HOT 6 OPEN

haojihu avatar haojihu commented on June 14, 2024
Recommendation list

from tifuknn.

Comments (6)

HaojiHu avatar HaojiHu commented on June 14, 2024 1

Besides, I think you may also want to consider the leave-one-out method (if you want to consider all the users), in which you generate each target user vector by considering all other users in the kNN search. In my setting, I only search kNN for each test user in the training user set.

from tifuknn.

HaojiHu avatar HaojiHu commented on June 14, 2024

Not sure about your question. We just select the k entries with the highest values in the each user' result vector as the recommendation list.

from tifuknn.

VaibhavKSingh avatar VaibhavKSingh commented on June 14, 2024

There are two csv files for each data, history and future. How do you generate recommendation for the future data. What I understand from the code is that you have divided the customers into training, testing and validation sets and the final recommendations are generated for the test set customers only. How do you reterive the top k elements for each customer?

from tifuknn.

HaojiHu avatar HaojiHu commented on June 14, 2024

If you want to do for each customer, you just need to decide which time step is the next step to predict and generate user vector basd on baskets before the next time step. Then, the top k elements are the top k entries in the user vector for each customer.

from tifuknn.

VaibhavKSingh avatar VaibhavKSingh commented on June 14, 2024

Does the next_time_step model the number of next baskets to be predicted ? Like if we set it to be 2, then would it mean that we are predicting for next 2 baskets instead of one?

from tifuknn.

HaojiHu avatar HaojiHu commented on June 14, 2024

No, I don't have this implementation here.

from tifuknn.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.