Alraj commited on
Commit
c70d274
·
verified ·
1 Parent(s): 3650e78

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +171 -25
README.md CHANGED
@@ -13,46 +13,192 @@ tags:
13
  size_categories:
14
  - n<1K
15
  ---
16
- Dior Perfume SVC Dataset
17
 
18
- The Dior Perfume SVC Dataset is a structured dataset containing Scent Vector Codes (SVC) for a wide range of Dior perfumes. It provides quantitative representations of perfume scents, along with relevant metadata, making it ideal for research and educational purposes in computational perfumery, scent analysis, and AI-driven fragrance studies.
19
 
20
- 📘 Dataset Overview
21
 
22
- Each entry in the dataset corresponds to a single Dior perfume and includes the following information:
23
 
24
- Column Description
25
- name Name of the perfume
26
- url Original Fragrantica source URL
27
- svc_code Encoded scent vector in SVC format
28
- fragrance_attributes Numerical representation of scent composition (0–100 scale)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
 
30
- The scent vector codes are extracted and encoded using the ScentByte extraction tool, which allows for reproducible, quantitative analysis of perfumes in a digital format.
31
 
32
- ⚠️ Disclaimer
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
 
34
- All perfume names, trademarks, and brand references belong to their respective owners (e.g., Dior, Fragrantica).
 
 
35
 
36
- This dataset is for research and educational purposes only. It is not affiliated with, endorsed by, or commercially associated with Dior or Fragrantica.
 
37
 
38
- 🪪 License
 
 
39
 
40
- This dataset is released under the Creative Commons Attribution 4.0 International License (CC BY 4.0)
41
- .
42
- You are free to share, adapt, and use this dataset, provided appropriate credit is given.
43
 
44
- 🔬 Applications
45
 
46
- Computational fragrance analysis
47
 
48
- Machine learning and AI in perfumery
49
 
50
- Scent visualization and digital representation
51
 
52
- Research in olfactory data encoding
53
 
54
- 💡 Notes
55
 
56
- The SVC format is analogous to digital color codes (like RGB), providing a structured representation of a perfume’s scent profile.
57
 
58
- Fragrance attributes are normalized on a 0–100 scale for consistent analysis across perfumes.
 
13
  size_categories:
14
  - n<1K
15
  ---
16
+ Dior Perfume SVC Dataset: Full Methodology and Reference
17
 
18
+ The Dior Perfume SVC Dataset provides structured scent vector codes (SVCs) for Dior perfumes. Each perfume is represented numerically, enabling quantitative fragrance analysis, AI applications in perfumery, and digital scent comparison.
19
 
20
+ This document describes not only the dataset but also the full methodology, including mathematical formulation, feature selection, and encoding procedures.
21
 
22
+ 1. Introduction
23
 
24
+ Perfumes are traditionally analyzed through subjective human perception, which varies across individuals and environments. Unlike colors, which can be represented in RGB or HEX codes, fragrances lack a standardized numeric representation.
25
+
26
+ The Scent Vector Code (SVC) is designed to quantify perfume scent profiles into reproducible vectors. This allows:
27
+
28
+ Objective fragrance comparison
29
+
30
+ Clustering and classification of perfumes
31
+
32
+ Integration into AI and machine learning pipelines
33
+
34
+ The Dior dataset contains 335 perfumes, each encoded with 43 fragrance attributes and their corresponding SVCs.
35
+
36
+ 2. Components and Necessary Inputs
37
+
38
+ To create an SVC, the following inputs and components are necessary:
39
+
40
+ Perfume Composition Data
41
+
42
+ List of ingredients and notes for each perfume (top, middle, base notes)
43
+
44
+ Concentration or relative intensity of each note (if available)
45
+
46
+ Feature Space Definition
47
+
48
+ A standardized list of 43 primary fragrance attributes
49
+
50
+ Categories include floral, woody, citrus, spicy, animalic, balsamic, etc.
51
+
52
+ Attribute Weighting Rules
53
+
54
+ Top notes: weight = 0.4
55
+
56
+ Middle/heart notes: weight = 0.35
57
+
58
+ Base notes: weight = 0.25
59
+
60
+ Normalization Constraints
61
+
62
+ Each attribute is scaled to a 0–100 range
63
+
64
+ Ensures consistency across different perfumes
65
+
66
+ 3. Mathematical Formulation of SVC
67
+
68
+ The SVC of a perfume can be represented as a vector:
69
+
70
+ SVC = [a1, a2, ..., a43]
71
+
72
+
73
+ Where:
74
+
75
+ n = 43 (number of fragrance attributes)
76
+
77
+ ai is the normalized weighted intensity of the i-th attribute
78
+
79
+ Step 1: Weighted Intensity Calculation
80
+
81
+ For each attribute i, the intensity is calculated as:
82
+
83
+ Ii = sum over j of (wj * cij) for j = 1 to m
84
+
85
+
86
+ Where:
87
+
88
+ m = number of notes contributing to attribute i
89
+
90
+ cij = raw concentration/intensity of note j in attribute i
91
+
92
+ wj = weight of note j (top, middle, base)
93
+
94
+ Step 2: Normalization
95
 
