Packages

c

org.tensorflow.metadata.v0

StringStatistics

final class StringStatistics extends GeneratedMessageV3 with StringStatisticsOrBuilder

Statistics for a string feature in a dataset.

Protobuf type tensorflow.metadata.v0.StringStatistics

Source
StringStatistics.java
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StringStatistics
  2. StringStatisticsOrBuilder
  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
    StringStatistics → 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 getAvgLength(): Float

    The average length of the values
    

    The average length of the values
    

    float avg_length = 4;

    returns

    The avgLength.

    Definition Classes
    StringStatisticsStringStatisticsOrBuilder
    Annotations
    @Override()
  5. def getCommonStats(): CommonStatistics

    .tensorflow.metadata.v0.CommonStatistics common_stats = 1;

    .tensorflow.metadata.v0.CommonStatistics common_stats = 1;

    returns

    The commonStats.

    Definition Classes
    StringStatisticsStringStatisticsOrBuilder
    Annotations
    @Override()
  6. def getCommonStatsOrBuilder(): CommonStatisticsOrBuilder

    .tensorflow.metadata.v0.CommonStatistics common_stats = 1;

    .tensorflow.metadata.v0.CommonStatistics common_stats = 1;

    Definition Classes
    StringStatisticsStringStatisticsOrBuilder
    Annotations
    @Override()
  7. def getDefaultInstanceForType(): StringStatistics
    Definition Classes
    StringStatistics → MessageOrBuilder → MessageLiteOrBuilder
    Annotations
    @Override()
  8. def getDescriptorForType(): Descriptor
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  9. def getField(field: FieldDescriptor): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  10. def getInitializationErrorString(): String
    Definition Classes
    AbstractMessage → MessageOrBuilder
  11. def getInvalidUtf8Count(): Long

    Counts the number of invalid utf8 strings present in leaf arrays for this
    feature. Validation is only performed for byte- or string-like features (
    those having type BYTES or STRING).
    

    Counts the number of invalid utf8 strings present in leaf arrays for this
    feature. Validation is only performed for byte- or string-like features (
    those having type BYTES or STRING).
    

    uint64 invalid_utf8_count = 8;

    returns

    The invalidUtf8Count.

    Definition Classes
    StringStatisticsStringStatisticsOrBuilder
    Annotations
    @Override()
  12. def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  13. def getParserForType(): Parser[StringStatistics]
    Definition Classes
    StringStatistics → GeneratedMessageV3 → Message → MessageLite
    Annotations
    @Override()
  14. def getRankHistogram(): RankHistogram

    The rank histogram for the values of the feature.
    The rank is used to measure of how commonly the value is found in the
    dataset. The most common value would have a rank of 1, with the second-most
    common value having a rank of 2, and so on.
    

    The rank histogram for the values of the feature.
    The rank is used to measure of how commonly the value is found in the
    dataset. The most common value would have a rank of 1, with the second-most
    common value having a rank of 2, and so on.
    

    .tensorflow.metadata.v0.RankHistogram rank_histogram = 5;

    returns

    The rankHistogram.

    Definition Classes
    StringStatisticsStringStatisticsOrBuilder
    Annotations
    @Override()
  15. def getRankHistogramOrBuilder(): RankHistogramOrBuilder

    The rank histogram for the values of the feature.
    The rank is used to measure of how commonly the value is found in the
    dataset. The most common value would have a rank of 1, with the second-most
    common value having a rank of 2, and so on.
    

    The rank histogram for the values of the feature.
    The rank is used to measure of how commonly the value is found in the
    dataset. The most common value would have a rank of 1, with the second-most
    common value having a rank of 2, and so on.
    

    .tensorflow.metadata.v0.RankHistogram rank_histogram = 5;

    Definition Classes
    StringStatisticsStringStatisticsOrBuilder
    Annotations
    @Override()
  16. def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  17. def getRepeatedFieldCount(field: FieldDescriptor): Int
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  18. def getSerializedSize(): Int
    Definition Classes
    StringStatistics → GeneratedMessageV3 → AbstractMessage → MessageLite
    Annotations
    @Override()
  19. def getTopValues(index: Int): FreqAndValue

    A sorted list of the most-frequent values and their frequencies, with
    the most-frequent being first.
    

    A sorted list of the most-frequent values and their frequencies, with
    the most-frequent being first.
    

    repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 3;

    Definition Classes
    StringStatisticsStringStatisticsOrBuilder
    Annotations
    @Override()
  20. def getTopValuesCount(): Int

    A sorted list of the most-frequent values and their frequencies, with
    the most-frequent being first.
    

    A sorted list of the most-frequent values and their frequencies, with
    the most-frequent being first.
    

    repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 3;

    Definition Classes
    StringStatisticsStringStatisticsOrBuilder
    Annotations
    @Override()
  21. def getTopValuesList(): List[FreqAndValue]

    A sorted list of the most-frequent values and their frequencies, with
    the most-frequent being first.
    

    A sorted list of the most-frequent values and their frequencies, with
    the most-frequent being first.
    

    repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 3;

    Definition Classes
    StringStatisticsStringStatisticsOrBuilder
    Annotations
    @Override()
  22. def getTopValuesOrBuilder(index: Int): FreqAndValueOrBuilder

    A sorted list of the most-frequent values and their frequencies, with
    the most-frequent being first.
    

    A sorted list of the most-frequent values and their frequencies, with
    the most-frequent being first.
    

    repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 3;

    Definition Classes
    StringStatisticsStringStatisticsOrBuilder
    Annotations
    @Override()
  23. def getTopValuesOrBuilderList(): List[_ <: FreqAndValueOrBuilder]

    A sorted list of the most-frequent values and their frequencies, with
    the most-frequent being first.
    

    A sorted list of the most-frequent values and their frequencies, with
    the most-frequent being first.
    

    repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 3;

    Definition Classes
    StringStatisticsStringStatisticsOrBuilder
    Annotations
    @Override()
  24. def getUnique(): Long

    The number of unique values
    

    The number of unique values
    

    uint64 unique = 2;

    returns

    The unique.

    Definition Classes
    StringStatisticsStringStatisticsOrBuilder
    Annotations
    @Override()
  25. def getUnknownFields(): UnknownFieldSet
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  26. def getVocabularyFile(): String

    A vocabulary file, used for vocabularies too large to store in the proto
    itself.  Note that the file may be relative to some context-dependent
    directory.  E.g. in TFX the feature statistics will live in a PPP and
    vocabulary file names will be relative to this PPP.
    

    A vocabulary file, used for vocabularies too large to store in the proto
    itself.  Note that the file may be relative to some context-dependent
    directory.  E.g. in TFX the feature statistics will live in a PPP and
    vocabulary file names will be relative to this PPP.
    

    string vocabulary_file = 7;

    returns

    The vocabularyFile.

    Definition Classes
    StringStatisticsStringStatisticsOrBuilder
    Annotations
    @Override()
  27. def getVocabularyFileBytes(): ByteString

    A vocabulary file, used for vocabularies too large to store in the proto
    itself.  Note that the file may be relative to some context-dependent
    directory.  E.g. in TFX the feature statistics will live in a PPP and
    vocabulary file names will be relative to this PPP.
    

    A vocabulary file, used for vocabularies too large to store in the proto
    itself.  Note that the file may be relative to some context-dependent
    directory.  E.g. in TFX the feature statistics will live in a PPP and
    vocabulary file names will be relative to this PPP.
    

    string vocabulary_file = 7;

    returns

    The bytes for vocabularyFile.

    Definition Classes
    StringStatisticsStringStatisticsOrBuilder
    Annotations
    @Override()
  28. def getWeightedStringStats(): WeightedStringStatistics

    Weighted statistics for the feature, if the values have weights.
    

    Weighted statistics for the feature, if the values have weights.
    

    .tensorflow.metadata.v0.WeightedStringStatistics weighted_string_stats = 6;

    returns

    The weightedStringStats.

    Definition Classes
    StringStatisticsStringStatisticsOrBuilder
    Annotations
    @Override()
  29. def getWeightedStringStatsOrBuilder(): WeightedStringStatisticsOrBuilder

    Weighted statistics for the feature, if the values have weights.
    

    Weighted statistics for the feature, if the values have weights.
    

    .tensorflow.metadata.v0.WeightedStringStatistics weighted_string_stats = 6;

    Definition Classes
    StringStatisticsStringStatisticsOrBuilder
    Annotations
    @Override()
  30. def hasCommonStats(): Boolean

    .tensorflow.metadata.v0.CommonStatistics common_stats = 1;

    .tensorflow.metadata.v0.CommonStatistics common_stats = 1;

    returns

    Whether the commonStats field is set.

    Definition Classes
    StringStatisticsStringStatisticsOrBuilder
    Annotations
    @Override()
  31. def hasField(field: FieldDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  32. def hasOneof(oneof: OneofDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  33. def hasRankHistogram(): Boolean

    The rank histogram for the values of the feature.
    The rank is used to measure of how commonly the value is found in the
    dataset. The most common value would have a rank of 1, with the second-most
    common value having a rank of 2, and so on.
    

    The rank histogram for the values of the feature.
    The rank is used to measure of how commonly the value is found in the
    dataset. The most common value would have a rank of 1, with the second-most
    common value having a rank of 2, and so on.
    

    .tensorflow.metadata.v0.RankHistogram rank_histogram = 5;

    returns

    Whether the rankHistogram field is set.

    Definition Classes
    StringStatisticsStringStatisticsOrBuilder
    Annotations
    @Override()
  34. def hasWeightedStringStats(): Boolean

    Weighted statistics for the feature, if the values have weights.
    

    Weighted statistics for the feature, if the values have weights.
    

    .tensorflow.metadata.v0.WeightedStringStatistics weighted_string_stats = 6;

    returns

    Whether the weightedStringStats field is set.

    Definition Classes
    StringStatisticsStringStatisticsOrBuilder
    Annotations
    @Override()
  35. def hashCode(): Int
    Definition Classes
    StringStatistics → AbstractMessage → Message → AnyRef → Any
    Annotations
    @Override()
  36. final def isInitialized(): Boolean
    Definition Classes
    StringStatistics → GeneratedMessageV3 → AbstractMessage → MessageLiteOrBuilder
    Annotations
    @Override()
  37. def newBuilderForType(): Builder
    Definition Classes
    StringStatistics → Message → MessageLite
    Annotations
    @Override()
  38. def toBuilder(): Builder
    Definition Classes
    StringStatistics → Message → MessageLite
    Annotations
    @Override()
  39. def toByteArray(): Array[Byte]
    Definition Classes
    AbstractMessageLite → MessageLite
  40. def toByteString(): ByteString
    Definition Classes
    AbstractMessageLite → MessageLite
  41. final def toString(): String
    Definition Classes
    AbstractMessage → Message → AnyRef → Any
  42. def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])
  43. def writeTo(output: CodedOutputStream): Unit
    Definition Classes
    StringStatistics → GeneratedMessageV3 → AbstractMessage → MessageLite
    Annotations
    @Override()
  44. def writeTo(output: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])