-
Notifications
You must be signed in to change notification settings - Fork 329
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
Datasets as numpy arrays #26
Merged
woodsp-ibm
merged 17 commits into
qiskit-community:master
from
beichensinn:QML_datasets_as_array
Apr 1, 2021
Merged
Datasets as numpy arrays #26
woodsp-ibm
merged 17 commits into
qiskit-community:master
from
beichensinn:QML_datasets_as_array
Apr 1, 2021
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
beichensinn
requested review from
manoelmarques,
pbark,
stefan-woerner and
woodsp-ibm
as code owners
March 31, 2021 11:37
woodsp-ibm
approved these changes
Apr 1, 2021
9 tasks
gentinettagian
pushed a commit
to gentinettagian/qiskit-machine-learning
that referenced
this pull request
Dec 14, 2021
* data has been converted into np.array other than ad-hoc * fix wine * fix ad_hoc, style, lint * fix breast cancer * fix digits * fix digits 2 * fix readme test/page * fix gaussian * adding sample_total back * test_iris is completed * fix notebook, fix warning, enhance ad_hoc * fix style, remove unused * remove unused * fix notebook imports Co-authored-by: Anton Dekusar <[email protected]>
espREssOOOHHH
added a commit
to espREssOOOHHH/qiskit-machine-learning-my-verify
that referenced
this pull request
Jan 23, 2024
This error occurs in docs/tutorials/01_neural_networks.ipynb, codeblock qiskit-community#26, the end line.
woodsp-ibm
added a commit
that referenced
this pull request
Jan 29, 2024
… in tutorials. (#743) * Fix error on 'qc1.draw' This error occurs in docs/tutorials/01_neural_networks.ipynb, codeblock #26, the end line. * The deprecated calling sytle of circut draw function has been updated in tutorials. * All outdated usages of drawing cirucit in '12_quantum_autoencoder.ipynb' are fixed. --------- Co-authored-by: Steve Wood <[email protected]>
mergify bot
pushed a commit
that referenced
this pull request
Jan 29, 2024
… in tutorials. (#743) * Fix error on 'qc1.draw' This error occurs in docs/tutorials/01_neural_networks.ipynb, codeblock #26, the end line. * The deprecated calling sytle of circut draw function has been updated in tutorials. * All outdated usages of drawing cirucit in '12_quantum_autoencoder.ipynb' are fixed. --------- Co-authored-by: Steve Wood <[email protected]> (cherry picked from commit 30aa648)
woodsp-ibm
pushed a commit
that referenced
this pull request
Jan 29, 2024
… in tutorials. (#743) (#746) * Fix error on 'qc1.draw' This error occurs in docs/tutorials/01_neural_networks.ipynb, codeblock #26, the end line. * The deprecated calling sytle of circut draw function has been updated in tutorials. * All outdated usages of drawing cirucit in '12_quantum_autoencoder.ipynb' are fixed. --------- Co-authored-by: Steve Wood <[email protected]> (cherry picked from commit 30aa648) Co-authored-by: 苏小冷 <[email protected]>
oscar-wallis
pushed a commit
that referenced
this pull request
Feb 16, 2024
… in tutorials. (#743) * Fix error on 'qc1.draw' This error occurs in docs/tutorials/01_neural_networks.ipynb, codeblock #26, the end line. * The deprecated calling sytle of circut draw function has been updated in tutorials. * All outdated usages of drawing cirucit in '12_quantum_autoencoder.ipynb' are fixed. --------- Co-authored-by: Steve Wood <[email protected]>
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.
Summary
This PR changes signatures of the dataset methods. Instead of dictionaries, all dataset functions now returns np.ndarray objects with features and labels. These arrays can be directly passed to a quantum classifier/regressor and other ML classes.
Details and comments
Also, unused function was deleted from the datasets.