Use the TDApiClient class to create SageMaker estimator class which in turn can be used to create SageMaker predictor.
- SageMaker estimator class can take input data from teradataml DataFrame for training the model.
- SageMaker predictor can use Teradata tables or queries (using teradataml DataFrame) for scoring.
Required Argument:
- tdapi_context: Specifies an instance of TDAPI context created using create_tdapi_context Method. This context will be used with tdapiclient.
Example
from tdapiclient import create_tdapi_context, TDApiClient
context = create_tdapi_context("aws", "s3_bucket")
tdapiclient = TDApiClient(context)