Add supporting notebook for blog: Fast vs. accurate: Measuring the recall of quantized vector search#527
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
|
Found 1 changed notebook. Review the changes at https://app.gitnotebooks.com/elastic/elasticsearch-labs/pull/527 |
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
| }, | ||
| "source": [ | ||
| "# Accompanying Notebook - Fast vs. accurate: Measuring the recall of quantized vector search\n", | ||
| "\n", |
There was a problem hiding this comment.
Perhaps add a brief description and link back to the article to connect the two?
There was a problem hiding this comment.
I would also add a pre-requisites section stating the Python version.
| } | ||
| ], | ||
| "source": [ | ||
| "import pandas as pd\n", |
There was a problem hiding this comment.
I get a warning running this cell:
TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html
from .autonotebook import tqdm as notebook_tqdm
Probably a good idea to address that, unless running as Python 3.12 I'm not in the prerequisite range.
| } | ||
| ], | ||
| "source": [ | ||
| "# !pip install elasticsearch pandas datasets numpy\n", |
There was a problem hiding this comment.
Missing import matplotlib
| " label=\"Mixed Categories (Up to 100k)\",\n", | ||
| " )\n", | ||
| "\n", | ||
| " plt.title(\"Vector Search Recall: Scaling form 1k to 100k Docs\", fontsize=16)\n", |
There was a problem hiding this comment.
| " plt.title(\"Vector Search Recall: Scaling form 1k to 100k Docs\", fontsize=16)\n", | |
| " plt.title(\"Vector Search Recall: Scaling from 1k to 100k Docs\", fontsize=16)\n", |
Summary
supporting-blog-content/fast_vs_accurate_measuring_the_recall_of_quantized_vector_search/vector_recall_notebook.ipynbTest plan
Made with Cursor