bacpipe.embedding_evaluation.visualization.dashboard
Functions
|
Create overview plots for clustering metrics. |
|
|
|
Save model specific classification results in the model specific plot path, displayed as horizontal bars. |
|
Plot the clustering metrics for a given model and label type. |
|
Create big overview visualization of all embeddings spaces. |
|
Generate figures and axes to plot points corresponding to embeddings. |
|
Visualization of task performance by model accross all classes. |
|
Create and serve the dashboard for visualization. |
Classes
|
|
|
|
|
|
|
|
|
- class bacpipe.embedding_evaluation.visualization.dashboard.DashBoard(model_names, audio_dir, main_results_dir, default_label_keys, evaluation_task, dim_reduction_model, dim_reduc_parent_dir, **kwargs)[source]
Bases:
DashBoardHelper- build_layout()[source]
Builds the layout for the dashboard with two models and a single model page. The layout consists of a single model page, a two-models comparison page, and a page showing all models. Each page contains sidebars with model-specific information and content areas for visualizations.
- bacpipe.embedding_evaluation.visualization.dashboard.visualize_using_dashboard(models, dashboard_port=5006, dashboard_address='localhost', dashboard_websocket_origin=False, **kwargs)[source]
Create and serve the dashboard for visualization. To colorcode embeddings by other labels than the default ones, create an annotations file with timestamps. An example file can be found in ‘bacpipe/tests/test_data/annotations.csv’. Multiple dashboards can be opened, the port will simply increment.
- Parameters:
models (list) – embedding models
kwargs (dict) – Dictionary with parameters for dashboard creation