TNO Quantum: Datasets
TNO Quantum provides generic software components aimed at facilitating the development of quantum applications.
The tno.quantum.ml.datasets package wraps some of the functionality of the sklearn.datasets.
This package is used for testing the tno.quantum.ml classifiers and clustering algorithms in an easy, reproducible and consistent way.
Limitations in (end-)use: the content of this software package may solely be used for applications that comply with international export control laws.
Documentation
Documentation of the tno.quantum.ml.datasets package can be found here.
Install
Easily install the tno.quantum.ml.datasets package using pip:
$ python -m pip install tno.quantum.ml.datasets
If you wish to run the tests you can use:
$ python -m pip install 'tno.quantum.ml.datasets[tests]'
Usage
Here's an example of how the datasets package can be used to load an iris dataset.
from tno.quantum.ml.datasets import get_iris_dataset
X_train, y_train, X_val, y_val = get_iris_dataset()
Metadata
Release files for tno.quantum.ml.datasets 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tno_quantum_ml_datasets-2.1.1.tar.gz | 15.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tno_quantum_ml_datasets-2.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.4 kB
Release files / tno_quantum_ml_datasets-2.1.1.tar.gz
| Download URL | tno_quantum_ml_datasets-2.1.1.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ba280fc718f95f0320216add433afa189ba0ce1aded5efb39b3356febf157ec
|
|
BLAKE2b-256 checksum How to use checksums |
06175e434fe4ec26e31e1b51979c05dd0828e056f006e5d4dd8d67deb5a5ac33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.3
|
Release files / tno_quantum_ml_datasets-2.1.1-py3-none-any.whl
| Download URL | tno_quantum_ml_datasets-2.1.1-py3-none-any.whl |
|---|---|
| Size | 21.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
32a596cc5019e91326de880462942feaf390d87e20a22e22862a4b90bbabec38
|
|
BLAKE2b-256 checksum How to use checksums |
39f0a70f7e50317ce7bc01148f3791aa8123cb8dc20ad4d68918b840d311754e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.3
|