Modify the "prepare_data.py" according to your needs.
The "build_graph.py" helps in creating the ind.{dataset_name}.allx, ally, tx, ty, and adj (i.e. graph) files.
Try to avoid runtime warning of "divide by zero" when you try to compile build_graph.py as it'll give you incorrect results.
Please check the "prepare_data.py" and "build_graph.py" files from this link: https://github.com/yao8839836/text_gcn
Modify the "prepare_data.py" according to your needs. The "build_graph.py" helps in creating the ind.{dataset_name}.allx, ally, tx, ty, and adj (i.e. graph) files. Try to avoid runtime warning of "divide by zero" when you try to compile build_graph.py as it'll give you incorrect results.