Determining a Hard Example Image in a Classification Algorithm
This API is used to determine the classification result.
- API calling
hard_sample_classification_filter(inputs,input_size)
- Parameter description
Table 1 Parameters Parameter
Mandatory
Type
Description
inputs
Yes
list
Class score, for example, [class1-score, class2-score, class2-score,....], where class-score ranges from 0 to 1
input_size
Yes
int
Number of classes
- Return value
A Bool value is returned. True indicates that the image is a hard example, and False indicates that the image is not a hard example.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot