Questions tagged [google-prediction]

Google's cloud-based machine learning tools can help analyze your data to add machine learning features to your applications.

Google's cloud-based machine learning tools can help analyze your data to add machine learning features to your applications.

Learn more about the Google Prediction API: https://developers.google.com/prediction/

111 questions
2
votes
1 answer

Training status stuck in "RUNNING" after many hours

I've launched a training using a CSV of 126 Mo stored in Google Cloud Storage, the CSV has a simple structure ("int","text"). After 8 hours the status is still "Running. Is it normal that the training takes all this time? should I give it a bit more…
Hakim
  • 203
  • 1
  • 8
2
votes
0 answers

Update is not working in Google Prediction Java API v1.6

I have created an empty model in google prediction api by using prediction.trainedmodels.insert . I provided empty stored location and training instances. It has created successfully. Now I am trying to update the model with new training instances…
user2553672
  • 101
  • 1
  • 7
2
votes
1 answer

Authenticating Multiple Scopes in Google API Oauth2.0

I need to insert multiple scopes into the http post request that creates the service object that permits authentication. However, simply putting in multiple scopes into the string doesn't seem to achieve this unfortunately, returning the error at…
2
votes
1 answer

Correct format for multi feature csvinstance array in google prediction api

I have correctly and successfully set up training data and can run a prediction with expected outcomes if I use the API explorer interface in a certain way for the Google prediction API. I can also run a single feature prediction from localhost…
2
votes
1 answer

Google Prediction API: programmatic vs. API Explorer access and "User Rate Limit Exceeded" error.

I'm having a problem using the Google Prediction API. I don't know what information might be relevant so I will provide everything that may be relevant. I apologize if this is too much information. I'm using the Google Prediction API in a web…
Bob Dillon
  • 341
  • 1
  • 7
1
vote
1 answer

Google AI Predict API: anonymous authentication for website

After reading each of these Q&As, google api machine learning can I use an API KEY? how to use google AI platform online predictions? How to authenticate GCP AI Platform Predictions using HTTP requests I am still at a loss to know how to enable…
1
vote
0 answers

Cannot get prediction from google AI platform with Pytorch

I've deployed a custom Pytorch model to the Google AI platform for prediction, but when I try to make a prediction request with image data using gcloud tools I get the following error in response: { "error": "Prediction failed: unknown…
1
vote
0 answers

Google PHP API Client with PHP 5.4: ERR_CONNECTION_RESET

I use the PHP 5.4 that comes with XAMPP 1.8.2-6 and try to implement get trainedmodels function with the following code. require_once 'google-api-client/vendor/autoload.php'; $client = new Google_Client(); $client->setApplicationName('Testing…
1
vote
1 answer

google prediction api pricing

For google prediction api in the documentation pages it'showing different quota limits in different places for 10$ plan. In the above link its saying that the prediction limits are 10000/day https://cloud.google.com/prediction/ whereas in the…
hemanth c
  • 11
  • 3
1
vote
0 answers

Error while running python script that uses google-cloud-language package on cloud shell for Sentiment Analysis

Installed package google cloud language: sudo pip install --upgrade google-cloud-language Created document in local dir: //inbound-byte-154607-ml/Copy of sentiment1.txt Running this script for Sentiment Analysis of the document: #!/usr/bin/env…
1
vote
2 answers

Error setting up environment on Google Cloud Shell to use Cloud ML

Following instructions from https://cloud.google.com/ml/docs/how-tos/getting-set-up: Created a project and started the Cloud Shell. Ran below script to Install required tools and dependencies curl…
1
vote
1 answer

Failed to authenticate Service Account credential in Google Cloud Prediction API Library for NodeJS

I was using googleapis library and successfully authenticate my Service Account credentials using JWT. Then I found out google-cloud library, which has specific modules for Prediction API, but failed to authenticate the same Service Account…
saggaf.arsyad
  • 801
  • 1
  • 7
  • 11
1
vote
0 answers

continuous call of Google Prediction API gives response 'Undefined'

In my application I have been calling google prediction API continuously for an array(size: 4000 aprox) of strings. I observed that after some api calls it starts giving response as Undefined, it continues for some time and then gives result fine.…
1
vote
1 answer

google prediction v 1.6 trainedmodels.update function add some empty values

i'm trying to use Google Prediction API, I have added a new model via API call and now i'm trying to train it via API update calls. i managed to update it but from some reason some data is missing for example when i run trainedmodels.analyze via…
benjah
  • 613
  • 7
  • 29
1
vote
2 answers

Google prediction API - Building classifier training data

EDIT: I'm trying to classify new user review to predefined set of tags. Each review can have multiple tags associated to it. I've mapped my DB user reviews to 15 categories, The following example shows the text, reasoning the mapped…