This message was deleted.
# ask-for-help
s
This message was deleted.
a
@Victor king Oshimua From the looks of it, your provided more fields then what you trained the model on. What fields was the model trained on do you have the column names?
v
I have checked my training data, and it's the same fields as what I am testing on. In fact, I used the first observations of the training data and I got the same error message
🤔 1
The training data and test data has the same field / columns names
a
Could you share the service definition and model preparation code?
v
All right, I will do that now I followed the tutorial from mlzoomcamp where @Tim Liu showcased how to use bento ml. I wrote the same code from the tutorial.
a
Hey @Victor king Oshimua I followed the jupyter notebook trained an xgboost model, saved it and ran it in bentoml It seems to work as expected, could you match your service to this service on github? - https://github.com/alexeygrigorev/mlbookcamp-code/blob/master/course-zoomcamp/07-bentoml-production/code/service.py