Skip to content

Instantly share code, notes, and snippets.

@GroupDocsGists
Created December 9, 2019 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GroupDocsGists/51a10d5b0f51a719882eefb1e72e10dc to your computer and use it in GitHub Desktop.
Save GroupDocsGists/51a10d5b0f51a719882eefb1e72e10dc to your computer and use it in GitHub Desktop.
try
{
var response = classifier.Classify("document.doc", ".", 4, Taxonomy.Documents, PrecisionRecallBalance.Precision);
Console.WriteLine(response.BestClassName, response.BestClassProbability);
}
catch (ApiException e)
{
Console.WriteLine(e.Message);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment