Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dress_graph-0.5.1.tar.gz (36.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dress_graph-0.5.1-py3-none-any.whl (45.8 kB view details)

Uploaded Python 3

File details

Details for the file dress_graph-0.5.1.tar.gz.

File metadata

  • Download URL: dress_graph-0.5.1.tar.gz
  • Upload date:
  • Size: 36.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for dress_graph-0.5.1.tar.gz
Algorithm Hash digest
SHA256 be854844dd5226d0e2adb9c07ad7b568da334c5d4acb6dd201b0387007709926
MD5 43b7d94bc41a29b491eca5235dae519c
BLAKE2b-256 fa8c71132220213537f3ef0db62e53324f067a6b2f0934b79e33af9a2a14c1c0

See more details on using hashes here.

File details

Details for the file dress_graph-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: dress_graph-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 45.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for dress_graph-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 786d3f82f9d3461d8021e9fff55ee95af59e39b174d1d50e93e69e52e093ce46
MD5 e488e8f9223df3b5a157c2f7674b3a08
BLAKE2b-256 cf1d430b47e0dbaf60606d23c2e829c3acadbb45bc0e4e946814ac746e03dc31

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page