eltonlaw / impyute

Data imputations library to preprocess datasets with missing data

Home Page:http://impyute.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`fast_knn` pass allowed parameters through to `kdtree.query and `KDTree`

eltonlaw opened this issue · comments

For KDTree currently using the default leafsize and for kdtree.query, the default eps, p and distance_upper_bound. Allow this to be modified.

fast_knn(data, k=3, eps=0, p=2, distance_upper_bound=np.inf, leafsize=10)