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)
Exemple #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)