Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does this model fail?

Here is the data set
https://gist.github.com/kirkstrobeck/d8b768867890807f9dc9

When using Google Prediction API it will go from RUNNING for about 30 minutes, then ERROR: INTERNAL ERROR.

Why does it fail? It seems to be a standard consumable regression model data set.

like image 305
Kirk Strobeck Avatar asked Mar 07 '26 21:03

Kirk Strobeck


1 Answers

When attempting to answer this question, I looked at the API you speak of as well as its requirements. These requirements lie in the file format and how the text in said file is formatted. The first thing I will point out is that the Google Prediction API that "is uploaded to Google Cloud Storage as a CSV (comma-separated value) file." Your file is a TXT(at least on GitHub), but appears to have the correct structure of a CSV. However, when you take a look at the standards for this filetype, almost everyone has a different way they want it done. In the case of Google, they have very strict requirements on the file format(they also have some good examples here: cloud.google.com/prediction/docs/developer-guide#examples). Long story short, you shouldn't have spaces between your columns, it might cause an error in the processing seeing how it doesn't match the Wikipedia standards or Google's requirements.

EDIT: Sorry about the weird link stuff, I don't have enough rep to do more than two yet.

like image 56
Vera Gonzalez Avatar answered Mar 10 '26 16:03

Vera Gonzalez



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!