Example #1
0
 def _add_controls_variables(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 = LinearProjectionVizRank.add_vizrank(
         None, self, "Suggest Features", self.__vizrank_set_attrs)
     self.controlArea.layout().addWidget(self.btn_vizrank)
Example #2
0
 def _add_controls_variables(self, box):
     self.model_selected = VariableSelectionModel(self.selected_vars)
     variables_selection(box, self, self.model_selected)
     self.model_selected.selection_changed.connect(
         self.__model_selected_changed)
     self.vizrank, self.btn_vizrank = LinearProjectionVizRank.add_vizrank(
         None, self, "建议特征", self.__vizrank_set_attrs)
     box.layout().addWidget(self.btn_vizrank)
Example #3
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()
Example #4
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()
Example #5
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)