我是谷歌预测api的新手。我创建了存储桶并将文件上传到存储桶。
我在prediction.trainedmodels.get方法中有以下错误。
但是我试着训练language_id.txt,这个文件工作得很好。
我的创建文件中有什么问题。
{
"kind": "prediction#training",
"id": "sggurupreditmodel",
"selfLink": "https://www.googleapis.com/prediction/v1.6/projects/623547173042/trainedmodels/s ggurupreditmodel",
"created": "2014-10-09T08:27:27.770Z",
"trainingStatus": "ERROR: TOO FEW INSTANCES IN DATASET"
}traning.csv文件的内容如下:
'node.js'
'html"
'css'
'dhtml'
'php'
'jquery'
'xml'
'adobe'
'c++'
'c'
'vb'
'mysql'
'3D'
'typing'
'hr'
'copy right'
'crm'有什么建议吗,这里出了什么问题?
发布于 2015-03-26 13:50:39
csv格式是错误的。
实例
"label1","feature1"
"label2","feature2"
"label3","feature3"而且,在关于html的第二行,有一个双引号,这可能是一个错误。
https://stackoverflow.com/questions/26274130
复制相似问题