Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/o/r/Orange-2.7.2/Orange/multilabel/brknn.py   Orange(Download)
        domain = self.instances.domain
 
        neighbours = self.knn(instance, self.k)
 
        prob = self.get_prob(neighbours)

src/o/r/Orange-2.7.2/Orange/multilabel/mlknn.py   Orange(Download)
    def __call__(self, instance, result_type=Orange.classification.Classifier.GetValue):
        """
        :rtype: a list of :class:`Orange.data.Value`, a list of :class:`Orange.statistics.distribution.Distribution`, or a tuple with both
        """
        neighbors = self.knn(instance, self.k)