Skip to content

Fix typos #9577

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 17, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sklearn/linear_model/sag_fast.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def sag(SequentialDataset dataset,
cdef int *x_ind_ptr = NULL
# the number of non-zero features for current sample
cdef int xnnz = -1
# the label value for curent sample
# the label value for current sample
cdef double y
# the sample weight
cdef double sample_weight
Expand Down
2 changes: 1 addition & 1 deletion sklearn/model_selection/tests/test_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def check_hyperparameter_searcher_with_fit_params(klass, **klass_kwargs):
clf = CheckingClassifier(expected_fit_params=['spam', 'eggs'])
searcher = klass(clf, {'foo_param': [1, 2, 3]}, cv=2, **klass_kwargs)

# The CheckingClassifer generates an assertion error if
# The CheckingClassifier generates an assertion error if
# a parameter is missing or has length != len(X).
assert_raise_message(AssertionError,
"Expected fit parameter(s) ['eggs'] not seen.",
Expand Down
2 changes: 1 addition & 1 deletion sklearn/neighbors/quad_tree.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ cdef class _QuadTree:
def __getstate__(self):
"""Getstate re-implementation, for pickling."""
d = {}
# capacity is infered during the __setstate__ using nodes
# capacity is inferred during the __setstate__ using nodes
d["max_depth"] = self.max_depth
d["cell_count"] = self.cell_count
d["capacity"] = self.capacity
Expand Down