class_docstr: Wrapper for the three sketches for a single feature.
class_docstr_tok: ["Wrapper","for","the","three","sketches","for","a","single","feature","."]
code: def estimate(self):
      # Converts the result struct array into list of FeatureValueCounts.
      topk_unweighted = self._topk_unweighted.Estimate().to_pylist()
      topk_unweighted_counts = [
          top_k_uniques_stats_util.FeatureValueCount(
              pair["values"], pair["counts"]
          )
          for pair in topk_unweighted
      ]
      topk_weighted = self._topk_weighted.Estimate().to_pylist()
      topk_weighted_counts = [
          top_k_uniques_stats_util.FeatureValueCount(
              pair["values"], pair["counts"]
          )
          for pair in topk_weighted
      ]
      return _CombinedEstimate(
          self._distinct.Estimate(),
          topk_unweighted_counts,
          topk_weighted_counts,
      )
  
imports: import collections
  from typing import Dict, Iterable, Optional, Text
  import apache_beam
  import numpy
  import pyarrow
  from tensorflow_data_validation import constants
  from tensorflow_data_validation import types
  from tensorflow_data_validation.arrow import arrow_util
  from tensorflow_data_validation.statistics.generators import stats_generator
  from tensorflow_data_validation.utils import schema_util
  from tensorflow_data_validation.utils import stats_util
  from tensorflow_data_validation.utils import top_k_uniques_stats_util
  from tensorflow_data_validation.utils.example_weight_map import ExampleWeightMap
  from tfx_bsl.arrow import array_util
  from tfx_bsl.sketches import KmvSketch
  from tfx_bsl.sketches import MisraGriesSketch
  from tensorflow_metadata.proto.v0 import schema_pb2
  from tensorflow_metadata.proto.v0 import statistics_pb2
label_desc: Use image node_id 4 for calling the _CombinedSketch obj's underlying member method code with example usage: obj.estimate() and returns: _CombinedEstimate