Update README.md
Browse files95 unmodified lines969798991001011024 unmodified lines10710810911011111211342 unmodified lines15615715815916016115 unmodified lines17717817918018118218395 unmodified linesdf = dataset.to_pandas()simple_layout = datasets.load_dataset_builder("renumics/dcase23-task2-enriched", "dev").config.get_layout(config="simple")spotlight.show(df, dtype={'path': spotlight.Audio, "embeddings_ast-finetuned-audioset-10-10-0.4593": spotlight.Embedding}, layout=simple_layout)```You can use the UI to interactively configure the view on the data. Depending on the concrete taks (e.g. model comparison, debugging, outlier detection) you might want to leverage different enrichments and metadata.4 unmodified linesfrom renumics import spotlightextended_layout = datasets.load_dataset_builder("renumics/dcase23-task2-enriched", "dev").config.get_layout(config="extended")spotlight.show(df, dtype={'path': spotlight.Audio, "embeddings_ast-finetuned-audioset-10-10-0.4593": spotlight.Embedding}, layout=extended_layout)```42 unmodified lines'ast-finetuned-audioset-10-10-0.4593-embeddings': [0.8152204155921936,1.5862374305725098, ...,1.7154160737991333]'anomaly_score_dcase2023_task2_baseline_ae': 8.284389'prediction_dcase2023_task2_baseline_ae': 0'prediction_correct_dcase2023_task2_baseline_ae': 115 unmodified lines- `domain`: an integer whose value may be either _0_, indicating that the audio sample is from the _source_ domain, _1_, indicating that the audio sample is from the _target_.- `class`: an integer as class label.- `label`: an integer whose value may be either _0_, indicating that the audio sample is _normal_, _1_, indicating that the audio sample contains an _anomaly_.- `ast-finetuned-audioset-10-10-0.4593-embeddings`: an `datasets.Sequence(Value("float32"))` representing audio embeddings that are generated with an [Audio Spectrogram Transformer](https://huggingface.co/docs/transformers/model_doc/audio-spectrogram-transformer#transformers.ASTFeatureExtractor).- `anomaly_score_dcase2023_task2_baseline_ae`: a float representation of the anomaly score according to the baseline implementation- `prediction_dcase2023_task2_baseline_ae`: an integer whose value may be either _0_, indicating that the audio sample is considered _normal_ by the baseline algorithm, _1_, indicating that the audio sample contains an _anomaly_.- `prediction_correct_dcase2023_task2_baseline_ae`: an integer whose value may be either _0_, indicating that the baseline prediction is wrong or _1_, indicating that prediction is correct.95 unmodified lines969798991001011024 unmodified lines10710810911011111211342 unmodified lines15615715815916016116216316415 unmodified lines18018118218318418518618795 unmodified linesdf = dataset.to_pandas()simple_layout = datasets.load_dataset_builder("renumics/dcase23-task2-enriched", "dev").config.get_layout(config="simple")spotlight.show(df, dtype={'path': spotlight.Audio, "embeddings_ast-finetuned-audioset-10-10-0.4593": spotlight.Embedding, "embeddings_dcase2023_task2_baseline_ae": spotlight.Embedding}, layout=simple_layout)```You can use the UI to interactively configure the view on the data. Depending on the concrete taks (e.g. model comparison, debugging, outlier detection) you might want to leverage different enrichments and metadata.4 unmodified linesfrom renumics import spotlightextended_layout = datasets.load_dataset_builder("renumics/dcase23-task2-enriched", "dev").config.get_layout(config="extended")spotlight.show(df, dtype={'path': spotlight.Audio, "embeddings_ast-finetuned-audioset-10-10-0.4593": spotlight.Embedding, "embeddings_dcase2023_task2_baseline_ae": spotlight.Embedding}, layout=extended_layout)```42 unmodified lines'ast-finetuned-audioset-10-10-0.4593-embeddings': [0.8152204155921936,1.5862374305725098, ...,1.7154160737991333]'embeddings_dcase2023_task2_baseline_ae': [12.602639198303223,16.997364044189453, ...,-0.20931333303451538]'anomaly_score_dcase2023_task2_baseline_ae': 8.284389'prediction_dcase2023_task2_baseline_ae': 0'prediction_correct_dcase2023_task2_baseline_ae': 115 unmodified lines- `domain`: an integer whose value may be either _0_, indicating that the audio sample is from the _source_ domain, _1_, indicating that the audio sample is from the _target_.- `class`: an integer as class label.- `label`: an integer whose value may be either _0_, indicating that the audio sample is _normal_, _1_, indicating that the audio sample contains an _anomaly_.- `embeddings_ast-finetuned-audioset-10-10-0.4593`: an `datasets.Sequence(Value("float32"))` representing audio embeddings that are generated with an [Audio Spectrogram Transformer](https://huggingface.co/docs/transformers/model_doc/audio-spectrogram-transformer#transformers.ASTFeatureExtractor).- `embeddings_dcase2023_task2_baseline_ae`: an `datasets.Sequence(Value("float32"))` representing audio embeddings that are generated with the [**DCASE 2023 Challenge Task 2 Baseline Auto Encoder**](https://github.com/nttcslab/dcase2023_task2_baseline_ae). Dimensionality Reduction with PCA is applied separately for each class with a fit on the respecting training set of samples.- `anomaly_score_dcase2023_task2_baseline_ae`: a float representation of the anomaly score according to the baseline implementation- `prediction_dcase2023_task2_baseline_ae`: an integer whose value may be either _0_, indicating that the audio sample is considered _normal_ by the baseline algorithm, _1_, indicating that the audio sample contains an _anomaly_.- `prediction_correct_dcase2023_task2_baseline_ae`: an integer whose value may be either _0_, indicating that the baseline prediction is wrong or _1_, indicating that prediction is correct.
README.md+7-3