sps44 commited on
Commit
21555d0
1 Parent(s): 2b6d8e1

add anomaly score, update readme

Browse files
data/dev_metadata_extended.csv CHANGED
The diff for this file is too large to render. See raw diff
 
data/preview_dcase_1.png ADDED

Git LFS Details

  • SHA256: 6b9e77fc26756a2a4390cc93a163d58ee5c5bf447b36ce998f089ea631382eda
  • Pointer size: 131 Bytes
  • Size of remote file: 539 kB
data/preview_dcase_2.png ADDED

Git LFS Details

  • SHA256: 667392b1e587699535b4786bf62b92fa814e4a00fb32137345688228a2acff81
  • Pointer size: 131 Bytes
  • Size of remote file: 245 kB
dcase23-task2-enriched.py CHANGED
@@ -257,6 +257,8 @@ SPOTLIGHT_LAYOUTS = {
257
  }
258
  ]
259
  },
 
 
260
  }
261
 
262
  SPOTLIGHT_RENAME = {
@@ -365,6 +367,7 @@ class DCASE2023Task2Dataset(datasets.GeneratorBasedBuilder):
365
  "d3p": datasets.Value("string"),
366
  "d3v": datasets.Value("string"),
367
  "anomaly_score_dcase2023_task2_baseline_ae": datasets.Value("float32"),
 
368
  "prediction_dcase2023_task2_baseline_ae": datasets.Value("int64"),
369
  "prediction_correct_dcase2023_task2_baseline_ae": datasets.Value("int64"),
370
  }
 
257
  }
258
  ]
259
  },
260
+ "simple": {"orientation":"vertical","children":[{"kind":"split","weight":60.575296108291035,"orientation":"horizontal","children":[{"kind":"tab","weight":31.52260461369049,"children":[{"kind":"widget","name":"Table","type":"table","config":{"tableView":"filtered","visibleColumns":["class","d1p","d1v","d2p","d2v","d3p","d3v","label","section","domain"],"sorting":null,"orderByRelevance":false}}]},{"kind":"tab","weight":33.869200490640154,"children":[{"kind":"widget","name":"Similarity map with baseline anomaly score","type":"similaritymap","config":{"placeBy":null,"reductionMethod":null,"colorBy":"anomaly_score_dcase2023_task2_baseline_ae","sizeBy":"label","filter":false,"umapNNeighbors":20,"umapMetric":null,"umapMinDist":0.15,"pcaNormalization":null,"umapMenuLocalGlobalBalance":null,"umapMenuIsAdvanced":false}}]},{"kind":"tab","weight":34.60819489566936,"children":[{"kind":"widget","name":"Similarity map with classes","type":"similaritymap","config":{"placeBy":null,"reductionMethod":null,"colorBy":"class","sizeBy":null,"filter":false,"umapNNeighbors":20,"umapMetric":null,"umapMinDist":0.15,"pcaNormalization":null,"umapMenuLocalGlobalBalance":null,"umapMenuIsAdvanced":false}},{"kind":"widget","name":"Scatter Plot","type":"scatterplot","config":{"xAxisColumn":null,"yAxisColumn":null,"colorBy":null,"sizeBy":null,"filter":false}},{"kind":"widget","name":"Histogram","type":"histogram","config":{"columnKey":"domain","stackByColumnKey":"prediction_correct_dcase2023_task2_baseline_ae","filter":false}}]}]},{"kind":"tab","weight":39.424703891708965,"children":[{"kind":"widget","name":"Inspector","type":"inspector","config":{"views":[{"view":"AudioView","columns":["path"],"name":"view","key":"dea9a175-9582-412e-9f49-be729e8838fb"},{"view":"SpectrogramView","columns":["path"],"name":"view","key":"676bd937-226b-4632-ae2d-ec8bc37bcc5d"},{"view":"ScalarView","columns":["label"],"name":"view","key":"dbfcc0b1-9e96-4d31-8856-f0bd7f0b8144"},{"view":"ScalarView","columns":["domain"],"name":"view","key":"3e79654f-e017-402c-b136-6a13c4409ae4"}],"visibleColumns":4}}]}]},
261
+ "extended": {"orientation":"vertical","children":[{"kind":"split","weight":54.145516074450086,"orientation":"horizontal","children":[{"kind":"tab","weight":31.52260461369049,"children":[{"kind":"widget","name":"Table","type":"table","config":{"tableView":"filtered","visibleColumns":["class","d1p","d1v","d2p","d2v","d3p","d3v","label","section","domain"],"sorting":null,"orderByRelevance":false}}]},{"kind":"tab","weight":33.869200490640154,"children":[{"kind":"widget","name":"Similarity map with baseline anomaly score","type":"similaritymap","config":{"placeBy":null,"reductionMethod":null,"colorBy":"anomaly_score_dcase2023_task2_baseline_ae","sizeBy":"label","filter":false,"umapNNeighbors":20,"umapMetric":null,"umapMinDist":0.15,"pcaNormalization":null,"umapMenuLocalGlobalBalance":null,"umapMenuIsAdvanced":false}}]},{"kind":"tab","weight":34.60819489566936,"children":[{"kind":"widget","name":"Similarity map with classes","type":"similaritymap","config":{"placeBy":null,"reductionMethod":null,"colorBy":"domain","sizeBy":null,"filter":false,"umapNNeighbors":20,"umapMetric":null,"umapMinDist":0.15,"pcaNormalization":null,"umapMenuLocalGlobalBalance":null,"umapMenuIsAdvanced":false}},{"kind":"widget","name":"Scatter Plot","type":"scatterplot","config":{"xAxisColumn":null,"yAxisColumn":null,"colorBy":null,"sizeBy":null,"filter":false}}]}]},{"kind":"split","weight":45.854483925549914,"orientation":"horizontal","children":[{"kind":"tab","weight":62.314308053166535,"children":[{"kind":"widget","name":"Inspector","type":"inspector","config":{"views":[{"view":"AudioView","columns":["path"],"name":"view","key":"dea9a175-9582-412e-9f49-be729e8838fb"},{"view":"SpectrogramView","columns":["path"],"name":"view","key":"676bd937-226b-4632-ae2d-ec8bc37bcc5d"},{"view":"ScalarView","columns":["label"],"name":"view","key":"dbfcc0b1-9e96-4d31-8856-f0bd7f0b8144"},{"view":"ScalarView","columns":["domain"],"name":"view","key":"3e79654f-e017-402c-b136-6a13c4409ae4"}],"visibleColumns":4}}]},{"kind":"tab","weight":37.685691946833465,"children":[{"kind":"widget","name":"Histogram","type":"histogram","config":{"columnKey":"anomaly_score_dcase2023_task2_baseline_ae","stackByColumnKey":"prediction_correct_dcase2023_task2_baseline_ae","filter":false}},{"kind":"widget","name":"Scatter Plot (2)","type":"scatterplot","config":{"xAxisColumn":"anomaly_score_dcase2023_task2_baseline_ae","yAxisColumn":"anomaly_score_lof","colorBy":"label"}}]}]}]},
262
  }
263
 
264
  SPOTLIGHT_RENAME = {
 
367
  "d3p": datasets.Value("string"),
368
  "d3v": datasets.Value("string"),
369
  "anomaly_score_dcase2023_task2_baseline_ae": datasets.Value("float32"),
370
+ "anomaly_score_embedding_lof": datasets.Value("float32"),
371
  "prediction_dcase2023_task2_baseline_ae": datasets.Value("int64"),
372
  "prediction_correct_dcase2023_task2_baseline_ae": datasets.Value("int64"),
373
  }