LDAModel: Reference LDA s3 model data created by LDA estimator.

LDAModelR Documentation

Reference LDA s3 model data created by LDA estimator.

Description

Calling :meth:'~sagemaker.model.Model.deploy' creates an Endpoint and return a Predictor that transforms vectors to a lower-dimensional representation.

Super classes

sagemaker.mlcore::ModelBase -> sagemaker.mlcore::Model -> LDAModel

Methods

Public methods

Inherited methods

Method new()

Initialize LDAModel class

Usage
LDAModel$new(model_data, role, sagemaker_session = NULL, ...)
Arguments
model_data

(str): The S3 location of a SageMaker model data “.tar.gz“ file.

role

(str): An AWS IAM role (either name or full ARN). The Amazon SageMaker training jobs and APIs that create Amazon SageMaker endpoints use this role to access training data and model artifacts. After the endpoint is created, the inference code might use the IAM role, if it needs to access an AWS resource.

sagemaker_session

(sagemaker.session.Session): Session object which manages interactions with Amazon SageMaker APIs and any other AWS services needed. If not specified, the estimator creates one using the default AWS configuration chain.

...

: Keyword arguments passed to the “FrameworkModel“ initializer.


Method clone()

The objects of this class are cloneable with this method.

Usage
LDAModel$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


DyfanJones/sagemaker-r-mlframework documentation built on March 18, 2022, 7:41 a.m.