Package org.tensorflow.metadata.v0
Interface StringStatistics.FreqAndValueOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StringStatistics.FreqAndValue,StringStatistics.FreqAndValue.Builder
- Enclosing class:
- StringStatistics
public static interface StringStatistics.FreqAndValueOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetFrequency()The number of times the value occurs.StringgetValue()string value = 2;com.google.protobuf.ByteStringgetValueBytes()string value = 2;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getValue
String getValue()
string value = 2;- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()
string value = 2;- Returns:
- The bytes for value.
-
getFrequency
double getFrequency()
The number of times the value occurs. Stored as a double to be able to handle weighted features.
double frequency = 3;- Returns:
- The frequency.
-
-