cleaning readme
Browse files
README.md
CHANGED
|
@@ -5,34 +5,36 @@ title: "Embedding-Aware Quantum-Classical SVMs for Scalable Quantum Machine Lear
|
|
| 5 |
|
| 6 |
## Overview
|
| 7 |
|
| 8 |
-
This repository
|
| 9 |
-
Each dataset is named using the convention:
|
| 10 |
|
|
|
|
| 11 |
<model_name>_<embedding_dim>.csv
|
|
|
|
| 12 |
|
| 13 |
Where:
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
-
|
| 16 |
-
-
|
| 17 |
-
-
|
| 18 |
|
| 19 |
-
|
| 20 |
-
- Rows represent distilled training or testing samples.
|
| 21 |
-
- Columns represent the embedding dimensions followed by a label column.
|
| 22 |
-
|
| 23 |
-
These datasets are compatible with quantum kernel methods and hybrid learning pipelines as implemented in [QuantumVE](https://github.com/sebasmos/QuantumVE).
|
| 24 |
|
| 25 |
---
|
| 26 |
|
| 27 |
## Repository Structure
|
| 28 |
|
| 29 |
-
|
| 30 |
|
|
|
|
| 31 |
<model_name>_<embedding_dim>/
|
| 32 |
-
├── train.csv # Training embeddings
|
| 33 |
-
└── test.csv # Testing embeddings
|
|
|
|
| 34 |
|
| 35 |
-
Example
|
| 36 |
- `efficientnet_1536/`
|
| 37 |
- `vit_b_16_512/`
|
| 38 |
- `vit_l_14@336px_768/`
|
|
@@ -41,23 +43,23 @@ Example folders:
|
|
| 41 |
|
| 42 |
## Loading Datasets
|
| 43 |
|
| 44 |
-
|
| 45 |
|
| 46 |
```python
|
| 47 |
import pandas as pd
|
| 48 |
|
| 49 |
df = pd.read_csv("vit_b_16_512/train.csv")
|
| 50 |
-
X = df.iloc[:, :-1].values #
|
| 51 |
-
y = df.iloc[:, -1].values #
|
| 52 |
-
|
| 53 |
|
|
|
|
| 54 |
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
Citation
|
| 58 |
|
| 59 |
If you use this dataset collection, please cite:
|
| 60 |
|
|
|
|
| 61 |
@misc{cajas_quantumve_2025,
|
| 62 |
author = {Sebastián Andrés Cajas Ordóñez, Luis Torres, Mario Bifulco, Carlos Duran, Cristian Bosch, Ricardo Simon Carbajo},
|
| 63 |
title = {Embedding-Aware Quantum-Classical SVMs for Scalable Quantum Machine Learning},
|
|
@@ -66,18 +68,19 @@ If you use this dataset collection, please cite:
|
|
| 66 |
note = {GitHub repository},
|
| 67 |
version = {v1.0},
|
| 68 |
howpublished = {\url{https://github.com/sebasmos/QuantumVE}},
|
| 69 |
-
|
| 70 |
|
|
|
|
| 71 |
|
|
|
|
| 72 |
|
| 73 |
-
|
| 74 |
|
| 75 |
-
|
| 76 |
|
| 77 |
-
|
| 78 |
|
| 79 |
-
|
| 80 |
|
| 81 |
-
|
| 82 |
|
| 83 |
-
This dataset is part of the QuantumVE project.
|
|
|
|
| 5 |
|
| 6 |
## Overview
|
| 7 |
|
| 8 |
+
This repository provides a collection of embedding datasets for evaluating quantum-classical support vector machines (QSVMs) using embeddings from pre-trained classical models. Each dataset follows the naming convention:
|
|
|
|
| 9 |
|
| 10 |
+
```
|
| 11 |
<model_name>_<embedding_dim>.csv
|
| 12 |
+
```
|
| 13 |
|
| 14 |
Where:
|
| 15 |
+
- `model_name`: the architecture used to generate the embeddings (e.g., `vit_b_16`, `efficientnet`, `vit_l_14@336px`)
|
| 16 |
+
- `embedding_dim`: the dimensionality of the embedding vectors
|
| 17 |
+
- The **last column** in each CSV represents the **class label**
|
| 18 |
|
| 19 |
+
Each CSV file is structured as a table:
|
| 20 |
+
- Rows correspond to distilled training or testing samples
|
| 21 |
+
- Columns represent embedding values followed by the class label
|
| 22 |
|
| 23 |
+
These datasets are designed to support quantum kernel methods and hybrid pipelines, as implemented in [QuantumVE](https://github.com/sebasmos/QuantumVE).
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
---
|
| 26 |
|
| 27 |
## Repository Structure
|
| 28 |
|
| 29 |
+
Datasets are stored in `.csv` format and organized into folders named according to the embedding configuration:
|
| 30 |
|
| 31 |
+
```
|
| 32 |
<model_name>_<embedding_dim>/
|
| 33 |
+
├── train.csv # Training set with embeddings and labels
|
| 34 |
+
└── test.csv # Testing set with embeddings and labels
|
| 35 |
+
```
|
| 36 |
|
| 37 |
+
### Example Folders:
|
| 38 |
- `efficientnet_1536/`
|
| 39 |
- `vit_b_16_512/`
|
| 40 |
- `vit_l_14@336px_768/`
|
|
|
|
| 43 |
|
| 44 |
## Loading Datasets
|
| 45 |
|
| 46 |
+
Example code to load and preview a dataset:
|
| 47 |
|
| 48 |
```python
|
| 49 |
import pandas as pd
|
| 50 |
|
| 51 |
df = pd.read_csv("vit_b_16_512/train.csv")
|
| 52 |
+
X = df.iloc[:, :-1].values # Embedding features
|
| 53 |
+
y = df.iloc[:, -1].values # Class labels
|
| 54 |
+
```
|
| 55 |
|
| 56 |
+
---
|
| 57 |
|
| 58 |
+
## Citation
|
|
|
|
|
|
|
| 59 |
|
| 60 |
If you use this dataset collection, please cite:
|
| 61 |
|
| 62 |
+
```bibtex
|
| 63 |
@misc{cajas_quantumve_2025,
|
| 64 |
author = {Sebastián Andrés Cajas Ordóñez, Luis Torres, Mario Bifulco, Carlos Duran, Cristian Bosch, Ricardo Simon Carbajo},
|
| 65 |
title = {Embedding-Aware Quantum-Classical SVMs for Scalable Quantum Machine Learning},
|
|
|
|
| 68 |
note = {GitHub repository},
|
| 69 |
version = {v1.0},
|
| 70 |
howpublished = {\url{https://github.com/sebasmos/QuantumVE}},
|
| 71 |
+
```
|
| 72 |
|
| 73 |
+
---
|
| 74 |
|
| 75 |
+
## License
|
| 76 |
|
| 77 |
+
QuantumVE is free and open source, released under the MIT License.
|
| 78 |
|
| 79 |
+
---
|
| 80 |
|
| 81 |
+
## Contact & Contributions
|
| 82 |
|
| 83 |
+
This dataset collection is maintained as part of the QuantumVE project.
|
| 84 |
|
| 85 |
+
For questions or contributions, feel free to reach out or submit a pull request via the [GitHub repository](https://github.com/sebasmos/QuantumVE).
|
| 86 |
|
|
|