Skip to content

Commit

Permalink
Update river/preprocessing/one_hot.py
Browse files Browse the repository at this point in the history
Code review fixes

Co-authored-by: Max Halford <[email protected]>
  • Loading branch information
ColdTeapot273K and MaxHalford authored Sep 10, 2024
1 parent 4ff7bb2 commit 86aafa0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion river/preprocessing/one_hot.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ class OneHotEncoder(base.MiniBatchTransformer):
>>> categories = {'c1': {'a', 'h'}, 'c2': {'x', 'e'}}
>>> oh = preprocessing.OneHotEncoder(categories=categories)
>>> # oh = preprocessing.OneHotEncoder()
>>> for x in X:
... oh.learn_one(x)
... pprint(oh.transform_one(x))
Expand Down

0 comments on commit 86aafa0

Please sign in to comment.