Giter Club home page Giter Club logo

cpyp's Introduction

cpyp

cpyp is a C++ library for nonparametric Bayesian modeling with Pitman-Yor process priors

Features

  • Memory-efficient histogram-based sampling scheme proposed by Blunsom et al. (2009)
  • Full range of PYP hyperparameters (0 ≤ discount < 1, strength > -discount, etc.)
  • Beta priors on discount hyperparameter
  • (Conditional, given discount) Gamma prior on strength hyperparameter
  • Tied hyperparameters
  • Slice sampling for hyperparameter inference
  • “Multifloor” Chinese Restaurant processes to perform inference in graphical Pitman-Yor processes
  • Serialization of CRPs using Boost.Serialization (optional)
  • Example implementations
    • Hierarchical Pitman-Yor process language model (Teh, 2006)
    • Domain adapting graphical Pitman-Yor process language model (Wood & Teh, 2009)
    • Latent Pitman-Yor allocation topic model (LDA with the D replaced)
    • Unsupervised “Naive Bayes” single-membership clustering, using fast Metropolis-Hastings sampling

System Requirements

This software requires a C++ compiler that implements the C++11 standard, for example gcc-4.7 or Clang-3.1 or something more recent. No other libraries or tools are required.

cpyp's People

Contributors

redpony avatar mjdenkowski avatar

Watchers

James Cloos 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.