ClassifierClassify Method (String, String, Int32, Taxonomy, PrecisionRecallBalance, String)
Classifies document by file name and directory name.

Namespace: GroupDocs.Classification
Assembly: GroupDocs.Classification (in GroupDocs.Classification.dll) Version: 20.11.0
Syntax
public ClassificationResponse Classify(
	string filename,
	string directory,
	int bestClassesCount = 1,
	Taxonomy taxonomy = Taxonomy.Iab2,
	PrecisionRecallBalance precisionRecallBalance = PrecisionRecallBalance.Default,
	string password = null
)

Parameters

filename
Type: SystemString
Document name.
directory
Type: SystemString
Document directory.
bestClassesCount (Optional)
Type: SystemInt32
Count of the best classes to return.
taxonomy (Optional)
Type: GroupDocs.ClassificationTaxonomy
Taxonomy to use for classification.
precisionRecallBalance (Optional)
Type: GroupDocs.ClassificationPrecisionRecallBalance
Balance between precision and recall: precision, recall or default.
password (Optional)
Type: SystemString
Document password.

Return Value

Type: ClassificationResponse
ClassificationResponse with classification results.
Exceptions
ExceptionCondition
ApiExceptionAn API exception occurred.
See Also