A Matlab Toolkit for Distance Metric Learning

DistLearnKit

A Matlab Toolkit for Distance Metric Learning

Liu Yang,Prof. Rong Jin

Welcome! This is a Matlab toolkit for distance metric learning, including the implementation of a number of published machine learning algorithms in this area. The first version of this toolkit has been available since Oct. 28, 2007.

  • This toolkit is to provide a collection of baseline methods for distance metric learning research, and to faciliate the usage of these approaches in applications.The Local Distance Metric Learning algorithms (LDM) andActive Distance Metric Learning (BAYES+VAR) were develped by the author, and the rest implementations were collected online. The toolkit does not cover all the related work in recent years. If you find other interesting approaches with its matlab implementation, please E-mail Me. You contribution will be highly appreciated.

  • Depending on the availability of the training examples (or side information), most distance metric learning techniques can be classified into two categories:Supervised Distance Metric Learning andUnsupervised Distance Metric Learning. Supervised distance metric learning makes use of label information to identify correlations between dimensions, that are most informative to the classes of examples. Unsupervised distance metric aims to construct a low-dimensional manifold where geometric relationships between most of the observed data are largely preserved. We organize two categories of appraoched in the following two tables. Each table specifies a few general properties for distance metric learning methods (for instance, linear vs. nonlinear, and global vs. local) and describe learning strategies. Matlab implementations are available for download, accompanited with the orignal papers.

  • For details of what is distance metric learning and the related works, please refer toA comprehensive survey on distance metric learning (written in May, 2005) andAn overview of distance metric learningnew!(written in Oct., 2007)
    • Supervised Distance Metric Learning


      can be divided into two categories: the global distance metric learning, and the local distance metric learning. The first one learns the distance metric in a global sense, i.e., to satisfy all the pairwise constraints simultaneously by keeping all of the data points in each class close together while ensuring that data points from different classes are separated. The second approach is to learn a distance metric in a local setting, i.e., rather than satisfying all of the pair-wise constraints simultaneously, only to satisfy "local" pairwise constraints. This is particularly useful for information retrieval and the KNN classifiers since both methods are influenced most by the data instances that are close to the test/query examples.
      MethodsLocalityLinearityLearning StrategiesCode DownloadPublication
      Probablistic Global Distance Metric Learning (PGDM)globallinearconstrained convex programmingby Eric P. Xing[pdf]
      Relevant Components Analysis (RCA)globallinearcapture global structure; use equivalence constraintsby Aharon Bar-Hillel and Tomer Hertz,[pdf]
      Discriminative Component Analysis (DCA)globallinearimprove RCA by exploring negative constraintsby Steven C.H. Hoi[pdf]
      Local Fisher Discriminant Analysis (LFDA)locallinearextend LDA by assigning greater weights to closer connecting examples[by Masashi Sugiyama][pdf]
      Neighborhood Component Analysis (NCA)locallinearextend the nearest neighbor classifier toward metric learing[by Charless C. Fowlkes][pdf]
      Large Margin NN Classifier (LMNN)locallinearextend NCA through a maximum margin framework[by Kilian Q. Weinberger][pdf]
      Localized Distance Metric Learning (LDM)locallinearoptimize local compactness and local separability in a probabilistic framework[by Liu Yang][pdf]
      DistBoostgloballinearlearn distance functions by training binary classifiers with margins in a boosting frameworkby Tomer Hertz and Aharon Bar-Hillel

      notes on calling its kernel version
      [pdf]

      Kernel DistBoost [pdf]
      Active Distance Metric Learning (BAYES+VAR)globallinearselect example pairs with the greatest uncertainty, posterior estimation with a full Bayesian treatment[by Liu Yang][pdf]

    • Unsupervised Distance Metric Learning
      The Connection Between Manifold Learning and Distance Metric Learningnew!

      (manifold learning) can be categorized along the following two dimensions: first, the learnt embedding is linear or nonlinear; and second, the structure to be preserved is global or local. All the linear manifold learning methods except Multidimensional Scaling (MDS), learn an explicit linear projective mapping and can be interpreted as the problem of distance metric learning; and nonlinear manifold learning also has its essentially connections to distance metric learning. See (written in Oct., 2007)
      MethodsLocalityLinearityLearning StrategiesCode DownloadPublication
      Principal Component Analysis(PCA)global structure preservedlinearbest preserve the variance of the data[by Deng Cai]
      Multidimensional Scaling(MDS)global structure preservedlinearbest preserve inter-point distance in low-rank[ included in Matlab Toolbox for Dimensionality Reduction]
      ISOMAPglobal structure preservednonlinearpreserve the geodesic distances[by J. B. Tenenbaum, V. de Silva and J. C. Langford][pdf]
      Laplacian Eigenamp (LE)local structure preservednonlinearpreserve local neighbor[by Mikhail Belkin][pdf]
      Locality Preserving Projections (LPP)local structure preservedlinearlinear approximation to LE[LPP by Deng Cai]

      [Kernel LPP by Deng Cai]
      [pdf]
      Locally Linear Embedding (LLE)local structure preservednonlinearnonlinear preserve local neighbor[by Sam T. Roweis and Lawrence K. Saul]

      Hessian LLE can be found at [MANI fold Learning Matlab Demo, by Todd Wittman]
      [pdf]
      Neighborhood Preserving Embedding (NPE)lobal structure preservedlinearlinear approximation to LLE

      [by Deng Cai]

      http://www.pudn.com/downloads95/sourcecode/graph/texture_mapping/detail389302.html

      [pdf]

    http://www.cs.cmu.edu/~liuy/distlearn.htm

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值