Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/qae #36

Merged
merged 36 commits into from
May 17, 2024
Merged

Feat/qae #36

merged 36 commits into from
May 17, 2024

Conversation

gcattan
Copy link
Owner

@gcattan gcattan commented May 17, 2024

No description provided.

Gregoire Cattan and others added 30 commits January 26, 2024 22:44
Works with qiskit ml 0.7.1
adapt exapmle to use the ergonomic dataset
use cross session evaluation
# Conflicts:
#	pyriemann_qiskit/classification.py
Co-authored-by: Yash Chauhan <116367139+jiggychauhi@users.noreply.github.com>
Co-authored-by: Ahmed Mostafa <121709141+AhmedMostafa167@users.noreply.github.com>
# Conflicts:
#	pyriemann_qiskit/classification.py
#	pyriemann_qiskit/pipelines.py
#	pyriemann_qiskit/utils/docplex.py
@gcattan gcattan merged commit 5f4d629 into main May 17, 2024
10 of 13 checks passed
gcattan added a commit that referenced this pull request Jun 7, 2024
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant