Skip to content

Commit effde3a

Browse files
authored
Update GRaSP.py
1 parent 4499639 commit effde3a

File tree

1 file changed

+2
-2
lines changed
  • causallearn/search/PermutationBased

1 file changed

+2
-2
lines changed

causallearn/search/PermutationBased/GRaSP.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,11 @@ def grasp(
153153
)
154154
elif score_func == "local_score_BIC":
155155
# SEM BIC score
156-
warnings.warn("Please use 'local_score_BIC_from_cov' instead")
156+
warnings.warn("Using 'local_score_BIC_from_cov' instead for efficiency")
157157
if parameters is None:
158158
parameters = {"lambda_value": 2}
159159
localScoreClass = LocalScoreClass(
160-
data=X, local_score_fun=local_score_BIC, parameters=parameters
160+
data=X, local_score_fun=local_score_BIC_from_cov, parameters=parameters
161161
)
162162
elif score_func == "local_score_BIC_from_cov":
163163
# SEM BIC score

0 commit comments

Comments
 (0)