{"cells": [{"cell_type": "markdown", "metadata": {}, "source": ["# Close leaves in a decision trees\n", "\n", "A decision tree computes a partition of the feature space. We can wonder which leave is close to another one even though the predict the same value (or class). Do they share a border ?"]}, {"cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [{"data": {"text/html": ["
\n", ""], "text/plain": ["