← Python API
vraven · class

VRavenDatasetReport

VRavenDatasetReport(reports: 'tuple[VRavenReport, ...]', sample_ids: 'tuple[str, ...]', labels: 'tuple[Any | None, ...]', fingerprint_dimensions: 'int' = 128, metadata: 'dict[str, Any]' = <factory>) -> None

A collection of per-sample traces and their fixed-width fingerprints.

Usage

from vraven import VRavenDatasetReport

value = VRavenDatasetReport(...)

Methods

from_dict(payload: 'dict[str, Any]') -> "'VRavenDatasetReport'"

Public method.

load(path: 'str | Path') -> "'VRavenDatasetReport'"

Public method.

outlier_scores(self, neighbours: 'int' = 5) -> 'np.ndarray'

Return ``1 - mean nearest cosine similarity`` for each sample.

reasoning_landscape(self, *, colour_by: 'str' = 'prediction', method: 'str' = 'pca', highlight_index: 'int | None' = None, random_seed: 'int' = 17, perplexity: 'float' = 30.0, mode: 'RenderMode' = 'publication_light', show_title: 'bool | None' = None)

Public method.

reasoning_outliers(self, *, neighbours: 'int' = 5, mode: 'RenderMode' = 'publication_light', show_title: 'bool | None' = None)

Public method.

reasoning_similarity(self, *, mode: 'RenderMode' = 'publication_light', show_title: 'bool | None' = None)

Public method.

save(self, path: 'str | Path') -> 'Path'

Public method.

similarity_matrix(self) -> 'np.ndarray'

Public method.

summary(self) -> 'dict[str, Any]'

Public method.

to_dict(self) -> 'dict[str, Any]'

Public method.

Source of truthThis page is generated from the checked-out public symbol, signature, and docstring. Pin the package version for reproducible work.