We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ebcb1ac + aac327e commit f84bd60Copy full SHA for f84bd60
causallearn/search/FCMBased/ANM/ANM.py
@@ -49,7 +49,7 @@ def fit_gp(self, X, y):
49
50
# fit Gaussian process, including hyperparameter optimization
51
gpr.fit(X, y)
52
- pred_y = gpr.predict(X)
+ pred_y = gpr.predict(X).reshape(-1, 1)
53
return pred_y
54
55
def cause_or_effect(self, data_x, data_y):
0 commit comments