Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

comprehend_classify_document

Creates a new document classification request to analyze a single document in real-time, using a previously created and trained custom model and an endpoint


Description

Creates a new document classification request to analyze a single document in real-time, using a previously created and trained custom model and an endpoint.

Usage

comprehend_classify_document(Text, EndpointArn)

Arguments

Text

[required] The document text to be analyzed.

EndpointArn

[required] The Amazon Resource Number (ARN) of the endpoint.

Value

A list with the following syntax:

list(
  Classes = list(
    list(
      Name = "string",
      Score = 123.0
    )
  ),
  Labels = list(
    list(
      Name = "string",
      Score = 123.0
    )
  )
)

Request syntax

svc$classify_document(
  Text = "string",
  EndpointArn = "string"
)

paws.machine.learning

Amazon Web Services Machine Learning Services

v0.1.11
Apache License (>= 2.0)
Authors
David Kretch [aut, cre], Adam Banker [aut], Amazon.com, Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.