OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Mixhop And N Gcn

Mixhop And N Gcn is a Python and PyTorch repository implementing MixHop and N-GCN graph convolutional methods for graph representation learning and node classification.

Independent OpenViST project profile, based on linked sources.

Mixhop And N Gcn — Node-classification experiments on graph-structured data
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when you have graph edges, sparse node features and class targets in the documented formats and want a command-line implementation of MixHop or N-GCN.

Who it is for

  • Researchers reproducing or exploring MixHop and N-GCN graph-learning methods.
  • Developers prototyping node-classification models using graph structure and sparse node features.

Documented uses

  • Train a MixHop or N-GCN model from an edge list, sparse node features and target classes.
  • Configure training parameters such as epochs, learning rate, dropout and model layers.
  • Compare the two model variants on graph-learning tasks.
Before you choose

Requirements & limits

The repository is public and identified as open source under GPL-3.0.

  • The implementation uses Python 3.5.2 and lists specific development versions for PyTorch, torch-sparse and supporting packages.
  • Inputs must follow three distinct formats: edge-list CSV, sparse-feature JSON and target CSV.
  • The README includes sample Cora input files and documents training through src/main.py.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Prepare graph inputs for model training

Format graph structure, sparse node features and target classes for the repository’s training script.

Before you start

  • A graph edge-list CSV with a header and zero-indexed node identifiers.
  • A JSON file containing sparse binary node features, with node identifiers as keys and feature indices as values.
  • A target CSV with headers, node identifiers and class labels indexed from zero.

Steps

  1. Represent each graph edge as a comma-separated node pair in the edge-list CSV.

  2. Store each node’s feature indices as a list in the JSON feature file.

  3. Create a target CSV containing each node identifier and its class label.

Expected outcome

The three input files follow the formats described for the training script.

Guide limitations

  • The guide covers input preparation only; it does not verify that a particular dataset will train successfully.
  • The README’s sample files are for Cora.
Source-based practical guide

Select a model variant for training

Choose MixHop or N-GCN through the documented model option.

Before you start

  • Python 3.5.2 and the documented development packages, including PyTorch 1.1.0 and torch-sparse 0.3.0.
  • Graph edge-list, sparse-feature and target files in the documented formats.

Steps

  1. Use the repository’s src/main.py training script.

  2. Choose the model variant with the --model option; MixHop is the documented default and ngcn selects N-GCN.

  3. Set documented training options such as epochs, learning rate or dropout as needed.

Expected outcome

The script is configured to train the selected graph-convolution model using the specified inputs and options.

Guide limitations

  • The documented package versions are development versions and may require an environment that matches those dependencies.
  • This describes the repository’s documented invocation, not a tested result.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
15 November 2026
Original website title
benedekrozemberczki/MixHop-and-N-GCN · Official homepage title · retained in its source language

Related options

Original TensorFlow MixHop implementation — The repository README points to this as the original TensorFlow implementation of MixHop.