Giter Site home page Giter Site logo

Comments (4)

Coder-Yu avatar Coder-Yu commented on August 21, 2024

hi, thanks for your interest. I have updated the config file, you can download the new version and try again. Kindly remind you that you have to pick out the negative samples and organized them as a file because IF-BPR needs to read negative samples. Besides, all the datasets used in our paper can be found by accessing https://github.com/CQU-CSE/DatasetCollection. In addition, there is a unintentional mistake in our paper that we recorded users that have less than 20 ratings as the cold users while in the paper we wrote 10.

from qrec.

rcuu avatar rcuu commented on August 21, 2024

I compared the old and new versions of IF-BPR.conf as if there was no difference...
Then I read the source code of IF_BPR(IF_BPR.py), and placed the ratings_n.txt containing the negative sample in the dataset/epinions/ directory. The same error persists. QAQ

def readNegativeFeedbacks(self):
    ...
    filename = self.config['ratings'][:-4]+'_n.txt'
    with open(filename) as f:
    ...

from qrec.

Coder-Yu avatar Coder-Yu commented on August 21, 2024

It's OK now. Sorry for the mistake.

from qrec.

rcuu avatar rcuu commented on August 21, 2024

Solved, thank you for your answer.

from qrec.

Related Issues (20)

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.