forked from pyRiemann/pyRiemann-qiskit
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…tem/machine-learning/tutorials/12_quantum_autoencoder.html turned to be compatible with scikit-learn
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.