Skip to content

Commit

Permalink
DOC fix typo in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre committed May 1, 2024
1 parent 258bcbd commit 251b4f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skltemplate/_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def predict(self, X):
y : ndarray, shape (n_samples,)
Returns an array of ones.
"""
# Check is fit had been called
# Check if fit had been called
check_is_fitted(self)
# We need to set reset=False because we don't want to overwrite `n_features_in_`
# `feature_names_in_` but only check that the shape is consistent.
Expand Down Expand Up @@ -206,7 +206,7 @@ def predict(self, X):
The label for each sample is the label of the closest sample
seen during fit.
"""
# Check is fit had been called
# Check if fit had been called
check_is_fitted(self)

# Input validation
Expand Down

0 comments on commit 251b4f9

Please sign in to comment.