Skip to main content

a python library for graph flow

Project description

PyPI Testing Status Docs Status Contributing

XFlow Homepage | Documentation | Paper Collection | Colab Notebooks Tutorials

XFlow is a library built upon Python to easily write and train method for a wide range of applications related to network flow problems. XFlow is organized task-wise, which provide datasets benchmarks, baselines and auxiliary implementation.

Installation

pip install xflow-net

Example

from xflow.dataset import cora, random, ba
from xflow.diffusion import ic, si
from xflow.seed import random, degree, eigen
from xflow.method.im import celf, sigma

# graphs to test
gs = [cora, random, ba]

# diffusion models to test
df = [ic, si]

# seed configurations to test
se = [random, degree, eigen]

# methods to test
me = [celf, sigma, imrank]

# configurations of experiments
rt = run(graph=gs, diffusion=df, seed=se, method=me, eval='im', epoch=10, output=['animation', 'csv', 'fig'])

[Result]

Create your own models

Benchmark Task

Influence Maximization

Blocking Maximization

Source Localization

Experimental Configurations

Contact

Feel free to email us if you wish your work to be listed in this repo. If you notice anything unexpected, please open an issue and let us know. If you have any questions or are missing a specific feature, feel free to discuss them with us. We are motivated to constantly make XFlow even better.

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

xflow-net-0.0.4.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

xflow_net-0.0.4-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

Supported by

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