Git Product home page Git Product logo

mvin's Introduction

MVIN

MVIN: Learning Multiview Items for Recommendation, SIGIR 2020

This repository is the implementation of MVIN (arXiv):

Chang-You Tai, Meng-Ru Wu, Yun-Wei Chu, Shao-Yu Chu, and Lun-Wei Ku. SIGIR 2020. MVIN: Learning Multiview Items for Recommendation

Introduction

We propose the multi-view item network (MVIN), a GNN-based recommendation model which provides superior recommend-ations bydescribing items from a unique mixed view from user and entity angles.

Citation

If you want to use our codes and datasets in your research, please cite:

@inproceedings{10.1145/3404835.3462980,
author = {Tai, Chang-You and Huang, Chien-Kun and Huang, Liang-Ying and Ku, Lun-Wei},
title = {Knowledge Based Hyperbolic Propagation},
year = {2021},
isbn = {9781450380379},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
url = {https://doi.org/10.1145/3404835.3462980},
doi = {10.1145/3404835.3462980},
booktitle = {Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval},
pages = {1945–1949},
numpages = {5},
keywords = {recommendation, hyperbolic embedding learning, graph neural network, knowledge graph},
location = {Virtual Event, Canada},
series = {SIGIR '21}
}

Files in the folder

  • data/: datasets
    • MovieLens-1M/
    • amazon-book_20core/
    • last-fm_50core/
  • src/model/: implementation of MVIN.
  • output/: storing log files
  • misc/: storing users being evaluating, popular items, and sharing embeddings.

Environment Requirement

The code has been tested running under Python 3.6.5. The required packages are as follows:

  • tensorflow == 1.12.0
  • numpy == 1.15.4
  • scipy == 1.1.0
  • sklearn == 0.20.0

Build Environment(conda)

$ cd MVIN
$ conda deactivate
$ conda env create -f requirements.yml
$ conda activate MVIN

Example to Run the Codes

  • MVIN
$ cd src/bash/
$ bash main_run.sh "MVIN" $dataset $gpu

  • other baseline models
$ cd src/bash/
$ bash main_run.sh $model $dataset $gpu

Example to Run the Attention Codes

$ cd src/bash/
$ bash main_att_case_st.sh $gpu

Issue

  • main_run.sh syntax error near unexpected token elif
$ sed -i -e 's/\r$//' *.sh

mvin's People

Contributors

johnnyjana730 avatar river0tter avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

mvin's Issues

name 'g_kg' is not defined

When I compile your code, it emerges an error, which shows that name 'g_kg' is not defined happening in data_loader_user_set.py. Thank you for your time over my issue.

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.