How to do it…

This table represents the main parameters of the function to follow:

Parameters 

data: (N,K) array_like. The data points to be indexed. This array is not copied and so modifying this data will result in bogus results.

leafsize: int, optional. The number of points at which the algorithm switches over to brute-force. This has to be positive.

Raises

RuntimeErrorThe maximum recursion limit can be exceeded for large datasets. If this happens, either increase the value for the leafsize parameter or increase the recursion limit by:

import sys
sys.setrecursionlimit(10000)
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset