pyriemann_qiskit.utils.transfer.Adapter¶
- class pyriemann_qiskit.utils.transfer.Adapter(preprocessing, estimator)[source]¶
Meta-estimator bridging MOABB’s evaluation interface with pyriemann TL pipelines.
Handles preprocessing (raw → covariances), domain encoding, and target-domain propagation, then delegates to a plain pyriemann TL estimator.
- Parameters:
preprocessing (sklearn transformer) – Transforms raw input into covariance matrices.
estimator (sklearn estimator) – Any pyriemann TL-compatible estimator (e.g. a pipeline of TLCenter/TLScale/TLRotate/TLClassifier, or MDWM) constructed with
target_domain=None. The actual value is injected viaset_paramsat fit time fromTLCrossSubjectEvaluation.
Examples using pyriemann_qiskit.utils.transfer.Adapter¶
Toy dataset ablation study — NCH vs MDM with/without Transfer Learning
Toy dataset ablation study — NCH vs MDM with/without Transfer Learning