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 86aafa0 commit cbb202c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions river/preprocessing/one_hot.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ class OneHotEncoder(base.MiniBatchTransformer):
0 0 0 0 0
1 1 0 0 1
2 0 0 0 0
"""

def __init__(self, categories = "auto", drop_zeros=False, drop_first=False):
Expand Down

0 comments on commit cbb202c

Please sign in to comment.