96
+ The raw intensity vector is normalized to a 0–100 scale:
97
 
98
+ ai = ((Ii - Imin) / (Imax - Imin)) * 100
99
+
100
+
101
+ Where Imin and Imax are the minimum and maximum intensities observed for that attribute across all perfumes.
102
+
103
+ Step 3: Vector Assembly
104
+
105
+ After normalization, the SVC is assembled as:
106
+
107
+ SVC = [a1, a2, ..., a43]
108
+
109
+
110
+ Each SVC is a 43-dimensional vector
111
+
112
+ Can be stored as a string, JSON array, or serialized object
113
+
114
+ Facilitates vector operations such as cosine similarity or Euclidean distance
115
+
116
+ 4. Data Extraction and Preprocessing
117
+
118
+ Source Extraction
119
+
120
+ Perfume notes collected from Fragrantica
121
+
122
+ Extracted using automated scraping pipelines or manual curation
123
+
124
+ Categorization into Attributes
125
+
126
+ Each note is mapped to one or more fragrance attributes
127
+
128
+ Example: “Bergamot” → Citrus, Fresh
129
+
130
+ Weight Assignment
131
+
132
+ Top notes: w = 0.4
133
+
134
+ Middle notes: w = 0.35
135
+
136
+ Base notes: w = 0.25
137
+
138
+ Handling Missing Data
139
+
140
+ Notes missing intensity values are imputed using the average intensity of that attribute across the dataset
141
+
142
+ SVC Generation
143
+
144
+ Weighted, normalized intensities are combined into a final 43-dimensional vector
145
+
146
+ 5. Computational Methodology
147
+
148
+ Vector Operations
149
+
150
+ SVCs can be compared using cosine similarity:
151
+
152
+ Similarity(SVC1, SVC2) = (SVC1 · SVC2) / (||SVC1|| * ||SVC2||)
153
+
154
+
155
+ Clustering and Analysis
156
+
157
+ Perfumes can be clustered using k-means, hierarchical clustering, or PCA
158
+
159
+ Enables visualization of fragrance families
160
+
161
+ AI Applications
162
+
163
+ Train ML models for perfume recommendation
164
+
165
+ Generate synthetic SVCs to predict new fragrance combinations
166
+
167
+ 6. Dataset Structure
168
+ Column Description
169
+ name Perfume name
170
+ url Fragrantica source URL
171
+ svc_code 43-dimensional SVC vector (JSON or array)
172
+ fragrance_attributes Numerical intensities (0–100) of 43 attributes
173
+ 7. Example Usage
174
+ from datasets import load_dataset
175
+ from scipy.spatial.distance import cosine
176
 
177
+ # Load dataset
178
+ dataset = load_dataset("Alraj/ScentByte_Perfume_SVC_Dataset")
179
+ entry = dataset["train"][0]
180
 
181
+ svc_vector = entry["svc_code"] # 43-dimensional SVC
182
+ attributes = entry["fragrance_attributes"]
183
 
184
+ # Cosine similarity between two perfumes
185
+ similarity = 1 - cosine(svc_vector, dataset["train"][1]["svc_code"])
186
+ print("Similarity:", similarity)
187
 
188
+ 8. Applications of SVC
 
 
189
 
190
+ Objective Perfume Comparison – measure similarity numerically
191
 
192
+ AI Recommendations – suggest perfumes with similar SVCs
193
 
194
+ Digital Perfume Libraries catalog scents digitally
195
 
196
+ Fragrance Research – analyze patterns and trends
197
 
198
+ 9. License
199
 
200
+ CC BY 4.0: Free for research, educational purposes, and derivative works with proper credit
201
 
202
+ 10. Conclusion
203
 
204
+ The Scent Vector Code (SVC) methodology provides a reproducible, quantitative, and computationally accessible representation of perfumes. By combining data extraction, weighted feature encoding, normalization, and vector operations, SVCs create a scalable digital language for fragrances, bridging the gap between human olfaction and computational analysis.