API Reference#
This is the class and function reference of MVPy. Please also refer to the examples for further details.
Object |
Description |
|---|---|
|
|
Implements a shorthand for automated cross-validation scoring over estimators or pipelines. |
|
Implements a k-folds cross-validator. |
|
Implements a repeated k-folds cross-validator. |
|
Implements a stratified k-folds cross-validator. |
|
Implements a repeated stratified k-folds cross-validator. |
|
Implements automated cross-validation and scoring over estimators or pipelines. |
|
Create an M-EEG dataset based on continuous time-varying stimuli that group together into features and classes. |
|
Create spatial colours for sensor layout. |
|
Create an M-EEG dataset based on continuous time-varying stimuli. |
|
Create an M-EEG dataset based on stimuli defined as discrete events. |
|
Create a concentric channel layout for M-EEG sensors. |
|
Implements a back-to-back regression to disentangle causal contributions of correlated features. |
|
Implements a wrapper for classifiers that handle one-versus-one (OvO) and one-versus-rest (OvR) classification schemes. |
|
Implements covariance and precision estimation as well as whitening of data. |
|
Implements a kernel ridge regression with cross-validation. |
|
Implements receptive field estimation (for multivariate temporal response functions or stimulus reconstruction). |
|
Implements a linear ridge classifier. |
|
Implements ridge regression with cross-validation. |
|
Implements a linear ridge decoder. |
|
Implements a linear ridge encoder. |
|
Implements representational similarity analysis. |
|
Implements a sliding estimator that allows you to fit estimators iteratively over a set of dimensions. |
|
Implements a support vector classifier. |
|
Implements time delayed ridge regression (for multivariate temporal response functions or stimulus reconstruction). |
|
Compute accuracy between x and y. Note that accuracy is always computed over the final dimension. |
|
Compute cosine similarities between x and y. Note that similarities are always computed over the final dimension. |
|
Compute cosine distances between x and y. Note that distances are always computed over the final dimension. |
|
Computes cross-validated euclidean distances between vectors in x and y. |
|
Computes cross-validated mahalanobis distances between x and y. This is sometimes also referred to as the crossnobis distance. |
|
Computes euclidean distances between x and y. |
|
Compute the linear kernel function. |
|
Compute the polynomial kernel function. |
|
Compute the radial basis kernel function. |
|
Compute the sigmoid kernel function. |
|
Computes mahalanobis distance between x and y using inverse covariance matrix Σ. |
|
Computes pearson correlations between x and y. Note that correlations are always computed over the final dimension. |
|
Computes Pearson distance between x and y. Note that distances are always computed over the final dimension in your inputs. |
|
Rank data in x along its final feature dimension. Ties are computed as averages. |
|
Rank data in x along its final feature dimension. Ties are computed as averages. |
|
Compute ROC AUC score between y_true and y_score. Note that ROC AUC is always computed over the final dimension. |
|
Compute Spearman correlation between x and y. Note that correlations are always computed over the final dimension in your inputs. |
|
Compute Spearman distance between x and y. Note that distances are always computed over the final dimension in your inputs. |
|
Implements |
|
Implements |
|
Implements |
|
Implements a hierarchical scoring procedure over all feature permutations in \(X\) describing \(y\). |
|
Implements a shorthand for hierarchical scoring over all feature permutations in \(X\) describing \(y\). |
|
Implements a Shapley value scoring procedure over all feature permutations in \(X\) describing \(y\). |
|
Implements a shorthand for Shapley scoring over all feature permutations in \(X\) describing \(y\). |
|
Implements a clamp to handle extreme values. |
|
Class to create and handle multiclass and multifeature one-hot encodings. |
|
Implements a robust scaler that is invariant to outliers. |
|
A standard scaler akin to sklearn.preprocessing.StandardScaler. See notes for some differences. |
|
Decorator that compiles a function with numba.jit, if available. |
|
Decorator that compiles a function with torch.compile, if available. |
|
Grab var from environment, respecting defaults and flag. |
|
Check if var is enabled in environment variables. |
|
Simple class for progress bars that can be enabled or disabled. |
|
Compare two version strings. |