Click or drag to resize

VisualRecognition.UpdateClassifier Method (VisualRecognition.SuccessCallback<ClassifierVerbose>, VisualRecognition.FailCallback, String, String, Dictionary<String,Byte[]>,Byte[], String, Dictionary<String, Object>)

Updates a classifier using byte data.

Namespace:  IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool UpdateClassifier(
	VisualRecognition.SuccessCallback<ClassifierVerbose> successCallback,
	VisualRecognition.FailCallback failCallback,
	string classifierID,
	string classifierName,
	Dictionary<string, byte[]> positiveExamplesData,
	byte[] negativeExamplesData = null,
	string mimeType = "application/zip",
	Dictionary<string, Object> customData = null
)

Parameters

successCallback
Type: IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3.VisualRecognition.SuccessCallback<ClassifierVerbose>
The success callback.
failCallback
Type: IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3.VisualRecognition.FailCallback
The fail callback.
classifierID
Type: System.String
Classifier identifier.
classifierName
Type: System.String
Classifier name.
positiveExamplesData
Type: System.Collections.Generic.Dictionary<String,Byte[]>
Dictionary of class name and class training zip or image byte data.
negativeExamplesData (Optional)
Type:System.Byte[]
Negative examples zip or image byte data.
mimeType (Optional)
Type: System.String
Mimetype of the file. Use GetMimeType to get Mimetype from filename.
customData (Optional)
Type: System.Collections.Generic.Dictionary<String, Object>

[Missing <param name="customData"/> documentation for "M:IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3.VisualRecognition.UpdateClassifier(IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3.VisualRecognition.SuccessCallback{IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3.ClassifierVerbose},IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3.VisualRecognition.FailCallback,System.String,System.String,System.Collections.Generic.Dictionary{System.String,System.Byte[]},System.Byte[],System.String,System.Collections.Generic.Dictionary{System.String,System.Object})"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3.VisualRecognition.UpdateClassifier(IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3.VisualRecognition.SuccessCallback{IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3.ClassifierVerbose},IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3.VisualRecognition.FailCallback,System.String,System.String,System.Collections.Generic.Dictionary{System.String,System.Byte[]},System.Byte[],System.String,System.Collections.Generic.Dictionary{System.String,System.Object})"]

See Also