pyanno4rt.visualization.visuals._feature_select_window_pyqt
Feature selection window (PyQt).
Overview
Combo box for model selection. |
|
Combo box for feature selection. |
|
Feature widget class. |
|
Feature selection window (PyQt) class. |
Classes
- class pyanno4rt.visualization.visuals._feature_select_window_pyqt.ComboBoxModel(model_names)[source]
Bases:
PyQt5.QtWidgets.QWidgetCombo box for model selection.
This class provides a combo box for picking the model to be displayed in the feature selection window.
- Parameters:
models (tuple) – Tuple with the model names to display in the combo box.
- model_box
Instance of the class QComboBox, which creates a combo box to select the model to be displayed.
- Type:
object of class QComboBox
- class pyanno4rt.visualization.visuals._feature_select_window_pyqt.ComboBoxFeature(feature_names)[source]
Bases:
PyQt5.QtWidgets.QWidgetCombo box for feature selection.
This class provides a combo box for picking the feature to be displayed in the feature selection window.
- Parameters:
names (feature) – Tuple with the feature names to display in the combo box.
- feature_box
Instance of the class QComboBox, which creates a combo box to select the feature to be displayed.
- Type:
object of class QComboBox
- class pyanno4rt.visualization.visuals._feature_select_window_pyqt.FeatureWidget(feature_histories)[source]
Bases:
PyQt5.QtWidgets.QWidgetFeature widget class.
This class provides a feature widget, including a combo box (to select the feature to be displayed), a plot widget (to show the iterative feature values), and a table widget (to list the iterative feature values).
- Parameters:
feature_history (dict) – Dictionary with the iterative feature values.
- label
Instance of the class QLabel, which holds the label to be displayed above the graph.
- Type:
object of class QLabel
- feature_history
See Parameters.
- Type:
dict
- combo_box_model
Instance of the class ComboBoxModel, which generates the combo box for the selection of the model to be displayed.
- Type:
object of class ComboBoxModel
- combo_box_feature
Instance of the class ComboBoxFeature, which generates the combo box for the selection of the feature to be displayed.
- Type:
object of class ComboBoxFeature
- graph
Instance of the class PlotWidget, which generates the graph for the feature values.
- Type:
object of class PlotWidget
- table
Instance of the class TableWidget, which generates the table for the feature values.
- Type:
object of class TableWidget
- evaluation_steps
Array with the evaluation steps as integers (starting with 1).
- Type:
ndarray
- feature_values
Array with the values of the selected feature for all evaluation steps.
- Type:
ndarray
- pen
Instance of the class QPen, which defines how to draw lines and outlines of shapes.
- Type:
object of class QPen
- vertical_line
Instance of the class InfiniteLine, which represents an infinite vertical line to indicate the x-axis position in the graph.
- Type:
object of class InfiniteLine
- horizontal_line
Instance of the class InfiniteLine, which represents an infinite horizontal line to indicate the y-axis position in the graph.
- Type:
object of class InfiniteLine
- crosshair_update
Instance of the class SignalProxy, which connects mouse moving with the update of the crosshair.
- Type:
object of class SignalProxy
Overview
Methods Update the feature combo box for model selection changes.
Update the plot for feature selection changes.
Update the table for feature selection changes.
Mark the graph points when clicking on table cells.
update_crosshair(event)Update the crosshair at mouse moves.
Members
- class pyanno4rt.visualization.visuals._feature_select_window_pyqt.FeatureSelectWindowPyQt[source]
Bases:
PyQt5.QtWidgets.QMainWindowFeature selection window (PyQt) class.
This class provides an interactive plot of the iterative feature values, including a combo box for feature selection, a graph plot with the value per iteration, and a value table as a second representation.
- DATA_DEPENDENT
Indicator for the assignment to model-related plots.
- Type:
bool
- category
Plot category for assignment to the button groups in the visual interface.
- Type:
string
- name
Attribute name of the classes’ instance in the visual interface.
- Type:
string
- label
Label of the plot button in the visual interface.
- Type:
string
Overview
Methods view()Open the full-screen view on the feature selection window.
Members