[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# tf.metrics.sparse_average_precision_at_k\n\n\u003cbr /\u003e\n\n|----------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/ops/metrics_impl.py#L3217-L3234) |\n\nRenamed to `average_precision_at_k`, please use that method instead. (deprecated)\n\n#### View aliases\n\n\n**Compat aliases for migration**\n\nSee\n[Migration guide](https://www.tensorflow.org/guide/migrate) for\nmore details.\n\n[`tf.compat.v1.metrics.sparse_average_precision_at_k`](/api_docs/python/tf/compat/v1/metrics/sparse_average_precision_at_k)\n\n\u003cbr /\u003e\n\n tf.metrics.sparse_average_precision_at_k(\n labels, predictions, k, weights=None, metrics_collections=None,\n updates_collections=None, name=None\n )\n\n| **Warning:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use average_precision_at_k instead"]]