GithubHelp home page GithubHelp logo

renqincai / c2ae_tensorflow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hinanmu/c2ae_tensorflow

0.0 1.0 0.0 32.53 MB

Tensorflow implementation of the paper 'Learning Deep Latent Spaces for Multi-Label Classifications' in AAAI 2017

Python 100.00%

c2ae_tensorflow's Introduction

dataset

dataset labels instances feature cardinality
mirflickr 38 25000 1000 4.7

Performance

type dataset Micro F1 Macro F1
this code mirflickr 0.540699 0.39643
paper mirflickr 0.54 0.39

Parameter

  • alpha(for output loss para): 0.5
  • learning rate: 0.0001
  • learning rate decay: 0.98
  • momentum: 0.99
  • optimizer decay: 0.9
  • l2penalty:0.001
  • maxepoch: 50
  • lagrange para:0.5
  • batch size: 500
  • hidden units: 512
  • latent embedding units: (0, 1) of label dims, default 0.8

Description

  • learning rate: decay by new_lr = lr_init * decay^epoch

  • custom optimizer: similar to RMSProp, decay 0.9, momentum 0.99

    init rrr = 0, delta = 0 rrr=sqrt((rrr.^2)0.9+(grad.^2)0.1) grad=grad/rrr delta=momentumdelta-etagrad new_weight=old_weight + delta

  • lagrange para: for caculate embedding loss

Requrements

  • tensorflow 1.12.0
  • numpy 1.16.2

Thanks

the paper's author code matlab https://github.com/chihkuanyeh/C2AE

other implement(I think there some mistakes in this code) https://github.com/dhruvramani/C2AE-Multilabel-Classification

Reference

Yeh, C. K., Wu, W. C., Ko, W. J., & Wang, Y. C. F. (2017). Learning deep latent space for multi-label classification. In AAAI (pp. 2838–2844).

c2ae_tensorflow's People

Contributors

hinanmu avatar

Watchers

 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.