def __init__(self, X, y, oracles, initial_labeled_indexes):
    super(QueryNoisyOraclesCEAL, self).__init__(X, y, oracles=oracles)
    assert isinstance(initial_labeled_indexes, collections.Iterable)
    self._ini_ind = np.asarray(initial_labeled_indexes)
    self._nntree = NearestNeighbors(metric='euclidean')
    self._nntree.fit(self.X[self._ini_ind])
def __init__(self, X, y, oracles, initial_labeled_indexes):
    super(QueryNoisyOraclesCEAL, self).__init__(X, y, oracles=oracles)
    assert isinstance(initial_labeled_indexes, collections.Iterable)
    self._ini_ind = np.asarray(initial_labeled_indexes)
    self._nntree = NearestNeighbors(metric='euclidean')
    self._nntree.fit(self.X[self._ini_ind])