qbiocode.apps.quvine.baselines package#

Optional baseline embedding methods.

Every name below is re-exported for convenience only. The guards keep import qbiocode working when a baseline’s dependency is absent, but they do not make the method registry resilient – adapters imports from each module directly, so a genuinely broken baseline still fails loudly there, which is the correct outcome. What the guards must not do is fail silently: a shorter __all__ with no explanation is undiagnosable, so each failure is recorded in UNAVAILABLE and logged at DEBUG.

Submodules:

Summary#

__all__ Classes:

GCNLayer

Single Graph Convolutional Layer.

GCNMF

GCN-MF: Graph Convolutional Network with Matrix Factorization.

GraphGPSConfig

Hyperparameters for the GraphGPS encoder.

GraphGPSTrainConfig

Training config for unsupervised link reconstruction or node classification.

QuVINEGCNMF

QuVINE GCN-MF: GCN-MF with precomputed quantum-calibrated features.

__all__ Functions:

generate_appnp_embedding

Generate node embeddings using APPNP.

generate_baseline_filter_embedding_wrapper

Generate baseline graph filter embeddings (WITHOUT quantum calibration).

generate_baseline_gcnmf_embedding

Generate baseline GCN-MF embeddings (WITHOUT quantum calibration).

generate_graphgps_embedding

Generate embeddings using one feature variant followed by GraphGPS.

generate_multiple_graphgps_embeddings

normalize_adjacency

Normalize adjacency matrix: D^(-1/2) * A * D^(-1/2)

precompute_quantum_diffusion

Precompute quantum-calibrated diffusion OFFLINE (before training).

run_appnp

Run APPNP and return embeddings aligned to nodes.

run_graphsage

Unsupervised GraphSAGE embedding.

run_netmf

Run NetMF (Network Embedding as Matrix Factorization) on a graph.

run_node2vec

Run Node2Vec and return embeddings aligned to nodes.

train_gcn_mf

Train GCN-MF model.

__all__ Data:

Reference#

UNAVAILABLE: dict[str, str] = {}#

Maps a baseline module name to the reason it could not be imported. Empty on a complete install. Inspect it when an expected method is missing from qbiocode.apps.quvine.list_methods().