Skip to content
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

Questions about errors #5

Open
YianKim opened this issue Nov 10, 2021 · 1 comment
Open

Questions about errors #5

YianKim opened this issue Nov 10, 2021 · 1 comment
Assignees

Comments

@YianKim
Copy link

YianKim commented Nov 10, 2021

Hello.

I was interested in converting a machine learning model written in pmml, python, or R into sql code, and then I learned about sklearn2sql.

This was the service I was looking for, but when I ran it there was a problem. I think it's an error in requests.post(WS_URL, json=data) based on response[500].
xc1

Because of these problems, I couldn't finally get the sql code.
xc2

If you could tell me how to solve it, I would be very grateful. I'm still new to this field, so please understand.

thank you.

@antoinecarme
Copy link
Member

antoinecarme commented Nov 11, 2021

Hi @YianKim

Thanks for using this demo. This is really a "demo" that I put in place to perform some tests. You can use it but, please, don't expect too much of it in production. However, I expect the results to be OK and issues are welcome in this case.

By looking at the logs of the web service, I notice that a random forest model has been uploaded tonight? , you can get the result in this url as well as the SQL code.

https://sklearn2sql.herokuapp.com/
https://sklearn2sql.herokuapp.com/model/model1

Probably what happened is a timeout of the web service (conversion takes too much time, error 500), in this case, internally, the model conversion continues and you can always get the converted model later (wait/pause for 2 minutes or so).

Hope this helps.

@antoinecarme antoinecarme self-assigned this Nov 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants