GNN Model with 93% Accuracy for Facebook Page-Page Network Node Classification with TSNE Visualization#169
GNN Model with 93% Accuracy for Facebook Page-Page Network Node Classification with TSNE Visualization#169liammulhern wants to merge 27 commits intoshakes76:mainfrom
Conversation
… GNN training method
|
This is an initial inspection, no action is required at this point
TSNE / UMAP:
Suggestions: |
Marking
Marked as per the due date and changes after which aren't necessarily allowed to contribute to grade for fairness. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Feedback marks possible +2 if the requested changes are made (see above). |
GNN Model with 93% Accuracy for Facebook Page-Page Network Node Classification with TSNE Visualization
This project introduces a multi-layer graph neural network (GNN) for semi-supervised, multi-class node classification on the Facebook Large Page-Page Network dataset, achieving 93.14% accuracy. The network classifies nodes (representing Facebook pages) into four categories: Politicians, Government Organizations, Television Shows, and Companies.
Key features of PR:
Modules:
dataset.py: Loads and preprocesses data.main.py: CLI for training and inference.modules.py: Defines GNN architecture.train.py: Manages training, validation, and metric logging.predict.py: Runs model inference and visualizations.Execution:
Supports training (
--train--save--load), inference (--inference <index>), and visualization (--display) through CLI.GNN Architecture:
Training:
Results:
Achieves 93.14% accuracy; training and validation metrics show potential overfitting.
TSNE visualizations show clearer clustering post-training, indicating successful categorization.