harish1996
harish1996
Adds the distances also with the point itself during calls of search_knn_dist. Calculating distances of each of the nodes again is redundant. If one doesn't need the distances, they can...
In the children_impurity part of the code ``` for k in range(self.n_outputs): if(sum_left[0] + sum_right[0] > 0): count_k1 = sqrt(sum_left[0] / (sum_left[0] + sum_right[0])) if(sum_left[1] + sum_right[1] > 0): count_k2...
# Context Thanks for making this app. I use this app to maintain all sorts of links I find around the internet for later consumption. For articles/blogs, I am using...