Packages

c

org.tensorflow.metadata.v0

BinaryClassification

final class BinaryClassification extends GeneratedMessageV3 with BinaryClassificationOrBuilder

Configuration for a binary classification task.
The output is one of two possible class labels, encoded as the same type
as the label column.
BinaryClassification is the same as MultiClassClassification with
n_classes = 2.

Protobuf type tensorflow.metadata.v0.BinaryClassification

Source
BinaryClassification.java
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BinaryClassification
  2. BinaryClassificationOrBuilder
  3. GeneratedMessageV3
  4. Serializable
  5. AbstractMessage
  6. Message
  7. MessageOrBuilder
  8. AbstractMessageLite
  9. MessageLite
  10. MessageLiteOrBuilder
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def equals(obj: AnyRef): Boolean
    Definition Classes
    BinaryClassification → AbstractMessage → Message → AnyRef → Any
    Annotations
    @Override()
  2. def findInitializationErrors(): List[String]
    Definition Classes
    AbstractMessage → MessageOrBuilder
  3. def getAllFields(): Map[FieldDescriptor, AnyRef]
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  4. def getDefaultInstanceForType(): BinaryClassification
    Definition Classes
    BinaryClassification → MessageOrBuilder → MessageLiteOrBuilder
    Annotations
    @Override()
  5. def getDescriptorForType(): Descriptor
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  6. def getExampleWeight(): String

    (optional) The weight column.
    

    (optional) The weight column.
    

    string example_weight = 2;

    returns

    The exampleWeight.

    Definition Classes
    BinaryClassificationBinaryClassificationOrBuilder
    Annotations
    @Override()
  7. def getExampleWeightBytes(): ByteString

    (optional) The weight column.
    

    (optional) The weight column.
    

    string example_weight = 2;

    returns

    The bytes for exampleWeight.

    Definition Classes
    BinaryClassificationBinaryClassificationOrBuilder
    Annotations
    @Override()
  8. def getField(field: FieldDescriptor): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  9. def getInitializationErrorString(): String
    Definition Classes
    AbstractMessage → MessageOrBuilder
  10. def getLabel(): String

    The name of the label. Assumes the label is a flat, top-level field.
    

    The name of the label. Assumes the label is a flat, top-level field.
    

    string label = 1;

    returns

    The label.

    Definition Classes
    BinaryClassificationBinaryClassificationOrBuilder
  11. def getLabelBytes(): ByteString

    The name of the label. Assumes the label is a flat, top-level field.
    

    The name of the label. Assumes the label is a flat, top-level field.
    

    string label = 1;

    returns

    The bytes for label.

    Definition Classes
    BinaryClassificationBinaryClassificationOrBuilder
  12. def getLabelIdCase(): LabelIdCase
  13. def getLabelPath(): Path

    A path can be used instead of a flat string if the label is nested.
    

    A path can be used instead of a flat string if the label is nested.
    

    .tensorflow.metadata.v0.Path label_path = 3;

    returns

    The labelPath.

    Definition Classes
    BinaryClassificationBinaryClassificationOrBuilder
    Annotations
    @Override()
  14. def getLabelPathOrBuilder(): PathOrBuilder

    A path can be used instead of a flat string if the label is nested.
    

    A path can be used instead of a flat string if the label is nested.
    

    .tensorflow.metadata.v0.Path label_path = 3;

    Definition Classes
    BinaryClassificationBinaryClassificationOrBuilder
    Annotations
    @Override()
  15. def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  16. def getParserForType(): Parser[BinaryClassification]
    Definition Classes
    BinaryClassification → GeneratedMessageV3 → Message → MessageLite
    Annotations
    @Override()
  17. def getPositiveNegativeSpec(): PositiveNegativeSpec

    (optional) specification of the positive and/or negative class value.
    

    (optional) specification of the positive and/or negative class value.
    

    .tensorflow.metadata.v0.BinaryClassification.PositiveNegativeSpec positive_negative_spec = 4;

    returns

    The positiveNegativeSpec.

    Definition Classes
    BinaryClassificationBinaryClassificationOrBuilder
    Annotations
    @Override()
  18. def getPositiveNegativeSpecOrBuilder(): PositiveNegativeSpecOrBuilder

    (optional) specification of the positive and/or negative class value.
    

    (optional) specification of the positive and/or negative class value.
    

    .tensorflow.metadata.v0.BinaryClassification.PositiveNegativeSpec positive_negative_spec = 4;

    Definition Classes
    BinaryClassificationBinaryClassificationOrBuilder
    Annotations
    @Override()
  19. def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  20. def getRepeatedFieldCount(field: FieldDescriptor): Int
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  21. def getSerializedSize(): Int
    Definition Classes
    BinaryClassification → GeneratedMessageV3 → AbstractMessage → MessageLite
    Annotations
    @Override()
  22. def getUnknownFields(): UnknownFieldSet
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  23. def hasField(field: FieldDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  24. def hasLabel(): Boolean

    The name of the label. Assumes the label is a flat, top-level field.
    

    The name of the label. Assumes the label is a flat, top-level field.
    

    string label = 1;

    returns

    Whether the label field is set.

    Definition Classes
    BinaryClassificationBinaryClassificationOrBuilder
  25. def hasLabelPath(): Boolean

    A path can be used instead of a flat string if the label is nested.
    

    A path can be used instead of a flat string if the label is nested.
    

    .tensorflow.metadata.v0.Path label_path = 3;

    returns

    Whether the labelPath field is set.

    Definition Classes
    BinaryClassificationBinaryClassificationOrBuilder
    Annotations
    @Override()
  26. def hasOneof(oneof: OneofDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  27. def hasPositiveNegativeSpec(): Boolean

    (optional) specification of the positive and/or negative class value.
    

    (optional) specification of the positive and/or negative class value.
    

    .tensorflow.metadata.v0.BinaryClassification.PositiveNegativeSpec positive_negative_spec = 4;

    returns

    Whether the positiveNegativeSpec field is set.

    Definition Classes
    BinaryClassificationBinaryClassificationOrBuilder
    Annotations
    @Override()
  28. def hashCode(): Int
    Definition Classes
    BinaryClassification → AbstractMessage → Message → AnyRef → Any
    Annotations
    @Override()
  29. final def isInitialized(): Boolean
    Definition Classes
    BinaryClassification → GeneratedMessageV3 → AbstractMessage → MessageLiteOrBuilder
    Annotations
    @Override()
  30. def newBuilderForType(): Builder
    Definition Classes
    BinaryClassification → Message → MessageLite
    Annotations
    @Override()
  31. def toBuilder(): Builder
    Definition Classes
    BinaryClassification → Message → MessageLite
    Annotations
    @Override()
  32. def toByteArray(): Array[Byte]
    Definition Classes
    AbstractMessageLite → MessageLite
  33. def toByteString(): ByteString
    Definition Classes
    AbstractMessageLite → MessageLite
  34. final def toString(): String
    Definition Classes
    AbstractMessage → Message → AnyRef → Any
  35. def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])
  36. def writeTo(output: CodedOutputStream): Unit
    Definition Classes
    BinaryClassification → GeneratedMessageV3 → AbstractMessage → MessageLite
    Annotations
    @Override()
  37. def writeTo(output: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])