Click or drag to resize

VisualRecognitionTrainClassifier Method (VisualRecognitionSuccessCallbackClassifierVerbose, VisualRecognitionFailCallback, String, DictionaryString, Byte, Byte, String, DictionaryString, Object)

Trains a classifier

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 TrainClassifier(
	VisualRecognitionSuccessCallback<ClassifierVerbose> successCallback,
	VisualRecognitionFailCallback failCallback,
	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.v3VisualRecognitionSuccessCallbackClassifierVerbose
The success callback.
failCallback
Type: IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3VisualRecognitionFailCallback
The fail callback.
classifierName
Type: SystemString
Classifier name.
positiveExamplesData
Type: System.Collections.GenericDictionaryString, Byte
Dictionary of class name and class training zip or image byte data.
negativeExamplesData (Optional)
Type: SystemByte
Negative examples zip or image byte data.
mimeType (Optional)
Type: SystemString
Mime type of the positive examples and negative examples data.
customData (Optional)
Type: System.Collections.GenericDictionaryString, Object

[Missing <param name="customData"/> documentation for "M:IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3.VisualRecognition.TrainClassifier(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.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.TrainClassifier(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.Collections.Generic.Dictionary{System.String,System.Byte[]},System.Byte[],System.String,System.Collections.Generic.Dictionary{System.String,System.Object})"]

See Also