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 ecc66e3 + 9c2a8e8 commit 7bd7c68Copy full SHA for 7bd7c68
causallearn/score/LocalScoreFunction.py
@@ -198,7 +198,7 @@ def local_score_cv_general(
198
PAi = list(PAi)
199
200
T = Data.shape[0]
201
- X = Data[:, Xi]
+ X = Data[:, [Xi]]
202
var_lambda = parameters["lambda"] # regularization parameter
203
k = parameters["kfold"] # k-fold cross validation
204
n0 = math.floor(T / k)
@@ -715,7 +715,7 @@ def local_score_marginal_general(
715
"""
716
717
718
719
dX = X.shape[1]
720
721
# set the kernel for X
0 commit comments