pyplt.gui.experiment.featureselection package¶
Submodules¶
pyplt.gui.experiment.featureselection.featselectiontab module¶
-
class
pyplt.gui.experiment.featureselection.featselectiontab.
FeatureSelectionFrame
(parent, parent_window, files_tab)¶ Bases:
tkinter.Frame
Frame widget that is visible whenever the Feature Selection tab is in the ‘unlocked’ state.
Extends the class tkinter.Frame.
Initializes the frame widget.
Parameters: - parent (tkinter widget) – the parent widget of this frame widget.
- parent_window (tkinter.Toplevel) – the window which will contain this frame widget.
- files_tab (
pyplt.gui.experiment.dataset.loading.DataLoadingTab
) – the Load Data tab.
-
get_algorithm
()¶ Get the preference learning algorithm type chosen by the user (if applicable).
Returns: the preference learning algorithm type chosen by the user (if applicable). Return type: pyplt.util.enums.PLAlgo
-
get_algorithm_params
()¶ Get the parameters of the preference learning algorithm chosen by the user (if applicable).
Returns: the parameters of the preference learning algorithm chosen by the user (if applicable). Return type: list
-
get_evaluator
()¶ Get the evaluation method type chosen by the user (if applicable).
Returns: the evaluation method type chosen by the user (if applicable). Return type: pyplt.util.enums.EvaluatorType
-
get_evaluator_params
()¶ Get the parameters of the evaluation method chosen by the user (if applicable).
Returns: the parameters of the evaluation method chosen by the user (if applicable). Return type: list
-
get_method
()¶ Get the feature selection method type chosen by the user.
Returns: the feature selection method type chosen by the user. Return type: pyplt.util.enums.FSMethod
-
get_method_params
()¶ Get the parameters of the feature selection method chosen by the user (if applicable).
Returns: the parameters of the feature selection method chosen by the user (if applicable). Return type: list
-
class
pyplt.gui.experiment.featureselection.featselectiontab.
FeatureSelectionTab
(parent, parent_window, files_tab)¶ Bases:
pyplt.gui.util.tab_locking.LockableTab
GUI tab for the feature selection stage of setting up an experiment.
Extends the class
pyplt.gui.util.tab_locking.LockableTab
which, in turn, extends the tkinter.Frame class.Initializes the FeatureSelectionTab object.
Parameters: - parent (tkinter widget) – the parent widget of this tab (frame) widget.
- parent_window (tkinter.Toplevel) – the window which will contain this tab (frame) widget.
- files_tab (
pyplt.gui.experiment.dataset.loading.DataLoadingTab
) – the Load Data tab.
-
get_fs_algorithm
()¶ Get the preference learning algorithm type chosen by the user via the FeatureSelectionFrame (if applicable).
Returns: the preference learning algorithm type chosen by the user (if applicable). Return type: pyplt.util.enums.PLAlgo
-
get_fs_algorithm_params
()¶ Get the parameters of the preference learning algorithm chosen by the user (if applicable).
Returns: the parameters of the preference learning algorithm chosen by the user (if applicable). Return type: list
-
get_fs_evaluator
()¶ Get the evaluation method type chosen by the user via the FeatureSelectionFrame (if applicable).
Returns: the evaluation method type chosen by the user (if applicable). Return type: pyplt.util.enums.EvaluatorType
-
get_fs_evaluator_params
()¶ Get the parameters of the evaluation method chosen by the user (if applicable).
Returns: the parameters of the evaluation method chosen by the user (if applicable). Return type: list
-
get_fs_method
()¶ Get the feature selection method type chosen by the user via the FeatureSelectionFrame.
Returns: the feature selection method type chosen by the user. Return type: pyplt.util.enums.FSMethod
-
get_fs_method_params
()¶ Get the parameters of the feature selection method chosen by the user (if applicable).
Returns: the parameters of the feature selection method chosen by the user (if applicable). Return type: list
-
get_normal_frame
()¶ Return a FeatureSelectionFrame widget for when the tab is in the ‘unlocked’ state.
The FeatureSelectionFrame widget is instantiated only once on the first occasion that the tab is ‘unlocked’.
Returns: the FeatureSelectionFrame widget that is visible whenever the tab is in the ‘unlocked’ state. Return type: pyplt.gui.experiment.featureselection.featselectiontab.FeatureSelectionFrame
Module contents¶
This package contains GUI-based modules that manage the feature selection stage of setting up an experiment.