pplonski / my_ml_service

My Machine Learning Web Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

{'status': 'Error', 'message': "'LabelEncoder' object is not subscriptable"}

farahabdelsalam opened this issue · comments

Hi I get this error when I run the tests part, any idea what the problem could be?
Thanks

commented

Hmmm, it looks like some problem with scikit learn encoder. Can you give me more details how you run tests, have you made any changes to the code?

commented

I'm closing the issue as it is not related to this repo.

In postprocessing, you are returning only "status": "OK" - you overwrite your predictions. Please look closely how it is done here: https://github.com/pplonski/my_ml_service/blob/master/backend/server/apps/ml/income_classifier/random_forest.py