Click or drag to resize

NaturalLanguageClassifier.TrainClassifier Method

Namespace:  IBM.Watson.DeveloperCloud.Services.NaturalLanguageClassifier.v1
Assembly:  UnityDocumentationBuilder (in UnityDocumentationBuilder.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool TrainClassifier(
	NaturalLanguageClassifier.SuccessCallback<Classifier> successCallback,
	NaturalLanguageClassifier.FailCallback failCallback,
	string classifierName,
	string language,
	string trainingData,
	Dictionary<string, Object> customData = null
)

Parameters

successCallback
Type: IBM.Watson.DeveloperCloud.Services.NaturalLanguageClassifier.v1.NaturalLanguageClassifier.SuccessCallback<Classifier>
failCallback
Type: IBM.Watson.DeveloperCloud.Services.NaturalLanguageClassifier.v1.NaturalLanguageClassifier.FailCallback
classifierName
Type: System.String
language
Type: System.String
trainingData
Type: System.String
customData (Optional)
Type: System.Collections.Generic.Dictionary<String, Object>

Return Value

Type: Boolean
See Also