awslabs / awslabs/graphstorm

How to include node type with both labeled and unlabeled members

Open
#1,324 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
452
Forks
76
PR merge metrics
No merged PRs in 30d

Description

I have a use case for a single node type that has a mixture of labeled and unlabeled members. The docs sound like this is handled:

[source](https://graphstorm.readthedocs.io/en/v0.3.1/tutorials/own-data.html#customized-label-split)

"These JSON files only need to list the IDs on its own set. For example, in a node classification task, there are 100 nodes and node ID starts from 0, and assume the last 50 nodes (ID from 49 to 99) have labels associated. ...."

I have parquet files for my nodes. During the graph construction routine, the creation of the final numpy arrays for labels seemed to indicate that I needed dummy labels for these nodes. How am I supposed to handle this use case where I want to keep to a single node type for this data?

Thank you!

Contributor guide

Open the contributing guide

Research direction

Start with the customized-label-split documentation linked in the issue and trace the graph construction routine that creates the final NumPy label arrays from Parquet node files. Clarify whether mixed labeled and unlabeled members are supported with one node type, and document the required input and expected label representation.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, python
Domain
machine-learning
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.