-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
urllib.parse.quote: improper usage? #28
Comments
I think I might know what this is. Are you using the "xgboost" model rather than "xgboost_all_ages"? We'd suggest using the "xgboost_all_ages" model as a workaround until we can get that addressed. The all ages model generally has better performance anyway. |
Yes, I wanted to use different models. So you use different feature names? |
I just pushed an update that fixes this issue for the xgboost model. It is the same columns. The all ages model uses a newer version of our platform that urlencodes the columns. |
Great, thank you! |
I got a problem running the model:
ValueError: feature_names mismatch
The problem is that df_inputs in predict.py:253 has columns with wrong names, like
This is because of use urllib.parse.quote here:
df_inputs.columns = [urllib.parse.quote(col) for col in df_inputs.columns]
Python 3.7.7 and 3.8.1, Windows 10.
The text was updated successfully, but these errors were encountered: