Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/o/r/orange3-HEAD/Orange/widgets/visualize/owmosaic.py   orange3(Download)
    def setSubsetData(self, data):
        if not self.data:
            self.unprocessedSubsetData = data
            self.warning(10)
        else:
            try:
                self.subsetData = data.select(self.data.domain)
                self.warning(10)
            except:
                self.subsetData = None
                self.warning(10,
                             data and "'Examples' and 'Example Subset' data do not have compatible domains. Unable to draw 'Example Subset' data." or "")
 
 
        if len(data) == 0:
            self.warning(5,
                         "There are no examples with valid values for currently visualized attributes. Unable to visualize.")
            return
        else:
            self.warning(5)

src/o/r/orange3-HEAD/Orange/widgets/data/owfile.py   orange3(Download)
    def open_file(self, fn):
        self.error()
        self.warning()
        self.information()
 
                    data = Table(fn)
                    self.loaded_file = fn
                    self.warning(0, errValue)
                except:
                    self.error(errValue)

src/o/r/orange3-HEAD/Orange/widgets/data/owrank.py   orange3(Download)
        measures = self.measures
        # Invalidate all warnings
        self.warning(range(max(len(self.discMeasures),
                               len(self.contMeasures))))
 
                        s = float(estimator(attr, data))
                    except Exception as ex:
                        self.warning(index, "Error evaluating %r: %r" %
                                     (meas.name, str(ex)))
                attr_scores.append(s)

src/o/r/orange3-HEAD/Orange/widgets/evaluate/owpredictions.py   orange3(Download)
                           for p in self.predictors.values()])
        if len(target_vars) > 1:
            self.warning(0, "Inconsistent class variables")
        else:
            self.warning(0)