Enum PNAAggregator
Aggregation function types for Principal Neighbourhood Aggregation (PNA).
public enum PNAAggregator
Fields
Max = 1Max aggregation - takes maximum of neighbor features.
Mean = 0Mean aggregation - averages neighbor features.
Min = 2Min aggregation - takes minimum of neighbor features.
StdDev = 4Standard deviation aggregation - computes std of neighbor features.
Sum = 3Sum aggregation - sums neighbor features.
Remarks
For Beginners: These are different ways to combine information from neighbor nodes:
- Mean: Average all neighbor features (balanced, smooth)
- Max: Take the maximum value (emphasizes strong signals)
- Min: Take the minimum value (emphasizes weak signals)
- Sum: Add up all features (sensitive to number of neighbors)
- StdDev: Standard deviation (captures variance in neighborhood)