Predicting graph structure from a time series of graphs
Project description
Netseer
Predicting graph structure from a time series of graphs
This is a Python implementation of netseer.
Netseer is a tool that outputs a predicted graph based on a time series graph sequence
Purpose
The goal of netseer is to predict the graph structure including new nodes and edges from a time series of graphs.
The methodology is explained in the preprint (Kandanaarachchi et al. 2025).
Authors
Stefan Westerlund: Created netseer code. Brodie Oldfield: Packaging and docs.
Installation
This package is available on PyPI, and can be installed with PIP or with a Package Manager:
pip install netseer # or uv add netseer
Quick Example
Generating an example graph list:
from netseer import generate_graph
graph_list = generate_graph.generate_graph_list()
The generate_graph_list() function has parameters for templating what types of graphs to generate. Information about these can be found in the reference docs.
Predicting on that graph:
from netseer import prediction
predict = prediction.predict_graph(graph_list, h=1)
Increasing the h parameter increases how many steps into the future the prediction is, with h=1 being 1 step in the graph sequence.
References
Kandanaarachchi, Sevvandi, Ziqi Xu, Stefan Westerlund, and Conrad Sanderson. 2025. “Predicting Graph Structure via Adapted Flux Balance Analysis.” https://arxiv.org/abs/2507.05806.
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 netseer-0.1.1.tar.gz.
File metadata
- Download URL: netseer-0.1.1.tar.gz
- Upload date:
- Size: 2.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cb8847219786313bce19e8f07bab93e5ef0704f591f247b7d417f777562949e
|
|
| MD5 |
68d83145e2595be28d8b9d5ff20423fa
|
|
| BLAKE2b-256 |
2f0783cf8f8b92a0c272bc702bb97216b1c48075caab5541650b33cbc89c49a3
|
File details
Details for the file netseer-0.1.1-py3-none-any.whl.
File metadata
- Download URL: netseer-0.1.1-py3-none-any.whl
- Upload date:
- Size: 25.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99756b6a82d5d5d51358f9baef6a5ea6da4cda4ab63cb12d213e9c28b728bab6
|
|
| MD5 |
bd1ecd5abe4bff716c2d9c22dce2920a
|
|
| BLAKE2b-256 |
9431c18d2df28bbdffc212ce8c564c0b1d76b0042d66ce452dd60af8c3963c89
|