Click or drag to resize

VisualRecognition.UpdateClassifier Method (VisualRecognition.SuccessCallback<ClassifierVerbose>, VisualRecognition.FailCallback, String, String, Dictionary<String, String>, String, String, Dictionary<String, 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(
	VisualRecognition.SuccessCallback<ClassifierVerbose> successCallback,
	VisualRecognition.FailCallback 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.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.
positiveExamples
Type: System.Collections.Generic.Dictionary<String, String>
Dictionary of class name and positive example paths.
negativeExamplesPath (Optional)
Type: System.String
Negative example file path.
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.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