Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Proposal : Quantum Autoencoder (#280)
* Feat/qae (#36) * add autoencoder based on qiskit-ml example: https://qiskit.org/ecosystem/machine-learning/tutorials/12_quantum_autoencoder.html turned to be compatible with scikit-learn * set up example with autoencoder. Works with qiskit ml 0.7.1 * add dataset from https://zenodo.org/records/5055046 (partially implemented) * change localisation of the dataset. adapt exapmle to use the ergonomic dataset * apply denoising on raw signal * reduce epoch dimension use cross session evaluation * update pipeline * update optimizer * add rs and fix some bugs * add epochselectchannel * doc * improve code for channel selection * expose qaoa optimizer * push example * [pre-commit.ci] auto fixes from pre-commit.com hooks * typo in example * fix Attributes section duplicated * use moabb Hinss2021 * autoencoder.py Co-authored-by: Yash Chauhan <116367139+jiggychauhi@users.noreply.github.com> Co-authored-by: Ahmed Mostafa <121709141+AhmedMostafa167@users.noreply.github.com> * refactor autoencoder, add documentation * Complete documentation * extract devectorizer to preprocessing.py WIP * documentation for devectorizer * complete doc for EpochSelectChannel * refactor qword example. Do not use xDawn. * fix bug with spatial filter * add callback parameter * [pre-commit.ci] auto fixes from pre-commit.com hooks * typo * flake8 * [pre-commit.ci] auto fixes from pre-commit.com hooks * typo * flake8 * [pre-commit.ci] auto fixes from pre-commit.com hooks --------- Co-authored-by: Gregoire Cattan <gregoire.cattan@ibm.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Yash Chauhan <116367139+jiggychauhi@users.noreply.github.com> Co-authored-by: Ahmed Mostafa <121709141+AhmedMostafa167@users.noreply.github.com> * Update examples/ERP/autoencoders_example.py Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com> * Update examples/ERP/autoencoders_example.py Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com> * Update examples/ERP/autoencoders_example.py Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com> * Update pyriemann_qiskit/autoencoders.py Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com> * Update pyriemann_qiskit/utils/preprocessing.py Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com> * Update pyriemann_qiskit/utils/filtering.py Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com> * Update pyriemann_qiskit/autoencoders.py Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com> * Update pyriemann_qiskit/autoencoders.py Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com> * Update pyriemann_qiskit/autoencoders.py Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com> * Update pyriemann_qiskit/autoencoders.py Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com> * Update pyriemann_qiskit/autoencoders.py Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com> * Update pyriemann_qiskit/autoencoders.py Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com> * Update pyriemann_qiskit/utils/filtering.py Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com> * Update pyriemann_qiskit/utils/filtering.py Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com> * Rename to ChannelSelection * Update pyriemann_qiskit/utils/filtering.py Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com> * Update pyriemann_qiskit/utils/filtering.py Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com> * Update pyriemann_qiskit/utils/filtering.py Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com> * Update pyriemann_qiskit/utils/preprocessing.py Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com> * replace n_times -> n_samples * replace n_trials by n_matrices * apply review comment marked as outdated by GH * fix example * don't plot example as Hinss2021 is still on MOABB dev * remove unused alias for identitiy gate * Update pyriemann_qiskit/utils/filtering.py Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com> * Update pyriemann_qiskit/autoencoders.py Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com> * Update pyriemann_qiskit/autoencoders.py Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com> * Update pyriemann_qiskit/utils/filtering.py Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com> --------- Co-authored-by: Gregoire Cattan <gregoire.cattan@ibm.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Yash Chauhan <116367139+jiggychauhi@users.noreply.github.com> Co-authored-by: Ahmed Mostafa <121709141+AhmedMostafa167@users.noreply.github.com> Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com>
- Loading branch information