Interface StringStatisticsOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    StringStatistics, StringStatistics.Builder

    public interface StringStatisticsOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasCommonStats

        boolean hasCommonStats()
        .tensorflow.metadata.v0.CommonStatistics common_stats = 1;
        Returns:
        Whether the commonStats field is set.
      • getCommonStats

        CommonStatistics getCommonStats()
        .tensorflow.metadata.v0.CommonStatistics common_stats = 1;
        Returns:
        The commonStats.
      • getCommonStatsOrBuilder

        CommonStatisticsOrBuilder getCommonStatsOrBuilder()
        .tensorflow.metadata.v0.CommonStatistics common_stats = 1;
      • getUnique

        long getUnique()
         The number of unique values
         
        uint64 unique = 2;
        Returns:
        The unique.
      • getTopValuesList

        List<StringStatistics.FreqAndValue> getTopValuesList()
         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;
      • getTopValues

        StringStatistics.FreqAndValue getTopValues​(int index)
         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;
      • getTopValuesCount

        int getTopValuesCount()
         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;
      • getTopValuesOrBuilderList

        List<? extends StringStatistics.FreqAndValueOrBuilder> getTopValuesOrBuilderList()
         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;
      • getTopValuesOrBuilder

        StringStatistics.FreqAndValueOrBuilder getTopValuesOrBuilder​(int index)
         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;
      • getAvgLength

        float getAvgLength()
         The average length of the values
         
        float avg_length = 4;
        Returns:
        The avgLength.
      • hasRankHistogram

        boolean hasRankHistogram()
         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.
      • getRankHistogram

        RankHistogram getRankHistogram()
         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.
      • getRankHistogramOrBuilder

        RankHistogramOrBuilder getRankHistogramOrBuilder()
         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;
      • hasWeightedStringStats

        boolean hasWeightedStringStats()
         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.
      • getWeightedStringStats

        WeightedStringStatistics getWeightedStringStats()
         Weighted statistics for the feature, if the values have weights.
         
        .tensorflow.metadata.v0.WeightedStringStatistics weighted_string_stats = 6;
        Returns:
        The weightedStringStats.
      • getWeightedStringStatsOrBuilder

        WeightedStringStatisticsOrBuilder getWeightedStringStatsOrBuilder()
         Weighted statistics for the feature, if the values have weights.
         
        .tensorflow.metadata.v0.WeightedStringStatistics weighted_string_stats = 6;
      • getVocabularyFile

        String getVocabularyFile()
         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.
      • getVocabularyFileBytes

        com.google.protobuf.ByteString getVocabularyFileBytes()
         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.