can we use prediction.trainedmodels.insert()

34 views
Skip to first unread message

nighttra...@gmail.com

unread,
Nov 12, 2012, 12:11:24 AM11/12/12
to gsutil-...@googlegroups.com

Hi,


Can i use prediction.trainedmodels.insert("s3://mytestbucketforsna/lll.txt")

Like i have seen it being used with google cloud storage but can we use the method for Amazon s3


Thanks


Vishal

Google Cloud Storage Team

unread,
Nov 12, 2012, 12:54:55 AM11/12/12
to gsutil-...@googlegroups.com
Sorry Vishal, the Google Prediction API does not support direct access to models in S3. You could use gsutil to copy your model from S3 to Google Cloud Storage and then use the Prediction API with the GCS object.

Marc
Google Cloud Storage Team

nighttra...@gmail.com

unread,
Nov 12, 2012, 1:05:41 AM11/12/12
to gsutil-...@googlegroups.com


Thanks for reply .So if have to use Google prediction API we are supposed to use Google Cloud storage only??   Thanks

Google Cloud Storage Team

unread,
Nov 12, 2012, 2:00:06 AM11/12/12
to gsutil-...@googlegroups.com
Correct, assuming you want to train a pre-existing model. You can also create an empty model, which you then train incrementally by sending updates with in-band data. This "streaming training" feature does not require data to be stored in either S3 or Google Cloud Storage because all input is provided on the fly in the body of your requests.

Marc
--
Marc Cohen
Google Cloud Storage Team

Reply all
Reply to author
Forward
0 new messages