Giter VIP home page Giter VIP logo

Comments (1)

gbouritsas avatar gbouritsas commented on May 25, 2024 1

Hello,

There are a few modifications that need to be done. I will guide you through them below.

First, create a folder named XXX, inside the root folder that you have selected (--root_folder argument set from the command line/main.py file), where XXX is the name of your dataset family (--dataset argument). In case you have dataset subcategories you can create folders named YYY inside root_folder/XXX/ (--dataset_name argument). If not, YYY can be left empty (''). Place your raw data in root_folder/XXX/YYY.

Then, add the name of the new dataset family to the accepted list of names here (L211). Similarly, add a new case here (L46), such that the load function that you will create next (see below) is called when the corresponding --dataset and --dataset_name arguments are set in the main file.

Finally, you need to add a load function here that takes as input the path to your raw data and returns (1) a list of graphs (each element in the list contains all the information for a graph, e.g. node features, edge list etc. - see the examples in this file for more info) and (2) the output dimension (e.g. number of classes for classification tasks).

The rest should be taken care of by the existing code, as long as there is consistency in the variable names. To choose the substructures see here.

I hope this helps.

from gsn.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.