10000 DOC Fix typos (#9577) · scikit-learn/scikit-learn@d9fdd8b · GitHub
[go: up one dir, main page]

Skip to content

Commit d9fdd8b

Browse files
taehoonleejnothman
authored andcommitted
DOC Fix typos (#9577)
1 parent dca8406 commit d9fdd8b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

sklearn/linear_model/sag_fast.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def sag(SequentialDataset dataset,
263263
cdef int *x_ind_ptr = NULL
264264
# the number of non-zero features for current sample
265265
cdef int xnnz = -1
266-
# the label value for curent sample
266+
# the label value for current sample
267267
cdef double y
268268
# the sample weight
269269
cdef double sample_weight

sklearn/model_selection/tests/test_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def check_hyperparameter_searcher_with_fit_params(klass, **klass_kwargs):
189189
clf = CheckingClassifier(expected_fit_params=['spam', 'eggs'])
190190
searcher = klass(clf, {'foo_param': [1, 2, 3]}, cv=2, **klass_kwargs)
191191

192-
# The CheckingClassifer generates an assertion error if
192+
# The CheckingClassifier generates an assertion error if
193193
# a parameter is missing or has length != len(X).
194194
assert_raise_message(AssertionError,
195195
"Expected fit parameter(s) ['eggs'] not seen.",

sklearn/neighbors/quad_tree.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ cdef class _QuadTree:
521521
def __getstate__(self):
522522
"""Getstate re-implementation, for pickling."""
523523
d = {}
524-
# capacity is infered during the __setstate__ using nodes
524+
# capacity is inferred during the __setstate__ using nodes
525525
d["max_depth"] = self.max_depth
526526
d["cell_count"] = self.cell_count
527527
d["capacity"] = self.capacity

0 commit comments

Comments
 (0)
0