auswahl.benchmarking.plot_exec_time

auswahl.benchmarking.plot_exec_time(pod: DataHandler, dataset: Optional[str] = None, methods: Optional[Union[str, List[str]]] = None, n_features: Optional[List[Union[int, Tuple[int]]]] = None, item: Literal['mean', 'median'] = 'mean', save_path: Optional[str] = None)[source]

Plots execution times of selectors across different number of features to be selected.

Parameters
pod: DataHandler

DataHandler object containing the benchmarking data.

dataset: str, default=None

Identifier of the dataset of which to plot the execution time. If there is data for only one dataset in the BenchmarkPOD object, the argument does not have to be specified.

methods: str or list of str, default=None

Identifiers of methods for which to plot the execution time. If None, all available methods are used.

n_features: list of integers or of tuples of integers, default=None

Identifiers of the number of features or the configuration of intervals for which the execution time is to be plotted. If None, all available feature descriptors are used.

item: Literal[‘mean’, ‘median’], default=’mean’

Specifies whether the mean or median is displayed in the plot.

save_path: str

Path at which the plot has to be saved.