Package org.tensorflow.metadata.v0
Interface CommonStatisticsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CommonStatistics,CommonStatistics.Builder
public interface CommonStatisticsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description floatgetAvgNumValues()The average number of values in a single example for this feature.HistogramgetFeatureListLengthHistogram()The histogram for the number of features in the feature list (only set if this feature is a non-context feature from a tf.SequenceExample).HistogramOrBuildergetFeatureListLengthHistogramOrBuilder()The histogram for the number of features in the feature list (only set if this feature is a non-context feature from a tf.SequenceExample).longgetMaxNumValues()The maximum number of values in a single example for this feature.longgetMinNumValues()The minimum number of values in a single example for this feature.longgetNumMissing()The number of examples with no values for this feature.longgetNumNonMissing()The number of examples with at least one value for this feature.HistogramgetNumValuesHistogram()The quantiles histogram for the number of values in this feature.HistogramOrBuildergetNumValuesHistogramOrBuilder()The quantiles histogram for the number of values in this feature.longgetTotNumValues()tot_num_values = avg_num_values * num_non_missing.WeightedCommonStatisticsgetWeightedCommonStats().tensorflow.metadata.v0.WeightedCommonStatistics weighted_common_stats = 7;WeightedCommonStatisticsOrBuildergetWeightedCommonStatsOrBuilder().tensorflow.metadata.v0.WeightedCommonStatistics weighted_common_stats = 7;booleanhasFeatureListLengthHistogram()The histogram for the number of features in the feature list (only set if this feature is a non-context feature from a tf.SequenceExample).booleanhasNumValuesHistogram()The quantiles histogram for the number of values in this feature.booleanhasWeightedCommonStats().tensorflow.metadata.v0.WeightedCommonStatistics weighted_common_stats = 7;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNumNonMissing
long getNumNonMissing()
The number of examples with at least one value for this feature.
uint64 num_non_missing = 1;- Returns:
- The numNonMissing.
-
getNumMissing
long getNumMissing()
The number of examples with no values for this feature.
uint64 num_missing = 2;- Returns:
- The numMissing.
-
getMinNumValues
long getMinNumValues()
The minimum number of values in a single example for this feature.
uint64 min_num_values = 3;- Returns:
- The minNumValues.
-
getMaxNumValues
long getMaxNumValues()
The maximum number of values in a single example for this feature.
uint64 max_num_values = 4;- Returns:
- The maxNumValues.
-
getAvgNumValues
float getAvgNumValues()
The average number of values in a single example for this feature.
float avg_num_values = 5;- Returns:
- The avgNumValues.
-
getTotNumValues
long getTotNumValues()
tot_num_values = avg_num_values * num_non_missing. This is calculated directly, so should have less numerical error.
uint64 tot_num_values = 8;- Returns:
- The totNumValues.
-
hasNumValuesHistogram
boolean hasNumValuesHistogram()
The quantiles histogram for the number of values in this feature.
.tensorflow.metadata.v0.Histogram num_values_histogram = 6;- Returns:
- Whether the numValuesHistogram field is set.
-
getNumValuesHistogram
Histogram getNumValuesHistogram()
The quantiles histogram for the number of values in this feature.
.tensorflow.metadata.v0.Histogram num_values_histogram = 6;- Returns:
- The numValuesHistogram.
-
getNumValuesHistogramOrBuilder
HistogramOrBuilder getNumValuesHistogramOrBuilder()
The quantiles histogram for the number of values in this feature.
.tensorflow.metadata.v0.Histogram num_values_histogram = 6;
-
hasWeightedCommonStats
boolean hasWeightedCommonStats()
.tensorflow.metadata.v0.WeightedCommonStatistics weighted_common_stats = 7;- Returns:
- Whether the weightedCommonStats field is set.
-
getWeightedCommonStats
WeightedCommonStatistics getWeightedCommonStats()
.tensorflow.metadata.v0.WeightedCommonStatistics weighted_common_stats = 7;- Returns:
- The weightedCommonStats.
-
getWeightedCommonStatsOrBuilder
WeightedCommonStatisticsOrBuilder getWeightedCommonStatsOrBuilder()
.tensorflow.metadata.v0.WeightedCommonStatistics weighted_common_stats = 7;
-
hasFeatureListLengthHistogram
boolean hasFeatureListLengthHistogram()
The histogram for the number of features in the feature list (only set if this feature is a non-context feature from a tf.SequenceExample). This is different from num_values_histogram, as num_values_histogram tracks the count of all values for a feature in an example, whereas this tracks the length of the feature list for this feature in an example (where each feature list can contain multiple values).
.tensorflow.metadata.v0.Histogram feature_list_length_histogram = 9;- Returns:
- Whether the featureListLengthHistogram field is set.
-
getFeatureListLengthHistogram
Histogram getFeatureListLengthHistogram()
The histogram for the number of features in the feature list (only set if this feature is a non-context feature from a tf.SequenceExample). This is different from num_values_histogram, as num_values_histogram tracks the count of all values for a feature in an example, whereas this tracks the length of the feature list for this feature in an example (where each feature list can contain multiple values).
.tensorflow.metadata.v0.Histogram feature_list_length_histogram = 9;- Returns:
- The featureListLengthHistogram.
-
getFeatureListLengthHistogramOrBuilder
HistogramOrBuilder getFeatureListLengthHistogramOrBuilder()
The histogram for the number of features in the feature list (only set if this feature is a non-context feature from a tf.SequenceExample). This is different from num_values_histogram, as num_values_histogram tracks the count of all values for a feature in an example, whereas this tracks the length of the feature list for this feature in an example (where each feature list can contain multiple values).
.tensorflow.metadata.v0.Histogram feature_list_length_histogram = 9;
-
-