Giter Site home page Giter Site logo

bobye / glba Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 2.0 3.44 MB

R code for Gated Latent Beta Allocation described in paper "Probabilistic Multigraph Modeling for Improving the Quality of Crowdsourced Affective Data", TAFFC

Home Page: https://arxiv.org/abs/1701.01096

License: Other

R 24.74% Jupyter Notebook 62.68% Python 12.58%
graphical-models graph r ieee-transactions emotion crowdsourcing

glba's Introduction

GLBA

This repository includes the R code for Gated Latent Beta Allocation (GLBA) and some other codes that implement baseline methods, which appeared in the following paper:

Jianbo Ye, Jia Li, Michelle Newman, Reginald B. Adams, Jr., James Z. Wang, "Probabilistic Multigraph Modeling for Improving the Quality of Crowdsourced Affective Data," IEEE Transactions on Affective Computing (To appear).

Dataset

This repository compiles a (ID,Score) dataset filter_four.csv for demonstration purpose, which is a derivative of dataset EmoSet described in X. Lu's dissertation work. The use of this demo set is restricted only to explore the functionality of code.

X. Lu, “Visual characteristics for computational prediction of aesthetics and evoked emotions,” Ph.D. dissertation, The Pennsylvania State Uni- versity, 2015, chapter 5. Online available

How to run

Load model

> GLBA

Load data (default: valence, the_metric = 1)

> preprocssing

where hypergraph stores the userid map hypergraph$oracles and inverse map hypergraph$inv_oracles.

Train GLBA to obtain user reliability

> result=glba_curve(hypergraph)

where the user reliability can be calculated by rowMeans(result$taus).

Remember valence is the best dimension to obtain reliability score. Later, if you want to load arousal data, you don't need to retrain. Change the_metric = 2 in preprocssing.r to load arousal data.

Obtain image confidences and scores

> experiment2

glba's People

Contributors

bobye avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.