Code Monkey home page Code Monkey logo

acda's Introduction

ACDA - Attentive Contextual Denoising Autoencoder

Overview

Attentive Contextual Denoising Autoencoder (ACDA) for top-N recommendation. The neural network architecture is based on the denoising autoencoder that incorporates contextual data via the attention mechanism to provide personalized recommendation. ACDA is a generic model that may be used for both rating prediction and top-N recommendation. This work focuses on the task of top-N recommendation.

Architecture

The neural network architecture is provided below. There is one hidden layer and the context is applied to the hidden representation via the attention mechanism. The model is flexible enough to accommodate any number of contextual parameters; however, only two contextual parameters are depicted in the diagram for reference.

ACDA Architecture

Datasets

The model is evaluated against two datasets for the event recommendation and movie recommendation tasks.

  • Event recommendation is performed on the dataset from Meetup for events held in New York, San Francisco, Washington DC and Chicago.
  • Movie recommendation is performed on the publicly available Movielens 100K dataset.

Execution

  • The event recommendation model is executed as: python3 event-adae.py
    • Argument "--gpu": GPU to use for model execution.
    • Argument "--epochs": Number of iterations to train.
    • Argument "--size": Number of units in the hidden layer.
    • Argument "--neg_count": Number of negative samples to use for training.
    • Argument "--corrupt": Corruption ratio for the denoising autoencoder.
    • Argument "--save_dir": Directory to save the model.
    • Argument "--hidden_fn": Activation function to apply at the hidden layer. Default is ReLU.
    • Argument "--output_fn": Activation function to apply at the Output layer. Default is Sigmoid.
    • Argument "--nogroup": Group contextual factor is not applied.
    • Argument "--novenue": Venue contextual factor is not applied.
  • The movie recommendation model is executed as: python3 movie-adae.py
    • Argument "--gpu": GPU to use for model execution.
    • Argument "--epochs": Number of iterations to train.
    • Argument "--size": Number of units in the hidden layer.
    • Argument "--neg_count": Number of negative samples to use for training.
    • Argument "--corrupt": Corruption ratio for the denoising autoencoder.
    • Argument "--save_dir": Directory to save the model.
    • Argument "--hidden_fn": Activation function to apply at the hidden layer. Default is ReLU.
    • Argument "--output_fn": Activation function to apply at the Output layer. Default is Sigmoid.
    • Argument "--nogenre": Genre contextual factor is not applied.

acda's People

Contributors

yjhamb avatar staxmoxta avatar

Watchers

James Cloos avatar

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.