How to dump `sklearn.neighbors.KDTree` object to hdf5?
<p>According to <a href="http://scikit-learn.org/stable/modules/generated/sklearn.neighbors.KDTree.html" rel="nofollow">document</a> of <code>sklearn.neighbors.KDTree</code>, we may dump <code>KDTree</code> object to disk with pickle.
However, it's very slow for both dumping and loading, and storage comsuming.</p>

<p>Is it possible to dump it to hdf5 format? </p>