mengxianghan123
Results
2
comments of
mengxianghan123
Yeah I modifyed the code like the following: ``` for _ in range(N): if not self.already_selected: # Initialize centers with a randomly selected datapoint ind = np.random.choice(np.arange(self.n_obs)) else: ind =...
I think this line "w = (1 - (np.max(np.exp(N_b))/np.sum(np.exp(N_b))))" should be changed to "w = (1 - (np.min(np.exp(N_b))/np.sum(np.exp(N_b))))". Because S* should be the max distance between mtest and its nearest...