addded new layout
Browse files- dcase23-task2-enriched.py +138 -25
dcase23-task2-enriched.py
CHANGED
@@ -116,32 +116,145 @@ DATASET = {
|
|
116 |
'eval': 'DCASE 2023 Challenge Task 2 Evaluation Dataset',
|
117 |
}
|
118 |
|
|
|
119 |
SPOTLIGHT_LAYOUTS = {
|
120 |
-
"standard": {
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
}
|
146 |
|
147 |
SPOTLIGHT_RENAME = {
|
|
|
116 |
'eval': 'DCASE 2023 Challenge Task 2 Evaluation Dataset',
|
117 |
}
|
118 |
|
119 |
+
|
120 |
SPOTLIGHT_LAYOUTS = {
|
121 |
+
"standard": {
|
122 |
+
"orientation": "vertical",
|
123 |
+
"children": [
|
124 |
+
{
|
125 |
+
"kind": "split",
|
126 |
+
"weight": 51.96463654223969,
|
127 |
+
"orientation": "horizontal",
|
128 |
+
"children": [
|
129 |
+
{
|
130 |
+
"kind": "tab",
|
131 |
+
"weight": 30,
|
132 |
+
"children": [
|
133 |
+
{
|
134 |
+
"kind": "widget",
|
135 |
+
"name": "Table",
|
136 |
+
"type": "table",
|
137 |
+
"config": {
|
138 |
+
"tableView": "full",
|
139 |
+
"visibleColumns": [
|
140 |
+
"class",
|
141 |
+
"class_name",
|
142 |
+
"config",
|
143 |
+
"d1p",
|
144 |
+
"d1v",
|
145 |
+
"d2p",
|
146 |
+
"d2v",
|
147 |
+
"d3p",
|
148 |
+
"d3v",
|
149 |
+
"file_path",
|
150 |
+
"label",
|
151 |
+
"section",
|
152 |
+
"split"
|
153 |
+
],
|
154 |
+
"sorting": None,
|
155 |
+
"orderByRelevance": False
|
156 |
+
}
|
157 |
+
}
|
158 |
+
]
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"kind": "tab",
|
162 |
+
"weight": 33.970588235294116,
|
163 |
+
"children": [
|
164 |
+
{
|
165 |
+
"kind": "widget",
|
166 |
+
"name": "Similarity Map (2)",
|
167 |
+
"type": "similaritymap",
|
168 |
+
"config": {
|
169 |
+
"umapNNeighbors": 20,
|
170 |
+
"umapMinDist": 0.15,
|
171 |
+
"colorBy": "label"
|
172 |
+
}
|
173 |
+
}
|
174 |
+
]
|
175 |
+
},
|
176 |
+
{
|
177 |
+
"kind": "tab",
|
178 |
+
"weight": 36.029411764705884,
|
179 |
+
"children": [
|
180 |
+
{
|
181 |
+
"kind": "widget",
|
182 |
+
"name": "Similarity Map",
|
183 |
+
"type": "similaritymap",
|
184 |
+
"config": {
|
185 |
+
"placeBy": None,
|
186 |
+
"reductionMethod": None,
|
187 |
+
"colorBy": "class_name",
|
188 |
+
"sizeBy": None,
|
189 |
+
"filter": False,
|
190 |
+
"umapNNeighbors": 20,
|
191 |
+
"umapMetric": None,
|
192 |
+
"umapMinDist": 0.15,
|
193 |
+
"pcaNormalization": None,
|
194 |
+
"umapMenuLocalGlobalBalance": None,
|
195 |
+
"umapMenuIsAdvanced": False
|
196 |
+
}
|
197 |
+
},
|
198 |
+
{
|
199 |
+
"kind": "widget",
|
200 |
+
"name": "Scatter Plot",
|
201 |
+
"type": "scatterplot",
|
202 |
+
"config": {
|
203 |
+
"xAxisColumn": None,
|
204 |
+
"yAxisColumn": None,
|
205 |
+
"colorBy": None,
|
206 |
+
"sizeBy": None,
|
207 |
+
"filter": False
|
208 |
+
}
|
209 |
+
},
|
210 |
+
{
|
211 |
+
"kind": "widget",
|
212 |
+
"name": "Histogram",
|
213 |
+
"type": "histogram",
|
214 |
+
"config": {
|
215 |
+
"columnKey": None,
|
216 |
+
"stackByColumnKey": None,
|
217 |
+
"filter": False
|
218 |
+
}
|
219 |
+
}
|
220 |
+
]
|
221 |
+
}
|
222 |
+
]
|
223 |
+
},
|
224 |
+
{
|
225 |
+
"kind": "tab",
|
226 |
+
"weight": 48.03536345776031,
|
227 |
+
"children": [
|
228 |
+
{
|
229 |
+
"kind": "widget",
|
230 |
+
"name": "Inspector",
|
231 |
+
"type": "inspector",
|
232 |
+
"config": {
|
233 |
+
"views": [
|
234 |
+
{
|
235 |
+
"view": "AudioView",
|
236 |
+
"columns": [
|
237 |
+
"audio"
|
238 |
+
],
|
239 |
+
"name": "view",
|
240 |
+
"key": "9c37fe2d-6305-436b-b944-30dbda7b1f4d"
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"view": "SpectrogramView",
|
244 |
+
"columns": [
|
245 |
+
"audio"
|
246 |
+
],
|
247 |
+
"name": "view",
|
248 |
+
"key": "9e676bb9-0b21-4214-806f-4e8c0f6db4c3"
|
249 |
+
}
|
250 |
+
],
|
251 |
+
"visibleColumns": 4
|
252 |
+
}
|
253 |
+
}
|
254 |
+
]
|
255 |
+
}
|
256 |
+
]
|
257 |
+
},
|
258 |
}
|
259 |
|
260 |
SPOTLIGHT_RENAME = {
|