• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

bobye/WBC_Matlab: Efficient Wasserstein Barycenter in MATLAB (for "Fast Dis ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

bobye/WBC_Matlab

开源软件地址(OpenSource Url):

https://github.com/bobye/WBC_Matlab

开源编程语言(OpenSource Language):

MATLAB 100.0%

开源软件介绍(OpenSource Introduction):

Efficient Wasserstein barycenter in MATLAB

Author's updated version at https://github.com/bobye/WBC_Matlab

This package includes the propotype codes for computing the Wasserstein barycenter. The codes are released to reproduce parts of the experiments reported in the following journal paper:

  • Jianbo Ye, Panruo Wu, James Z. Wang and Jia Li, "Fast Discrete Distribution Clustering Using Wasserstein Barycenter with Sparse Support", IEEE Transactions on Signal Processing, 2017 (arXiv:1510.00012 [stat.CO], September 2015), to appear.

A more efficient and scalable implementation in MPI and C is available.

The codes also implements algorithms in the following papers:

  • Jean-David Benamou, Guillaume Carlier, Marco Cuturi, Luca Nenna, and Gabriel Peyré, "Iterative Bregman projections for regularized transportation problems." SIAM Journal on Scientific Computing 37.2 (2015): A1111-A1138.

  • Jianbo Ye and Jia Li, "Scaling Up Discrete Distribution Clustering Using ADMM", IEEE International Conference on Image Processing, Paris, France, October 2014.

  • Marco Cuturi and Arnaud Doucet. "Fast Computation of Wasserstein Barycenters.", International Conference on Machine Learning, Atlanta, USA, June 2013.

  • Jia Li and James Z. Wang. "Real-time computerized annotation of pictures." IEEE Transactions on Pattern Analysis and Machine Intelligence 30.6 (2008): 985-1002.

Algorithm Prototypes

Directory matlab contains prototype version in Matlab R2015b.

  • profile_centroid.m --- profiling the convergence of centroid updates
  • Wasserstein_Barycenter.m --- main function
  • profile_kantorovich.m --- profiling LP solution of transportation problem
  • centroid_sph*.m --- computing centroid of a single phase

Get started

The code is tested in Matlab 2015a

Try to run profile_centroid.m from the project directory. Checkout the data structure used in the example.

This code also can be tailored to work with histogram data, but the coordinates of bins should also be supplied as support points in the data structure. Meanwhile, set the option for fixing the support points of WBC:

%% comment out this line to use fixed support points of barycenter
options.support_points= 'fixed';

FAQ

  • How BADMM works for MNIST dataset? I was able to generate BADMM barycenter from 100 MNIST images (sparse representation). At Intel i7 3.4GHz PC, the pre-converged results at 200 seconds and 1000 seconds are depicted as follows respectively:


Copyright (C) 2017 The Pennsylvania State University, USA - All Rights Reserved

Installation and use of this software for academic, non-profit, or government-sponsored research purposes is hereby granted. Use of the software under this license is restricted to non-commercial purposes. COMMERCIAL USE OF THE SOFTWARE REQUIRES A SEPARATELY EXECUTED WRITTEN LICENSE AGREEMENT with the copyright holder.

Any use of the software, and any modifications, improvements, or derivatives to the software the user(s) may create (collectively, “Improvements”) must be solely for internal, non-commercial purposes. A user of the software shall not distribute or transfer the software or Improvements to any person or third parties without prior written permission from copyright holder.

Any publication of results obtained with the software must acknowledge its use by an appropriate citation to the article titled "Fast Discrete Distribution Clustering Using Wasserstein Barycenter with Sparse Support" published in the IEEE Transactions on Signal Processing in 2017.

ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. THE COPYRIGHT HOLDER MAKES NO REPRESENTATION OR WARRANTY THAT THE SOFTWARE WILL NOT INFRINGE ANY PATENT OR OTHER PROPRIETARY RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Author: Jianbo Ye, College of Information Sciences and Technology, [email protected]




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap