Closed Rhydderch closed 2 years ago
Hi,
if your variables range from 0-100 and almost all values are there, you should perhaps use the kraskov estimator (with some added epsilon noise), because the discrete estimator will not be able to work with so many symbols in the alphabets of your variables.
Michael
From: Yorgo @.***> Sent: Wednesday, November 16, 2022 10:18:52 PM To: pwollstadt/IDTxl Cc: Subscribed Subject: [pwollstadt/IDTxl] TypeError when using JidtDiscreteCMI (Issue #88)
Hello,
When I try to use the estimator for discrete data, I get the following error:
TypeError: No matching overloads found for constructor infodynamics.measures.discrete.ConditionalMutualInformationCalculatorDiscrete(), options are: public infodynamics.measures.discrete.ConditionalMutualInformationCalculatorDiscrete(int,int,int)
Here's my code:
dat = Data(mydata, dim_order='rsp') network_analysis = MultivariateTE() settings = { 'cmi_estimator': 'JidtDiscreteCMI', 'max_lag_sources': 3, 'min_lag_sources': 0 }
results = network_analysis.analyse_network(settings=settings, data=dat)
What am I doing wrong here?
PS: I don't encounter the same errors with the "OpenCLKraskovCMI" for continuous data (though, my variables range from 0-100, so I'm not sure the KSG estimator is the right choice)
— Reply to this email directly, view it on GitHubhttps://github.com/pwollstadt/IDTxl/issues/88, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACFJQGR7PVH6VKCCSHW3K5LWIVFTZANCNFSM6AAAAAASCVUDLQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hi Michael,
Thank you very much for your answer and for clarifying. The kraskov estimator works well.
Yorgo
Hello,
When I try to use the estimator for discrete data, I get the following error:
Here's my code:
What am I doing wrong here?
PS: I don't encounter the same errors with the "OpenCLKraskovCMI" for continuous data (though, my variables range from 0-100, so I'm not sure the KSG estimator is the right choice)