{"cells": [{"cell_type": "markdown", "metadata": {}, "source": ["# Nearest Neighbours and Sparse Features\n", "\n", "While trying to apply k-nearest neighbours classifier database, we might face a tricky issue. Let's try to find out what it is, why it is happening and how to solve it."]}, {"cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [{"name": "stderr", "output_type": "stream", "text": ["c:\\python370_x64\\lib\\site-packages\\ipykernel\\parentpoller.py:116: UserWarning: Parent poll failed. If the frontend dies,\n", " the kernel may be left running. Please let us know\n", " about your system (bitness, Python, etc.) at\n", " ipython-dev@scipy.org\n", " ipython-dev@scipy.org\"\"\")\n"]}, {"data": {"text/html": ["
\n", ""], "text/plain": ["