Giter VIP home page Giter VIP logo

bnpf's Introduction

bnpf's People

Contributors

kn2465 avatar kn27 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

bnpf's Issues

Possible minor error in nonparametric.py

Hey, stumbled upon your code while writing my Masters thesis (focusing on Poisson Factorization). First of all, kudos for the code, it was really helpful in figuring out the BNPPF model which is by no means trivial.

I think there might be a minor error at line 109 of "nonparametric.py": since you are working with $E[log \theta_{u, T+1}]$ I believe you should replace:
np.sum(np.log(1 - self._v[u,:self.T]))
with:
np.sum(np.log(1 - self._v[u,:(self.T+1)]))
as the product of the stick-breaking process occurs from 1 to (T+1)-1=T and not to T-1.

In practice, this however should have little effect on the convergence of variational parameters since it implies a small change in value in a small value (the infinite-sum).

Cheers!

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.