Code Monkey home page Code Monkey logo

cca's Introduction

CCA

pytorch implementation for CCA "Cascaded Cross Attention for Review-based Sequential Recommendation"

Packages

  • pandas==1.0.3
  • tensorflow==1.14.0
  • matplotlib==3.1.3
  • numpy==1.18.1
  • six==1.14.0
  • scikit_learn==0.23.1

Run

  1. Create a folder named "datasets' and download the raw data from the Amamzon dataset into the subfloder

  2. Run processed_data.py

  3. Run CCA.py

cca's People

Contributors

bing303 avatar

Watchers

 avatar

cca's Issues

Data Loading for ItemFeatures and itemFeat

Hello,

I am reviewing the GitHub code for the purpose of citing the CCA paper.
I noticed that in the CCA.py script, the following data is being loaded, but I cannot find the related data or code on GitHub

ItemFeatures = load_data('./datasets/%s/%s_review_emb_single.dat'%(fname,fname))
itemFeat = load_data('./datasets/%s/%s_review_emb_mean.dat'%(fname,fname))

The paper mentions that it uses 'bert-base-uncased' from Hugging Face,
and I am wondering if I could get the specific code related to this.

thank you

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.