airoldilab / sas Goto Github PK
View Code? Open in Web Editor NEWSort and Smooth Algorithm for Graphon Estimation (Matlab)
License: GNU General Public License v2.0
Sort and Smooth Algorithm for Graphon Estimation (Matlab)
License: GNU General Public License v2.0
================================================ Sort and Smooth (SAS) Algorithm for Consistent Graphon Estimation ================================================ This MATLAB package is a supplement to the paper S. H. Chan and E. M. Airoldi, "A Consistent Histogram Estimator for Exchangeable Graph Models", in Proceedings of International Conference on Machine Learning, 2014. ================================================ Content: 1. Construct Graphs from a Graphon Method 1: [G P u] = construct_a_graph(w,n,T) Input: w - a Graphon n - number of nodes T - number of observations Output: G - graph (size nxnxT) P - probability of each node u - label indices Method 2: G = construct_a_graph_from_P(P,n,T) Input: P - probability of each node n - number of nodes T - number of observations Output: G - graph (size nxnxT) 2. Sorting and Smoothing (sort_and_smooth.m) Input: G - a graph Output: west - estimated graphon Algorithm dependency: ./deconvtv_v1/ 3. Results reported in the paper Figure1.m - plot a twin graphon Figure2.m - display an example of the SAS algorithm Figure3.m - results of SAS, USVT and SBA for graphons no. 5 and no. 10 Figure4.m - runtime plot Figure5.m - graphon estimation of soc-Epinion1 and ca-astroph network Table2.m - mean squared error (average and standard deviation) of SAS, USVT and SBA. 4. Compared Methods (i) stochastic_block.m (Stochastic Blockmodel Approximation, Airoldi et al. 2013) (ii) usvt.m (Universal Singular Value Thresholding, Chatterjee 2012) References [1] E. M. Airoldi, T. B. Costa, and S. H. Chan, "Stochastic blockmodel approximation of a graphon: Theory and consistent estimation", Advances in Neural Information Processing Systems. ArXiv: 1311.1731. 2013. [2] S. Chatterjee. Matrix estimation by universal singular value thresholding. ArXiv:1212.1247. 2012. ================================================ COPYRIGHT (C) 2014 Stanley Chan and Edoardo Airoldi This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. ================================================ Please report bugs to Stanley Chan [email protected] Last update: January 10, 2014
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.