bacpipe.embedding_evaluation.probing.probe
Functions
|
|
|
Perform inference using probe. |
|
|
|
|
|
Probing pipeline consisting of building the classifier, evaluating it and saving metrics and plots of performance. |
|
|
|
Classification pipeline. |
Classes
|
|
|
PurePath subclass that can make system calls. |
- bacpipe.embedding_evaluation.probing.probe.embeds_array_without_noise(embeds, ground_truth, label_column, **kwargs)[source]
- bacpipe.embedding_evaluation.probing.probe.probing_pipeline(model_name, ground_truth, embeds, paths=None, name='linear', overwrite=True, label_column='species', **kwargs)[source]
Probing pipeline consisting of building the classifier, evaluating it and saving metrics and plots of performance.
- Parameters:
paths (SimpleNamespace object) – dict with attributes corresponding to paths for loading and saving
embeds (np.array) – embeddings
name (string) – Type of Probing
dataset_csv_path (string) – name of Probing dataframe as specified in settings.yaml
overwrite (bool) – overwrite existing Probing?, defaults to False