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

Datasets as numpy arrays #26

Merged
merged 17 commits into from
Apr 1, 2021

Conversation

beichensinn
Copy link
Contributor

@beichensinn beichensinn commented Mar 31, 2021

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.

@adekusar-drl adekusar-drl changed the title [WIP] datasets as numpy arrays Datasets as numpy arrays Mar 31, 2021
@woodsp-ibm woodsp-ibm merged commit c6ee17d into qiskit-community:master Apr 1, 2021
@adekusar-drl adekusar-drl mentioned this pull request 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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants