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
I want to used the "local_score_CV_general" score function with GES, but I'm running into an issue with a random test case:
import numpy as np
from causallearn.search.ScoreBased.GES import ges
X = np.random.rand(10,10)
result = ges(X, score_func="local_score_CV_general")
With the following error message
line 360, in local_score_cv_general
dists = Q + R - 2 * X * X.T
ValueError: operands could not be broadcast together with shapes (1,100) (10,10)
I think this issue is data independent (hence the use of a random matrix as a test), but please correct me if I'm wrong. I noticed that in tests/TestGES.py there are no unit tests for the generalized score functions. Is this functionality not yet validated?
Thank you in advance!
The text was updated successfully, but these errors were encountered:
I want to used the "local_score_CV_general" score function with GES, but I'm running into an issue with a random test case:
With the following error message
I think this issue is data independent (hence the use of a random matrix as a test), but please correct me if I'm wrong. I noticed that in
tests/TestGES.py
there are no unit tests for the generalized score functions. Is this functionality not yet validated?Thank you in advance!
The text was updated successfully, but these errors were encountered: