API¶
Baseclasses¶
|
The class FeatureDescriptor abstracts the configuration of features the selection methods are to retrieve from the spectral data. |
|
Top level base class for all Auswahl selectors. |
|
Base class for feature selection methods that select features independently. |
|
Base class for feature selection methods that select consecutive chunks (intervals) of features. |
Selectors subclassing |
Wavelength Point Selection¶
|
Base class for feature selection methods that select features independently. |
|
Feature selection with Competitive Adaptive Reweighted Sampling (CARS). |
|
Feature selection with Monte Carlo Uninformative Variable Elimination. |
|
Feature selection with the Random Frog method. |
|
Feature selection with the Successive Projection Algorithm (SPA). |
|
Feature Selection with Variable Importance in Projection. |
Wavelength Interval Selection¶
|
Base class for feature selection methods that select consecutive chunks (intervals) of features. |
|
Interval selection with Interval Partial Least Squares (iPLS). |
|
Feature Selection with Forward interval Partial Least Squares (FiPLS). |
|
Feature Selection with Backward interval Partial Least Squares (BiPLS). |
|
Feature selection with the Interval Random Frog (iRF) method. |
|
PseudoIntervalSelector transforms a PointSelector subclassing |
Utilities¶
|
The algorithm calculates the optimal non-overlapping placement of n_intervals of width interval_width into the range of features. |
Retrieves the coef attribute from the PLS model in the shape (n_targets, n_features) without triggering a FutureWarning. |
Benchmarking API¶
Benchmarking¶
|
Function performing benchmarking of Interval- and PointSelector feature selectors across different datasets and different parameterizations of the selectors. |
Data Handling¶
|
Function to load a pickled instance of |
|
Data handling class corralling data generated by the benchmarking of different wavelength selection methods. |
Helper class allowing the handling of lists of different lengths in a single pandas DataFrame. |
Plotting¶
|
Plot regression scores of selectors across different number of selected features as box or bar plot. |
|
Plots the stability score of methods for a given metric. |
|
Plotting a boxplot for the benchmarked methods displaying |
|
Plots the selection probability for features of different selectors. |
|
Plots execution times of selectors across different number of features to be selected. |
Stability Metrics¶
Base class for all stability scores useable by the benchmarking system |
|
The class provides the infrastructure for the introduction of new symmetric and pairwise defined stability metrics. |
|
Wraps the calculation of the selection stability score for randomized selection methods, according to Deng et al. [R0e48a2638659-1]. |
|
Wraps the calculation of the stability score according to Zucknick et al. [R00428e8dc090-1]. |
Misc¶
Function to load a pickled instance of |