Skip to content

Commit 1de4560

Browse files
authored
DOC fix parameter name typos in docstrings (5 locations) (scikit-learn#34428)
1 parent dfe68af commit 1de4560

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

sklearn/cluster/_hdbscan/hdbscan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def _brute_mst(mutual_reachability, min_samples):
9393
9494
Parameters
9595
----------
96-
mututal_reachability_graph: {ndarray, sparse matrix} of shape \
96+
mutual_reachability : {ndarray, sparse matrix} of shape \
9797
(n_samples, n_samples)
9898
Weighted adjacency matrix of the mutual reachability graph.
9999

sklearn/mixture/_bayesian_mixture.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def _log_wishart_norm(degrees_of_freedom, log_det_precisions_chol, n_features):
4949
The number of degrees of freedom on the covariance Wishart
5050
distributions.
5151
52-
log_det_precision_chol : array-like of shape (n_components,)
52+
log_det_precisions_chol : array-like of shape (n_components,)
5353
The determinant of the precision matrix for each component.
5454
5555
n_features : int

sklearn/utils/_testing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ def _check_consistency_items(
699699
700700
Parameters
701701
----------
702-
items_doc : dict of dict of str
702+
items_docs : dict of dict of str
703703
Dictionary where the key is the string type or description, value is
704704
a dictionary where the key is "type description" or "description"
705705
and the value is a list of object names with the same string type or
@@ -1084,7 +1084,7 @@ def raises(expected_exc_type, match=None, may_pass=False, err_msg=None):
10841084
10851085
Parameters
10861086
----------
1087-
excepted_exc_type : Exception or list of Exception
1087+
expected_exc_type : Exception or list of Exception
10881088
The exception that should be raised by the block. If a list, the block
10891089
should raise one of the exceptions.
10901090
match : str or list of str, default=None

sklearn/utils/validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2454,7 +2454,7 @@ def _generate_get_feature_names_out(estimator, n_features_out, input_features=No
24542454
estimator : estimator instance
24552455
Estimator producing output feature names.
24562456
2457-
n_feature_out : int
2457+
n_features_out : int
24582458
Number of feature names out.
24592459
24602460
input_features : array-like of str or None, default=None

0 commit comments

Comments
 (0)