GuiltyNeuron / ANPR

license plate detection and recognition
385 stars 147 forks source link

unexpected keyword argument 'categorical_features' #26

Open parsibox opened 4 years ago

parsibox commented 4 years ago

hi i have this error

USA_plates/predict.py", line 39, in <module>
    ohe = OneHotEncoder(handle_unknown='ignore', categorical_features=None)
  File "F:\source\python\Digits-Classification-master\venv\lib\site-packages\sklearn\utils\validation.py", line 73, in inner_f
    return f(**kwargs)
TypeError: __init__() got an unexpected keyword argument 'categorical_features'
AMohamedAakhil commented 1 year ago

I can work on this.