Ejemplo n.º 1
0
 def _add_controls(self):
     self.model_selected = VariableSelectionModel(self.selected_vars,
                                                  max_vars=20)
     variables_selection(self.controlArea, self, self.model_selected)
     self.model_selected.selection_changed.connect(
         self.__model_selected_changed)
     self.vizrank, self.btn_vizrank = RadvizVizRank.add_vizrank(
         None, self, "Suggest features", self.vizrank_set_attrs)
     self.controlArea.layout().addWidget(self.btn_vizrank)
     super()._add_controls()
Ejemplo n.º 2
0
 def _add_controls(self):
     self.model_selected = VariableSelectionModel(self.selected_vars)
     variables_selection(self.controlArea, self, self.model_selected)
     self.model_selected.selection_changed.connect(
         self.__model_selected_changed)
     self.vizrank, self.btn_vizrank = RadvizVizRank.add_vizrank(
         None, self, "Suggest features", self.vizrank_set_attrs)
     self.controlArea.layout().addWidget(self.btn_vizrank)
     super()._add_controls()
     self.controlArea.layout().removeWidget(self.control_area_stretch)
     self.control_area_stretch.setParent(None)
Ejemplo n.º 3
0
 def _add_controls(self):
     box = gui.vBox(self.controlArea, box="特征")
     self.model_selected = VariableSelectionModel(self.selected_vars,
                                                  max_vars=20)
     variables_selection(box, self, self.model_selected)
     self.model_selected.selection_changed.connect(
         self.__model_selected_changed)
     self.vizrank, self.btn_vizrank = RadvizVizRank.add_vizrank(
         None, self, "建议特征", self.vizrank_set_attrs)
     box.layout().addWidget(self.btn_vizrank)
     super()._add_controls()
Ejemplo n.º 4
0
 def _add_controls(self):
     self.model_selected = VariableSelectionModel(self.selected_vars,
                                                  max_vars=20)
     variables_selection(self.controlArea, self, self.model_selected)
     self.model_selected.selection_changed.connect(
         self.__model_selected_changed)
     self.vizrank, self.btn_vizrank = RadvizVizRank.add_vizrank(
         None, self, "建议特征", self.vizrank_set_attrs)
     self.controlArea.layout().addWidget(self.btn_vizrank)
     super()._add_controls()
     self.controlArea.layout().removeWidget(self.control_area_stretch)
     self.control_area_stretch.setParent(None)