Skip to content

This file includes simulation and real data analysis for 1-BNB method.

Notifications You must be signed in to change notification settings

GesiIvy128/OneBNB

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OneBNB

This file includes simulation and case study for 1-BNB method.

R Code

  • Main.R includes the whole process of simulation and case study including the comparison of five methods, i.e., 1-BNB, SnowBoot, CVE, MRME and CHTE.
  • For simulation study, we take power-law degree distribution with $\gamma = 3$ for demonstration.
  • For case study, the analysis of all three real datasets is included.
  • The adjacency matrix completion processs of 1-BNB method is conducted in the Matlab Code file.

Matlab Code

  • Simu_OneBNB_B1000.m conducts the adjacency matrix completion process of 1-BNB method for simuation study. We take power-law degree distribution with $\gamma = 3$ as example.
  • OneBNB.m conducts the adjacency matrix completion process of 1-BNB for case study. We take BK social network as example.
  • The other .m file are the necessary functions needed for adjacency matrix completion.
  • We want to thank Davenport, M. A., Plan, Y., Van Den Berg, E., & Wootters, M. (2014). 1-bit matrix completion. Information and Inference: A Journal of the IMA, 3(3), 189-223 for providing the matlab toolbox of 1-bit matrix completion.

Data

Data1.zip and Data2.zip contains some data needed for the demonstration. Please unzip them and put them under the same file, say, Data, before running any code.

About

This file includes simulation and real data analysis for 1-BNB method.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 43.8%
  • MATLAB 41.7%
  • C 14.5%