File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 23
23
from ..utils .extmath import fast_logdet
24
24
25
25
26
+ @validate_params (
27
+ {
28
+ "emp_cov" : [np .ndarray ],
29
+ "precision" : [np .ndarray ],
30
+ },
31
+ prefer_skip_nested_validation = True ,
32
+ )
26
33
def log_likelihood (emp_cov , precision ):
27
34
"""Compute the sample mean of the log_likelihood under a covariance model.
28
35
Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ def _check_function_param_validation(
139
139
"sklearn.cluster.ward_tree" ,
140
140
"sklearn.covariance.empirical_covariance" ,
141
141
"sklearn.covariance.ledoit_wolf_shrinkage" ,
142
+ "sklearn.covariance.log_likelihood" ,
142
143
"sklearn.covariance.shrunk_covariance" ,
143
144
"sklearn.datasets.clear_data_home" ,
144
145
"sklearn.datasets.dump_svmlight_file" ,
You can’t perform that action at this time.
0 commit comments