You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code assumes two labels, i.e., 0 and the rest. In my case, I was working with many different classes and using this function, I was getting the incorrect accuracy. For the random case when the nodes had been initialized with a label at random, the accuracy was higher than expected, i.e., 1/number of classes.
I simplified a bit split_data function, and now it can be defined as:
Thanks for a very nice framework to work with GNNs!
I encountered one issue when loading my dataset. Namely, in the function
split_data
https://github.com/AnoushkaVyas/GraphZoo/blob/3934f145c25a79388feb3adf02e9f1ea56f6e424/graphzoo/dataloader/dataloader.py#LL203C4-L203C4
The code assumes two labels, i.e., 0 and the rest. In my case, I was working with many different classes and using this function, I was getting the incorrect accuracy. For the random case when the nodes had been initialized with a label at random, the accuracy was higher than expected, i.e., 1/number of classes.
I simplified a bit
split_data
function, and now it can be defined as:The text was updated successfully, but these errors were encountered: