SampledSubgraph<T>

Models & Types · AiDotNet.FederatedLearning.Graph

Represents a sampled subgraph from neighborhood sampling.

Constructors

Constructor Summary
SampledSubgraph()

Properties

Property Summary
Tensor<T> Adjacency { get; set; } Gets or sets the adjacency matrix of the sampled subgraph.
Tensor<T> NodeFeatures { get; set; } Gets or sets the node features of the sampled subgraph.
int[] NodeMapping { get; set; } Gets or sets the mapping from sampled node indices to original node indices.
int[] TargetNodeIndices { get; set; } Gets or sets the indices of the target nodes within the sampled subgraph.