When I follow "Getting started with the Natural Language Classifier service" guide line, I meet problem at Stage 2: Create and train a classifier:
$ curl -i -u "<username>":"<password>" \
-F training_data=@<path_to_file>/weather_data_train.csv \
-F training_metadata="{\"language\":\"en\",\"name\":\"TutorialClassifier\"}" \
"https://gateway.watsonplatform.net/natural-language-classifier/api/v1/classifiers"
It returns:
{
"code" : 400,
"error" : "Data too small",
"description" : "The number of training entries received = 1, which is smaller
than the required minimum of 5"
}
Any one could kindly help how to solve this problem. Thanks a lot~
Here is the guide line link: http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/doc/nl-classifier/get_start.shtml#create