Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/AnryYang/M-NMF
code for M-NMF: Community Preserving Network Embedding. Xiao Wang, Peng Cui, Jing Wang, Jian Pei, Wenwu Zhu, Shiqiang Yang. AAAI 2017
https://github.com/AnryYang/M-NMF
Last synced: about 1 month ago
JSON representation
code for M-NMF: Community Preserving Network Embedding. Xiao Wang, Peng Cui, Jing Wang, Jian Pei, Wenwu Zhu, Shiqiang Yang. AAAI 2017
- Host: GitHub
- URL: https://github.com/AnryYang/M-NMF
- Owner: AnryYang
- Created: 2017-08-01T08:06:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-01T08:08:08.000Z (over 7 years ago)
- Last Synced: 2024-08-01T17:36:03.051Z (4 months ago)
- Language: Matlab
- Size: 1000 Bytes
- Stars: 4
- Watchers: 3
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-community-detection - [Matlab Reference
README
run `MNMF.m` with matlab
```
function [U, M, H, C, L] = MNMF(S, M, U, H, C, B1, B2, alpha, beta, lambda)
% The demo is written by Xiao Wang ([email protected]), and the details of the algorithm can be
% found in "Community Preserving Network Embedding" (AAAI 2017).
%%--------------input-----------------
% S: S1+5*S2, the first- and second-order proximities (n-by-n);
% M: the initialized basis matrix (n-by-m);
% U: the initialized representations of nodes (n-by-m);
% H: the initialized community indicator matrix (n-by-k);
% C: the initialized representations of communities (k-by-m);
% B1: the adjacency matrix B1(i,i)=0 (n-by-n);
% B2: (k_i*k_j)/2e (n-by-n);
% alpha, beta, lambda: the values of parameters, usually alpha and beta need to be tuned and we can set lambada = 1e9;
%%-------------output------------------
% U: the optimal representations of nodes;
% M: the optimal basis matrix;
% H: the optimal community indicator matrix;
% C: the optimal representations of communities;
% L: the final values of objective function.
%%-------------------------------------
```