Click or drag to resize

VisualRecognitionUpdateClassifier Method (VisualRecognitionSuccessCallbackClassifierVerbose, VisualRecognitionFailCallback, String, String, DictionaryString, String, String, String, DictionaryString, Object)

Updates a trained classifier. The total size of all files must be below 256mb.

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(
	VisualRecognitionSuccessCallback<ClassifierVerbose> successCallback,
	VisualRecognitionFailCallback failCallback,
	string classifierID,
	string classifierName,
	Dictionary<string, string> positiveExamples,
	string negativeExamplesPath = null,
	string mimeType = "application/zip",
	Dictionary<string, Object> customData = null
)

Parameters

successCallback
Type: IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3VisualRecognitionSuccessCallbackClassifierVerbose
The success callback.
failCallback
Type: IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3VisualRecognitionFailCallback
The fail callback.
classifierID
Type: SystemString
Classifier identifier.
classifierName
Type: SystemString
Classifier name.
positiveExamples
Type: System.Collections.GenericDictionaryString, String
Dictionary of class name and positive example paths.
negativeExamplesPath (Optional)
Type: SystemString
Negative example file path.
mimeType (Optional)
Type: SystemString
Mimetype of the file. Use GetMimeType to get Mimetype from filename.
customData (Optional)
Type: System.Collections.GenericDictionaryString, 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.String},System.String,System.String,System.Collections.Generic.Dictionary{System.String,System.Object})"]

Return Value

Type: Boolean
true, if classifier was updated, false otherwise.
See Also