SBMSDP2
This repository uses semi-definite programming to recover labels of stochastic block model.
Note
The code in this repository can only recover symmetric SBM with two underlining communities. Symmetric SBM means that the two communities have equal size.
The SBM generator is $\textrm{SBM}(n, \frac{a \log n}{n}, \frac{b \log n}{n})$.
Sample code
from sbmsdp import sbm2, sdp2
G = sbm2(100, 16, 4)
X = sdp2(G)
print(X)
Reference
Metadata
Release files for sbmsdp 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sbmsdp-0.1.tar.gz | 2.1 kB | Without provenance | Details for sbmsdp-0.1.tar.gz |
Release files / sbmsdp-0.1.tar.gz
| Download URL | sbmsdp-0.1.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb6ee814bdb423a9fcb0b48ff80017e8a6838d1083698c1c6a988b7c6e95c67c
|
|
BLAKE2b-256 checksum How to use checksums |
a48e0a3e06dee8f7e2bc20fd69ddda0dcdf3ab553a829841edb5576c8f4fa392
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3
|
Security for sbmsdp 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.