.. _book_fig_chapter2_fig_balltree_example: Ball Tree Example ----------------- Figure 2.5. This example creates a simple Ball tree partition of a two-dimensional parameter space, and plots a visualization of the result. .. image:: ../images/chapter2/fig_balltree_example_1.png :scale: 100 :align: center .. raw:: html
**Code output:** .. raw:: html
.. literalinclude:: fig_balltree_example.txt .. raw:: html
**Python source code:** .. raw:: html
.. literalinclude:: fig_balltree_example.py :lines: 9- .. raw:: html
:download:`[download source: fig_balltree_example.py] ` .. raw:: html