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

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

src/o/r/orange3-HEAD/Orange/widgets/data/owmergedata.py   orange3(Download)
        # attribute A selection
        boxAttrA = gui.widgetBox(
            self, self.tr("Attribute A"), addToLayout=False)
        grid.addWidget(boxAttrA, 0, 0)
        self.attrViewA = QtGui.QListView(
        # attribute  B selection
        boxAttrB = gui.widgetBox(
            self, self.tr("Attribute B"), addToLayout=False)
        grid.addWidget(boxAttrB, 0, 1)
        self.attrViewB = QtGui.QListView(
        # info A
        boxDataA = gui.widgetBox(
            self, self.tr("Data A Input"), addToLayout=False)
        grid.addWidget(boxDataA, 1, 0)
        self.infoBoxDataA = gui.widgetLabel(boxDataA, self.dataInfoText(None))
 
        # info B
        boxDataB = gui.widgetBox(
            self, self.tr("Data B Input"), addToLayout=False)
            nvariables = len(data.domain)
 
        instances = self.tr("%n instance(s)", None, ninstances)
        attributes = self.tr("%n variable(s)", None, nvariables)
        return "\n".join([instances, attributes])

src/o/r/orange3-HEAD/Orange/widgets/data/owconcatenate.py   orange3(Download)
 
        gui.widgetLabel(
            box, self.tr("When there is no primary table, " +
                         "the domain should be:"))
 
        gui.appendRadioButton(
            box, self.tr("Union of attributes appearing in all tables"))
 
        gui.appendRadioButton(
            box, self.tr("Intersection of attributes in all tables"))
        label = gui.widgetLabel(
            box,
            self.tr("The resulting table will have class only if there " +
                    "is no conflict between input classes."))
        label.setWordWrap(True)
 
        ###
        box = gui.widgetBox(
            self.controlArea, self.tr("Source identification"),

src/o/r/orange3-HEAD/Orange/widgets/classify/owlogisticregression.py   orange3(Download)
        self.data = None
 
        box = gui.widgetBox(self.controlArea, self.tr("Name"))
        gui.lineEdit(box, self, "learner_name")
 
        box = gui.widgetBox(self.controlArea, self.tr("Regularization"))
            orientation="horizontal"
        )
        form.addRow(self.tr("Penalty type:"), buttonbox)
 
        spin = gui.doubleSpin(box, self, "C", 0.0, 1024.0, step=0.0001)

src/o/r/orange3-HEAD/Orange/widgets/classify/owsvmclassification.py   orange3(Download)
        self.data = None
 
        box = gui.widgetBox(self.controlArea, self.tr("Name"))
        gui.lineEdit(box, self, "learner_name")
 
        form = QtGui.QGridLayout()
        typebox = gui.radioButtonsInBox(
            self.controlArea, self, "svmtype", [],
            box=self.tr("SVM Type"),
        c_svm = gui.appendRadioButton(typebox, "C-SVM", addToLayout=False)
        form.addWidget(c_svm, 0, 0, Qt.AlignLeft)
        form.addWidget(QtGui.QLabel(self.tr("Cost (C)")), 0, 1, Qt.AlignRight)
        c_spin = gui.doubleSpin(
            typebox, self, "C", 0.1, 512.0, 0.1,
        form.addWidget(nu_spin, 1, 2)
 
        box = gui.widgetBox(self.controlArea, self.tr("Kernel"))
        buttonbox = gui.radioButtonsInBox(
            box, self, "kernel_type",

src/o/r/orange3-HEAD/Orange/widgets/data/owrank.py   orange3(Download)
            return b
 
        b1 = button(self.tr("None"), OWRank.SelectNone)
        b2 = button(self.tr("All"), OWRank.SelectAll)
        b3 = button(self.tr("Manual"), OWRank.SelectManual)
        b4 = button(self.tr("Best ranked"), OWRank.SelectNBest)

src/o/r/orange3-HEAD/Orange/widgets/classify/ownaivebayes.py   orange3(Download)
    def __init__(self):
        super().__init__()
 
        # GUI
        gui.lineEdit(gui.widgetBox(self.controlArea, self.tr("Name")),
                     self, "learner_name")
 
        gui.rubber(self.controlArea)
 
        gui.button(self.controlArea, self, self.tr("&Apply"),

src/o/r/orange3-HEAD/Orange/widgets/data/owfeatureconstructor.py   orange3(Download)
 
        box = QtGui.QGroupBox(
            title=self.tr("Attribute Definitions")
        )
 

src/o/r/orange3-HEAD/Orange/widgets/evaluate/owpredictions.py   orange3(Download)
 
        gui.rubber(self.controlArea)
        box = gui.widgetBox(self.controlArea, self.tr("Commit"))
#         cb = gui.checkBox(box, self, "autocommit", "Auto commit")
        button = gui.button(box, self, "Send Predictions",