Skip to main content

Distributed Graph Flow

Project description

Distributed Graph Flow

(Distributed) Graph Flow (GF) is a Python toolkit to develop and deploy Graph Neural Network (GNN) models.

For more information, check the documentation at https://dgf.readthedocs.io/

This is not an officially supported Google product. This project is not eligible for the Google Open Source Software Vulnerability Rewards Program.

Installation

To install YDF from PyPI, run:

pip install dgf -U

Currently, DGF is available on Python 3.11-13, on Linux x86-64.

😎 Minimal Usage example

# Temporary fix for Keras dependency.
import os
os.environ["TF_USE_LEGACY_KERAS"] = "1"

# Import (distributed) graph flow
import dgf

# Fetch an example graph
graph, schema = dgf.io.fetch_ogb_graph("arxiv")

# Train a model
model = dgf.learning.train_node_model(graph=graph, schema=schema, target_column="labels")

# Look at the model
model.describe()

# Evaluate the model
model.evaluate()

# Make predictions
model.predict(graph, seed_node_idxs=[0, 1, 2])

# Save the model for later
model.save("/tmp/model")

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

dgf-0.0.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

dgf-0.0.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

dgf-0.0.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file dgf-0.0.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dgf-0.0.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ac6e7af9aca72c2cdbfea22974c45b751820401207bcfbf92d98c7fad3547e1d
MD5 8f344b8031568c6f483d8660561b7e42
BLAKE2b-256 fe001cae6e50c6f99a74076ecd459cc1aabddb96d6c15c3a47c44cd8aa449239

See more details on using hashes here.

File details

Details for the file dgf-0.0.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dgf-0.0.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8b1eb0753c241c5d46d1837b6e19e7575debbc8a52fe6e2253eef98e6a97f9f3
MD5 66d0833141d106cabb3269ebc9c044a3
BLAKE2b-256 147750490ed8189fb347bdb1539f4b7f5fc84a80a564b65dbed29d0d4176b087

See more details on using hashes here.

File details

Details for the file dgf-0.0.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for dgf-0.0.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 21fbdaa3051f1cd9b83eab4f9427bfdf5f7014e26868886b1eac5c8a829181e4
MD5 07063d29ef962d5219f815cb423377bb
BLAKE2b-256 ba7a06649eb29ad9577222c6830d6d27a451c1e307c27ce8a3bf77d1cdc3d6e7

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