final class StringStatistics extends GeneratedMessageV3 with StringStatisticsOrBuilder
Statistics for a string feature in a dataset.
Protobuf type tensorflow.metadata.v0.StringStatistics
- Source
- StringStatistics.java
- Alphabetic
- By Inheritance
- StringStatistics
- StringStatisticsOrBuilder
- GeneratedMessageV3
- Serializable
- AbstractMessage
- Message
- MessageOrBuilder
- AbstractMessageLite
- MessageLite
- MessageLiteOrBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(obj: AnyRef): Boolean
- Definition Classes
- StringStatistics → AbstractMessage → Message → AnyRef → Any
- Annotations
- @Override()
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def findInitializationErrors(): List[String]
- Definition Classes
- AbstractMessage → MessageOrBuilder
- def getAllFields(): Map[FieldDescriptor, AnyRef]
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def getAvgLength(): Float
The average length of the values
The average length of the values
float avg_length = 4;
- returns
The avgLength.
- Definition Classes
- StringStatistics → StringStatisticsOrBuilder
- Annotations
- @Override()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getCommonStats(): CommonStatistics
.tensorflow.metadata.v0.CommonStatistics common_stats = 1;
.tensorflow.metadata.v0.CommonStatistics common_stats = 1;
- returns
The commonStats.
- Definition Classes
- StringStatistics → StringStatisticsOrBuilder
- Annotations
- @Override()
- def getCommonStatsOrBuilder(): CommonStatisticsOrBuilder
.tensorflow.metadata.v0.CommonStatistics common_stats = 1;
.tensorflow.metadata.v0.CommonStatistics common_stats = 1;
- Definition Classes
- StringStatistics → StringStatisticsOrBuilder
- Annotations
- @Override()
- def getDefaultInstanceForType(): StringStatistics
- Definition Classes
- StringStatistics → MessageOrBuilder → MessageLiteOrBuilder
- Annotations
- @Override()
- def getDescriptorForType(): Descriptor
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def getField(field: FieldDescriptor): AnyRef
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def getInitializationErrorString(): String
- Definition Classes
- AbstractMessage → MessageOrBuilder
- 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
- StringStatistics → StringStatisticsOrBuilder
- Annotations
- @Override()
- def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
- Definition Classes
- GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
- def getParserForType(): Parser[StringStatistics]
- Definition Classes
- StringStatistics → GeneratedMessageV3 → Message → MessageLite
- Annotations
- @Override()
- 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
- StringStatistics → StringStatisticsOrBuilder
- Annotations
- @Override()
- 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
- StringStatistics → StringStatisticsOrBuilder
- Annotations
- @Override()
- def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def getRepeatedFieldCount(field: FieldDescriptor): Int
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def getSerializedSize(): Int
- Definition Classes
- StringStatistics → GeneratedMessageV3 → AbstractMessage → MessageLite
- Annotations
- @Override()
- 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
- StringStatistics → StringStatisticsOrBuilder
- Annotations
- @Override()
- 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
- StringStatistics → StringStatisticsOrBuilder
- Annotations
- @Override()
- 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
- StringStatistics → StringStatisticsOrBuilder
- Annotations
- @Override()
- 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
- StringStatistics → StringStatisticsOrBuilder
- Annotations
- @Override()
- 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
- StringStatistics → StringStatisticsOrBuilder
- Annotations
- @Override()
- def getUnique(): Long
The number of unique values
The number of unique values
uint64 unique = 2;
- returns
The unique.
- Definition Classes
- StringStatistics → StringStatisticsOrBuilder
- Annotations
- @Override()
- def getUnknownFields(): UnknownFieldSet
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- 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
- StringStatistics → StringStatisticsOrBuilder
- Annotations
- @Override()
- 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
- StringStatistics → StringStatisticsOrBuilder
- Annotations
- @Override()
- 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
- StringStatistics → StringStatisticsOrBuilder
- Annotations
- @Override()
- 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
- StringStatistics → StringStatisticsOrBuilder
- Annotations
- @Override()
- 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
- StringStatistics → StringStatisticsOrBuilder
- Annotations
- @Override()
- def hasField(field: FieldDescriptor): Boolean
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def hasOneof(oneof: OneofDescriptor): Boolean
- Definition Classes
- GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
- 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
- StringStatistics → StringStatisticsOrBuilder
- Annotations
- @Override()
- 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
- StringStatistics → StringStatisticsOrBuilder
- Annotations
- @Override()
- def hashCode(): Int
- Definition Classes
- StringStatistics → AbstractMessage → Message → AnyRef → Any
- Annotations
- @Override()
- def internalGetFieldAccessorTable(): FieldAccessorTable
- Attributes
- protected[v0]
- Definition Classes
- StringStatistics → GeneratedMessageV3
- Annotations
- @Override()
- def internalGetMapFieldReflection(fieldNumber: Int): MapFieldReflectionAccessor
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- final def isInitialized(): Boolean
- Definition Classes
- StringStatistics → GeneratedMessageV3 → AbstractMessage → MessageLiteOrBuilder
- Annotations
- @Override()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def makeExtensionsImmutable(): Unit
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilderForType(parent: BuilderParent): Builder
- Attributes
- protected[v0]
- Definition Classes
- StringStatistics → GeneratedMessageV3
- Annotations
- @Override()
- def newBuilderForType(): Builder
- Definition Classes
- StringStatistics → Message → MessageLite
- Annotations
- @Override()
- def newBuilderForType(parent: BuilderParent): Builder
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3 → AbstractMessage
- def newInstance(unused: UnusedPrivateParameter): AnyRef
- Attributes
- protected[v0]
- Definition Classes
- StringStatistics → GeneratedMessageV3
- Annotations
- @Override() @SuppressWarnings()
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def parseUnknownField(input: CodedInputStream, unknownFields: Builder, extensionRegistry: ExtensionRegistryLite, tag: Int): Boolean
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- Annotations
- @throws(classOf[java.io.IOException])
- def parseUnknownFieldProto3(input: CodedInputStream, unknownFields: Builder, extensionRegistry: ExtensionRegistryLite, tag: Int): Boolean
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- Annotations
- @throws(classOf[java.io.IOException])
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toBuilder(): Builder
- Definition Classes
- StringStatistics → Message → MessageLite
- Annotations
- @Override()
- def toByteArray(): Array[Byte]
- Definition Classes
- AbstractMessageLite → MessageLite
- def toByteString(): ByteString
- Definition Classes
- AbstractMessageLite → MessageLite
- final def toString(): String
- Definition Classes
- AbstractMessage → Message → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- AbstractMessageLite → MessageLite
- Annotations
- @throws(classOf[java.io.IOException])
- def writeReplace(): AnyRef
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- Annotations
- @throws(classOf[java.io.ObjectStreamException])
- def writeTo(output: CodedOutputStream): Unit
- Definition Classes
- StringStatistics → GeneratedMessageV3 → AbstractMessage → MessageLite
- Annotations
- @Override()
- def writeTo(output: OutputStream): Unit
- Definition Classes
- AbstractMessageLite → MessageLite
- Annotations
- @throws(classOf[java.io.IOException])
Deprecated Value Members
- def internalGetMapField(fieldNumber: Int): MapField[_ <: AnyRef, _ <: AnyRef]
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- Annotations
- @Deprecated
- Deprecated
- def mergeFromAndMakeImmutableInternal(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Unit
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- Annotations
- @throws(classOf[com.google.protobuf.InvalidProtocolBufferException]) @Deprecated
- Deprecated