Object/Class

com.amazonaws.services.sagemaker.sparksdk

SageMakerModel

Related Docs: class SageMakerModel | package sparksdk

Permalink

object SageMakerModel extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SageMakerModel
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. var EndpointCreationTimeout: Duration

    Permalink
  5. var EndpointPollInterval: Duration

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fromEndpoint(endpointName: String, requestRowSerializer: RequestRowSerializer, responseRowDeserializer: ResponseRowDeserializer, modelEnvironmentVariables: Map[String, String] = Map[String, String](), sagemakerClient: AmazonSageMaker = ..., prependResultRows: Boolean = true, namePolicy: NamePolicy = new RandomNamePolicy(), uid: String = Identifiable.randomUID("sagemaker")): SageMakerModel

    Permalink

    Creates a SageMakerModel that can be used to transform DataFrames based on endpointName.

    Creates a SageMakerModel that can be used to transform DataFrames based on endpointName.

    endpointName

    The name of an endpoint that is current in service.

    requestRowSerializer

    Serializes a Row to an Array of Bytes

    responseRowDeserializer

    Deserializes an Array of Bytes to a series of Rows

    modelEnvironmentVariables

    The environment variables that SageMaker will set on the model container during execution.

    sagemakerClient

    Amazon SageMaker client. Used to send CreateTrainingJob, CreateModel, and CreateEndpoint requests.

    prependResultRows

    Whether the transformation result should also include the input Rows. If true, each output Row is formed by a concatenation of the input Row with the corresponding Row produced by SageMaker invocation, produced by responseRowDeserializer. If false, each output Row is just taken from responseRowDeserializer.

    namePolicy

    The NamePolicy to use when naming SageMaker entities created during usage of this Model.

    uid

    The unique identifier of this Estimator. Used to represent this stage in Spark ML pipelines.

    returns

    a SageMakerModel that sends InvokeEndpoint requests to the given endpoint.

  12. def fromModelS3Path(modelPath: String, modelImage: String, modelExecutionRoleARN: String, endpointInstanceType: String, endpointInitialInstanceCount: Int, requestRowSerializer: RequestRowSerializer, responseRowDeserializer: ResponseRowDeserializer, modelEnvironmentVariables: Map[String, String] = Map[String, String](), endpointCreationPolicy: EndpointCreationPolicy = ..., sagemakerClient: AmazonSageMaker = ..., prependResultRows: Boolean = true, namePolicy: NamePolicy = new RandomNamePolicy(), uid: String = Identifiable.randomUID("sagemaker")): SageMakerModel

    Permalink

    Creates a SageMakerModel that can be used to transform DataFrames using a given model stored in S3.

    Creates a SageMakerModel that can be used to transform DataFrames using a given model stored in S3.

    modelPath

    The S3 URI to the model data to host.

    modelImage

    The URI of the image that will serves model inferences.

    modelExecutionRoleARN

    The IAM Role used by SageMaker when running the hosted Model and to download model data from S3.

    endpointInstanceType

    The instance type used to run the model container.

    endpointInitialInstanceCount

    The minimum number of instances used to host the model.

    requestRowSerializer

    Serializes a Row to an Array of Bytes.

    responseRowDeserializer

    Deserializes an Array of Bytes to a series of Rows.

    modelEnvironmentVariables

    The environment variables that SageMaker will set on the model container during execution.

    endpointCreationPolicy

    Whether the endpoint is created upon SageMakerModel construction, transformation, or not at all.

    sagemakerClient

    Amazon SageMaker client. Used to send CreateTrainingJob, CreateModel, and CreateEndpoint requests.

    prependResultRows

    Whether the transformation result should also include the input Rows. If true, each output Row is formed by a concatenation of the input Row with the corresponding Row produced by SageMaker invocation, produced by responseRowDeserializer. If false, each output Row is just taken from responseRowDeserializer.

    namePolicy

    The NamePolicy to use when naming SageMaker entities created during usage of this Model.

    uid

    The unique identifier of this Estimator. Used to represent this stage in Spark ML pipelines.

    returns

    A SageMakerModel that sends InvokeEndpoint requests to an endpoint hosting the given model.

  13. def fromTrainingJob(trainingJobName: String, modelImage: String, modelExecutionRoleARN: String, endpointInstanceType: String, endpointInitialInstanceCount: Int, requestRowSerializer: RequestRowSerializer, responseRowDeserializer: ResponseRowDeserializer, modelEnvironmentVariables: Map[String, String] = Map[String, String](), endpointCreationPolicy: EndpointCreationPolicy = ..., sagemakerClient: AmazonSageMaker = ..., prependResultRows: Boolean = true, namePolicy: NamePolicy = new RandomNamePolicy(), uid: String = Identifiable.randomUID("sagemaker")): SageMakerModel

    Permalink

    Creates a SageMakerModel that can be used to transform DataFrames from a given successfully completed Training Job.

    Creates a SageMakerModel that can be used to transform DataFrames from a given successfully completed Training Job.

    trainingJobName

    The name of the successfully completed training job.

    modelImage

    The URI of the image that will serve model inferences.

    modelExecutionRoleARN

    The IAM Role used by SageMaker when running the hosted Model and to download model data from S3.

    endpointInstanceType

    The instance type used to run the model container.

    endpointInitialInstanceCount

    The minimum number of instances used to host the model.

    requestRowSerializer

    Serializes a Row to an Array of Bytes.

    responseRowDeserializer

    Deserializes an Array of Bytes to a series of Rows.

    modelEnvironmentVariables

    The environment variables that SageMaker will set on the model container during execution.

    endpointCreationPolicy

    Whether the endpoint is created upon SageMakerModel construction, transformation, or not at all.

    sagemakerClient

    Amazon SageMaker client. Used to send CreateTrainingJob, CreateModel, and CreateEndpoint requests.

    prependResultRows

    Whether the transformation result should also include the input Rows. If true, each output Row is formed by a concatenation of the input Row with the corresponding Row produced by SageMaker invocation, produced by responseRowDeserializer. If false, each output Row is just taken from responseRowDeserializer.

    namePolicy

    The NamePolicy to use when naming SageMaker entities created during usage of this Model.

    uid

    The unique identifier of this Estimator. Used to represent this stage in Spark ML pipelines.

    returns

    A SageMakerModel that sends InvokeEndpoint requests to an endpoint hosting the training job's model.

  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped