I want to split my graph into connected components because I don’t want to break my network when training my model. There is a notion of time in those graphs. I want to point out that I want to do a node classification and not a graph classification.
Moreover, I would like that my training and testing set have approximately the same proportion of nodes with label -1, 0 and 1.
Is there any function in dgl which allows to do this or not ?
Thank you !