Closed wpzdm closed 4 years ago
It comes from 'load_dataset' that loads the TCEP dataset in always the same causal direction:
>>> labels
Out[5]:
Target
SampleID
pair1 1.0
pair2 1.0
pair3 1.0
pair4 1.0
pair5 1.0
pair6 1.0
pair7 1.0
pair8 1.0
pair9 1.0
pair10 1.0
pair11 1.0
pair12 1.0
pair13 1.0
pair14 1.0
pair15 1.0
pair16 1.0
pair17 1.0
pair18 1.0
pair19 1.0
pair20 1.0
pair21 1.0
pair22 1.0
pair23 1.0
You should shuffle the causal order to have a good training.
Thank you! I will try and report new results!
Abel
Hi, I tried as you suggested, it worked! Thank you! I think this information is better to be documented ;)
Abel
Noted, I'll add it in the documentation :)
Should be done! I'll be closing this issue, don't hesitate to reopen it if necessary.
I test NCC with half TCEP pair for training and half for testing. When testing, I flip all pairs (X2 is cause). However, NCC outputs positive value for all pairs! Code:
Outputs: