Class UpdateClassifierOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class UpdateClassifierOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateClassifierOptions.Builder
Builder. -
Method Summary
Modifier and Type Method Description String
classifierId()
Gets the classifierId.InputStream
negativeExamples()
Gets the negativeExamples.String
negativeExamplesFilename()
Gets the negativeExamplesFilename.UpdateClassifierOptions.Builder
newBuilder()
New builder.Map<String,InputStream>
positiveExamples()
Gets the positiveExamples.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a UpdateClassifierOptions builder
-
classifierId
Gets the classifierId.The ID of the classifier.
- Returns:
- the classifierId
-
positiveExamples
Gets the positiveExamples.A .zip file of images that depict the visual subject of a class in the classifier. The positive examples create or update classes in the classifier. You can include more than one positive example file in a call.
Specify the parameter name by appending `_positive_examples` to the class name. For example, `goldenretriever_positive_examples` creates the class `goldenretriever`. The string cannot contain the following characters: ``$ * - { } \ | / ' " ` [ ]``.
Include at least 10 images in .jpg or .png format. The minimum recommended image resolution is 32X32 pixels. The maximum number of images is 10,000 images or 100 MB per .zip file.
Encode special characters in the file name in UTF-8.
- Returns:
- the positiveExamples
-
negativeExamples
Gets the negativeExamples.A .zip file of images that do not depict the visual subject of any of the classes of the new classifier. Must contain a minimum of 10 images.
Encode special characters in the file name in UTF-8.
- Returns:
- the negativeExamples
-
negativeExamplesFilename
Gets the negativeExamplesFilename.The filename for negativeExamples.
- Returns:
- the negativeExamplesFilename
-