mlx-examples/gcn
2023-12-11 20:15:11 +01:00
..
datasets.py add GCN implementation 2023-12-11 17:48:07 +01:00
gcn.py add GCN implementation 2023-12-11 17:48:07 +01:00
main.py use tree_flatten within L2 regularization 2023-12-11 20:15:11 +01:00
README.md add GCN implementation 2023-12-11 17:48:07 +01:00
requirements.txt add GCN implementation 2023-12-11 17:48:07 +01:00

Graph Convolutional Network

An example of GCN implementation with MLX.

Install requirements

First, install the few dependencies with pip.

pip install -r requirements.txt

Run

To try the model, just run the main.py file. This will download the Cora dataset, run the training and testing.

python main.py