Skip to content

Commit b4f064f

Browse files
authored
Merge pull request #247 from fmfsa/patch-1
Update documentation to use 'log-likelihood'
2 parents f179dd7 + e458d62 commit b4f064f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

causallearn/score/LocalScoreFunction.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ def local_score_marginal_general(
682682
Data: ndarray, Xi: int, PAi: List[int], parameters=None
683683
) -> float:
684684
"""
685-
Calculate the local score by negative marginal likelihood
685+
Calculate the local score by negative marginal log-likelihood
686686
based on a regression model in RKHS
687687
688688
Parameters
@@ -784,7 +784,7 @@ def local_score_marginal_multi(
784784
Data: ndarray, Xi: int, PAi: List[int], parameters: Dict[str, Any]
785785
) -> float:
786786
"""
787-
Calculate the local score by negative marginal likelihood
787+
Calculate the local score by negative marginal log-likelihood
788788
based on a regression model in RKHS
789789
for variables with multi-variate dimensions
790790
@@ -887,4 +887,4 @@ def local_score_marginal_multi(
887887
nargout=2,
888888
)
889889
score = nlml # negative log-likelihood
890-
return score
890+
return score

0 commit comments

Comments
 (0)