DRESS: A deterministic, parameter-free framework for canonical graph fingerprinting via continuous structural edge refinement.
Project description
dress-graph (Python)
A Continuous Framework for Structural Graph Refinement
DRESS is a deterministic, parameter-free framework that iteratively refines the structural similarity of edges in a graph to produce a canonical fingerprint: a real-valued edge vector, obtained by converging a non-linear dynamical system to its unique fixed point. The fingerprint is isomorphism-invariant by construction, numerically stable (no overflow, no error amplification, no undefined behavior), fast and embarrassingly parallel to compute: DRESS total runtime is O(I * m * d_max) for I iterations to convergence, and convergence is guaranteed by Birkhoff contraction.
Install
pip install dress-graph
Quick start
from dress import dress_fit
result = dress_fit(
n_vertices=4,
sources=[0, 1, 2, 0],
targets=[1, 2, 3, 3],
)
print(result.edge_dress) # DRESS value for each edge
For the full API and documentation, see the main repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dress_graph-0.5.0.tar.gz.
File metadata
- Download URL: dress_graph-0.5.0.tar.gz
- Upload date:
- Size: 21.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4716f96264b1d0684e4c17e85f52194876136e9f49709715419c209f867b1686
|
|
| MD5 |
05907fef9e426e993156692b2ba76289
|
|
| BLAKE2b-256 |
8c0273a03e7463d272817650fac14b4605113a4a877517724f2d8247374d26ef
|
File details
Details for the file dress_graph-0.5.0-py3-none-any.whl.
File metadata
- Download URL: dress_graph-0.5.0-py3-none-any.whl
- Upload date:
- Size: 26.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
640a342270b9a577dde18e0e8c61c3de964be198ed98c1b1d23e44aec13c2d52
|
|
| MD5 |
47fcf34313a97ee65fb68d104558e5fc
|
|
| BLAKE2b-256 |
4210faec6c8c76f8b82579a3c9a224a502c9659e83c3eed33fa16c60760f95dd
|