Skip to content

Commit

Permalink
correcting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nageetaw committed Dec 22, 2023
1 parent f2a5110 commit 4865278
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion sklearn_questions.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
DateTimeIndex.
Detailed instructions for question 1:
The nea for a point X_i the target y_k of
The nearest neighbor classifier predicts for a point X_i the target y_k of
the training sample X_k which is the closest to X_i. We measure proximity with
the Euclidean distance. The model will be evaluated with the accuracy (average
number of samples corectly classified). You need to implement the `fit`,
Expand Down
5 changes: 1 addition & 4 deletions test_sklearn_questions.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,4 @@ def test_time_split_on_column(end_date, shuffle_data):

assert 'idx' not in X.columns

assert n_splits == cv.get_n_splits(X, y)


# AssertionError: assert Timestamp('2021-01-31 00:00:00') < Timestamp('2020-01-02 00:00:00')
assert n_splits == cv.get_n_splits(X, y)

0 comments on commit 4865278

Please sign in to comment.