Skip to main content

Graph ML in one call: node/edge/temporal + MLP/GCN/SAGE (optional) + useful plots.

Project description

softgraph (one-call API) — v0.3.0

One call to generate data → extract features → train a model → evaluate and plot.

Install (editable dev)

pip install -e .

Optional deep:

pip install "softgraph[deep]"
# Then install torch-geometric from wheels if you want GCN/SAGE.

Usage

import softgraph

run = softgraph.softgraph(
    task="node_classification",
    dataset="sbm",
    n=800, k=4, p_in=0.10, p_out=0.02,
    features="spectral:16",
    model="mlp",
    plot=True,      # confusion matrix
    curves=True     # learning curve
)
print(run["metrics"])

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

softgraph-0.3.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

softgraph-0.3.0-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file softgraph-0.3.0.tar.gz.

File metadata

  • Download URL: softgraph-0.3.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for softgraph-0.3.0.tar.gz
Algorithm Hash digest
SHA256 8c4c6dca9b71e8ea9a14bd3f072868d85c49911b185c13225e1312a6e6bd3aaa
MD5 053d9a248f7b9b4dc669a275754cf85f
BLAKE2b-256 7aeb0804e2282d42936fb54eb6ff6df2cadb75a1df37c9bb2663532d88a34253

See more details on using hashes here.

File details

Details for the file softgraph-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: softgraph-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for softgraph-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a7c1700cb9f870cc94e206fc7d99a292dd8f3e577be9be2f9c0dd6a0bc2f592f
MD5 29b8a8b14f959ab08305a0e466386297
BLAKE2b-256 1586f7ab03e99053e04f6c136411d696089c65eec154eed6797f3f1a7b87d79a

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