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
In running the sample code, trigger_example.py, I receive the following error:
File "C:\Apps\Anaconda3\lib\site-packages\CTL\causal_tree_learn.py", line 75, in fit
self.tree.fit(x, y, t)
File "C:\Apps\Anaconda3\lib\site-packages\CTL\causal_tree\ctl_trigger\ctl_base_trigger.py", line 42, in fit
effect, trigger = tau_squared_trigger(y, t, self.min_size, self.quartile)
File "CTL\causal_tree\util_c.pyx", line 353, in CTL.causal_tree.util_c.tau_squared_trigger
File "CTL\causal_tree\util_c.pyx", line 402, in CTL.causal_tree.util_c.tau_squared_trigger
ValueError: Buffer dtype mismatch, expected 'long_t' but got 'long'
Searching online, it appears to be an issue with the conversion Causal Tree Learn is using from Python to C.
The text was updated successfully, but these errors were encountered:
In running the sample code, trigger_example.py, I receive the following error:
File "C:\Apps\Anaconda3\lib\site-packages\CTL\causal_tree_learn.py", line 75, in fit
self.tree.fit(x, y, t)
File "C:\Apps\Anaconda3\lib\site-packages\CTL\causal_tree\ctl_trigger\ctl_base_trigger.py", line 42, in fit
effect, trigger = tau_squared_trigger(y, t, self.min_size, self.quartile)
File "CTL\causal_tree\util_c.pyx", line 353, in CTL.causal_tree.util_c.tau_squared_trigger
File "CTL\causal_tree\util_c.pyx", line 402, in CTL.causal_tree.util_c.tau_squared_trigger
ValueError: Buffer dtype mismatch, expected 'long_t' but got 'long'
Searching online, it appears to be an issue with the conversion Causal Tree Learn is using from Python to C.
The text was updated successfully, but these errors were encountered: