Giter Site home page Giter Site logo

cfgan's Introduction

CFGAN-based-on-pytorch-

A pytorch implementation of CFGAN
paper title: CFGAN:A Generic Collaborative Filtering Framework based on Generative Adversarial Networks

run demo

python CFGAN.py

cfgan's People

Contributors

1051003502 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cfgan's Issues

你好,我想问一下关于数据集划分的问题

你好,我想请教一下关于数据集划分的问题,关于数据集划分,论文中提到了数据集随机划分为80%训练集,20%测试集,而我用了两种方法来划分:一种是整体数据集上直接随机80%为训练集,20%为测试集,另外一种是对于每一个用户交互过的项目的80%作为训练集,20%作为测试集。但是通过这两种方法划分出来的数据集都没有达到论文中的最优结果,我想问一下,是我划分数据集的方式不对,还是说我其他方面出现了问题。

mask issue

作者您好,我觉得在G的部分关于结果的PM和ZR部分存在问题,PM应该保证mask的item都是unlabeled数据,也就是没有反馈信息的item,ZR应该保证1和0都是准确的取样,你的代码都是随机的可能效果不佳

关于recall指标的计算

你好,我认为你的recall指标计算有误,recall的计算公式如下:
$$
recall = \frac{\sum_{u\in U}|R(u)\cap T(u)|}{\sum_{u\in U}|T(u)|}
$$
而你代码的实现却是如下公式:
$$
recall = \frac{\sum_{u\in U}\frac{|R(u)\cap T(u)|}{|T(u)|}}{|U|}
$$
如果我的理解有误,那请不吝赐教😃

关于0.45 precision

请问0.45 的 precision 是怎么训练的到的,我用了您代码的默认设置得到的结果只有0.08,调参后也无法复现您所提到的结果。
麻烦您解答一下,谢谢。

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.