pygcn icon indicating copy to clipboard operation
pygcn copied to clipboard

Sort the one-hot-encoding for reproducible results

Open chao1224 opened this issue 4 years ago • 3 comments

To #58, the results are not reproducible. It's caused by the one-hot encoding for the label while loading the data. We can get reproducible results after fixing the class order.

chao1224 avatar May 07 '20 21:05 chao1224

To #58, the results are not reproducible. It's caused by the one-hot encoding for the label while loading the data. We can get reproducible results after fixing the class order.

why the order of classes will change the result?

chenjw505 avatar Dec 04 '20 08:12 chenjw505

To #58, the results are not reproducible. It's caused by the one-hot encoding for the label while loading the data. We can get reproducible results after fixing the class order.

why the order of classes will change the result?

set() returns different results classes = set(labels)

Teassassin avatar Nov 23 '22 14:11 Teassassin

similar to https://github.com/tkipf/pygcn/pull/53

BackMountainDevil avatar Feb 28 '24 07:02 BackMountainDevil