1 Star 1 Fork 0

masterliuzhen / Multi-view_Clustering

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Multi-view Spectral Clustering Algorithms

This repository contains MATLAB code for 7 multi-view spectral clustering algorithms (and a single-view spectral clustering algorithm) used for comparison in our paper "Multi-view Graph Learning by Joint Modeling of Consistency and Inconsistency", which is the follow-up work of our ICDM paper "Consistency Meets Inconsistency: A Unified Graph Learning Framework for Multi-view Clustering". The code of some algorithms was gathered from the websites of the authors of the original papers and was later fixed and optimized by us. Please see our paper for the details of these algorithms (the folder names correspond to the abbreviations for the algorithms in our paper, namely, AASC, AWP, CoReg, MCGC, MVGL, RMSC, and WMSC). In each of these folders, there is a main file xxx_main.m for the algorithm where xxx is the algorithm name.

The original papers for the 7 multi-view spectral clustering algorithms and the single-view spectral clustering (SC) algorithm are:

  • Huang et al., 2012. Affinity Aggregation for Spectral Clustering
  • Nie et al., 2018. Multiview Clustering via Adaptively Weighted Procrustes
  • Kumar et al., 2011. Co-regularized Multi-view Spectral Clustering
  • Zhan et al., 2018. Multiview Consensus Graph Clustering
  • Zhan et al., 2017. Graph Learning for Multiview Clustering
  • Xia et al., 2014. Robust Multi-view Spectral Clustering via Low-rank and Sparse Decomposition
  • Zong et al., 2018. Weighted Multi-view Spectral Clustering Based on Spectral Perturbation
  • Ng et al., 2002. On Spectral Clustering: Analysis and an Algorithm

For the code of our Multi-view Graph Learning algorithm, please see this repository.

Dataset

All datasets used in our paper are available at Baidu Cloud with code pqti and Google Drive. Each dataset is a mat file containing 2 variables fea (i.e., a MATLAB cell of features) and gt (i.e., ground truth label), except the file flower17.mat which contains a cell of distance matrices and ground truth since features are unavailable.

  • The distance matrices in flower17.mat should be squared before passing them into the SGF and DGF functions, and the string original should be passed into the functions as the metric parameter.
  • The datasets Reuters, Reuters-21578, BBCSport, and CiteSeer are text datasets with word frequence as features and thus should be used with the cosine metric for computing distance matrices.

Preparation

  • Windows 64bit: Add some helper files to MATLAB path by addpath('MinMaxSelection'); addpath('utils') command in MATLAB command window.
  • Linux, Windows 32bit and Mac OS: Add some helper files to MATLAB path by addpath('MinMaxSelection'); addpath('utils') command in MATLAB command window. Then recompile the helper functions by running minmax_install.

Example usage

The file test.m contains examples to use all the algorithms.

MIT License Copyright (c) 2020 Youwei Liang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

MATLAB code for 7 Multi-view Spectral Clustering algorithms 展开 收起
MATLAB 等 3 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/masterliuzhen/Multi-view_Clustering.git
git@gitee.com:masterliuzhen/Multi-view_Clustering.git
masterliuzhen
Multi-view_Clustering
Multi-view_Clustering
master

搜索帮助