Skip to content

v0.2.0

Choose a tag to compare

@dttutty dttutty released this 07 Nov 07:01

Train a temporal graph neural network directly from your own event CSV and score candidate interactions with the new frost command.

# Install the downloaded wheel in a Python 3.12 environment.
python -m pip install ./frost_gnn-0.2.0-cp312-cp312-manylinux_2_31_x86_64.whl
frost train events.csv --src 42 --candidates 121,12312,31231,12331
frost predict frost-model.pt --test test.csv --predictions scores.csv
frost features nodes.csv --id-col n_id --output nodes.npy
  • The distribution is now frost_gnn; Python imports remain frost. When upgrading from the FROST 0.1.0 wheel, uninstall the old frost distribution first to avoid overlapping files. This package remains private and is not published on PyPI.
  • Accepts src,dst CSVs with numeric/ISO timestamps or synthetic row-order time. Queries use the training cutoff by default; explicit times and independent test CSVs are supported.
  • Checkpoints include model weights, ID mappings, node features and event history. Predict without retraining. NPY features support direct numeric-ID indexing or a JSON row-ID mapping; the tabular converter writes that mapping automatically.
  • The simple entry point trains one-hop TGAT on CPU or a selected GPU. Existing advanced multi-GPU and TPNet entry points remain available.
  • Scores are sigmoid ranking scores, not calibrated real-world probabilities. Query nodes must have appeared in training. Queries before the training cutoff are rejected; test queries never become training history.

Target: Linux x86-64, glibc 2.31+, Python 3.12, PyTorch 2.9.0. The wheel includes the native sampler and bundles its OpenMP runtime. CPU use does not require a GPU; a compatible NVIDIA driver is required for CUDA execution.

Validation: 568 library CPU tests passed (8 skipped), 129 parent integration tests passed, and 25 installed-wheel training/prediction/native-sampler tests passed with editable imports disabled. Ruff, mypy and package metadata checks passed. No GPU job was run for this release. See BUILD_INFO.json and SHA256SUMS for provenance and integrity.