GithubHelp home page GithubHelp logo

dspluta / cusp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from siriolegramanti/cusp

0.0 1.0 0.0 22 KB

Bayesian Cumulative Shrinkage for Infinite Factorizations

License: MIT License

R 100.00%

cusp's Introduction

CUSP: Cumulative Shrinkage Process

This repository is associated with the article Bayesian cumulative shrinkage for infinite factorizations (Biometrika, 107(3), 745-752; also on arXiv) and provides detailed materials and codes for posterior inference under the Cumulative Shrinkage Process (CUSP) proposed in the article.

The repository contains:

  • cusp.R: the source code to perform posterior computation for Gaussian factor models endowed with the CUSP prior via the adaptive Gibbs sampler provided in the paper (Algorithm 2). Gaussian factor models are used here as a notable illustrative example, but the CUSP can be employed in a variety of models (e.g. Poisson factorization). Hence, the parts of cusp.R which are not specific to Gaussian factor models can be repurposed for other models. Note that this is a basic R implementation meant to provide a clear understanding of the computational routines associated with the proposed model; faster C++ implementations can be derived.

  • tutorial.md: a comprehensive tutorial to perform posterior inference for Gaussian factor models endowed with the CUSP prior, leveraging the source code cusp.R. As an illustrative example, we reproduce step by step the analysis of the bfi dataset from the R package psych described in Section 5 of the article. The analyses are performed with a laptop equipped with Ubuntu 18.04.5 OS, Intel Core i7-3632QM CPU and 7.7 GB of RAM, using R version 3.4.2.

cusp's People

Contributors

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