1
votes

I created a custom classifier by using this demo. Although, I trained my two class dataset, while testing (trying the classifier) for some images (test images, not presented in training images) I get the error "The score for this image is not above the threshold of 0.5 based on the training data provided". How can I change this threshold in the scripts (javascripts)?

For example, I'm ok to have classification data for images with ranks more than 0.2.

1

1 Answers

1
votes

Trying to help you, first, I recommend to you read and to know the Best practices from one IBM Professional for getting one better result or accuracy using Visual Recognition.

But, talking about your question, this error is one condition inside the Project by IBM Developers, you can simple change the value in the line #L270:

//change this value
params.threshold = 0.5; //So the classifers only show images with a confindence level of 0.5 or higher