mgc function is not working and I can't change the type in "local_correlation.cp37-win_amd64.pyd".
I tried :
mgc = MGC()
mgc_statistic , independence_test_metadata = mgc.test_statistic(X,Y)
and i have this error message :
File "mgcpy\independence_tests\mgc_utils\local_correlation.pyx", line 83, in mgcpy.independence_tests.mgc_utils.local_correlation.local_correlations
File "mgcpy\independence_tests\mgc_utils\local_correlation.pyx", line 138, in mgcpy.independence_tests.mgc_utils.local_correlation.local_correlations
File "mgcpy\independence_tests\mgc_utils\local_correlation.pyx", line 16, in mgcpy.independence_tests.mgc_utils.local_correlation.local_covariance
ValueError: Buffer dtype mismatch, expected 'int_t' but got 'long long'
I use Windows 10 & Python 3.7
mgc function is not working and I can't change the type in "local_correlation.cp37-win_amd64.pyd".
I tried :
mgc = MGC()
mgc_statistic , independence_test_metadata = mgc.test_statistic(X,Y)
and i have this error message :
File "mgcpy\independence_tests\mgc_utils\local_correlation.pyx", line 83, in mgcpy.independence_tests.mgc_utils.local_correlation.local_correlations
File "mgcpy\independence_tests\mgc_utils\local_correlation.pyx", line 138, in mgcpy.independence_tests.mgc_utils.local_correlation.local_correlations
File "mgcpy\independence_tests\mgc_utils\local_correlation.pyx", line 16, in mgcpy.independence_tests.mgc_utils.local_correlation.local_covariance
ValueError: Buffer dtype mismatch, expected 'int_t' but got 'long long'
I use Windows 10 & Python 3.7