Class

com.amazonaws.services.sagemaker.sparksdk.transformation.deserializers

LinearLearnerBinaryClassifierProtobufResponseRowDeserializer

Related Doc: package deserializers

Permalink

class LinearLearnerBinaryClassifierProtobufResponseRowDeserializer extends ProtobufResponseRowDeserializer

Deserializes a Protobuf response from the LinearLearner model image with predictorType "binary_classifier" into Rows in a Spark Dataframe

Linear Supertypes
ProtobufResponseRowDeserializer, ResponseRowDeserializer, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LinearLearnerBinaryClassifierProtobufResponseRowDeserializer
  2. ProtobufResponseRowDeserializer
  3. ResponseRowDeserializer
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LinearLearnerBinaryClassifierProtobufResponseRowDeserializer(scoreColumnName: String = "score", predictedLabelColumnName: String = "predicted_label")

    Permalink

    scoreColumnName

    name of the column of Doubles indicating the output score for the record.

    predictedLabelColumnName

    name of the column of Doubles indicating the predicted label for the record.

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. val accepts: String

    Permalink

    Returns com.amazonaws.services.sagemaker.sparksdk.transformation.ContentTypes.PROTOBUF

  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def deserializeResponse(responseData: Array[Byte]): Iterator[Row]

    Permalink

    Deserialize a SageMaker response containing a byte array of record-IO encoded SageMaker Protobuf records.

    Deserialize a SageMaker response containing a byte array of record-IO encoded SageMaker Protobuf records.

    responseData

    The Array[Byte] containing the Protobuf-in-recordIO response

    returns

    An Iterator over deserialized Rows

    Definition Classes
    ProtobufResponseRowDeserializerResponseRowDeserializer
  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. final def getClass(): Class[_]

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  17. val predictedLabelColumnName: String

    Permalink

    name of the column of Doubles indicating the predicted label for the record.

  18. val protobufKeys: Option[Seq[String]]

    Permalink

    The keys for each output in the Protobuf response.

    The keys for each output in the Protobuf response.

    Definition Classes
    ProtobufResponseRowDeserializer
  19. val schema: StructType

    Permalink

    The schema of rows in the response.

    The schema of rows in the response.

    Definition Classes
    ProtobufResponseRowDeserializerResponseRowDeserializer
  20. val scoreColumnName: String

    Permalink

    name of the column of Doubles indicating the output score for the record.

  21. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from ResponseRowDeserializer

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped