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.
Release files for netseer 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| netseer-0.1.1.tar.gz | 2.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| netseer-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.6 MB
Release files / netseer-0.1.1.tar.gz
| Download URL | netseer-0.1.1.tar.gz |
|---|---|
| Size | 2.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5cb8847219786313bce19e8f07bab93e5ef0704f591f247b7d417f777562949e
|
|
BLAKE2b-256 checksum How to use checksums |
2f0783cf8f8b92a0c272bc702bb97216b1c48075caab5541650b33cbc89c49a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.4
|
Release files / netseer-0.1.1-py3-none-any.whl
| Download URL | netseer-0.1.1-py3-none-any.whl |
|---|---|
| Size | 25.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
99756b6a82d5d5d51358f9baef6a5ea6da4cda4ab63cb12d213e9c28b728bab6
|
|
BLAKE2b-256 checksum How to use checksums |
9431c18d2df28bbdffc212ce8c564c0b1d76b0042d66ce452dd60af8c3963c89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.4
|