psykoda.io.reporting package¶
Submodules¶
psykoda.io.reporting.plot module¶
Plot detection result
- psykoda.io.reporting.plot.plot_detection(X, idx_anomaly, name_anomaly, X_labeled=None, name_labeled=None, path_saved: Optional[str] = None, no_plot: bool = False)[source]¶
2-D scatter plot of feature representations
Todo
type annotation (with change of API)
- Parameters
X – embeddings of samples :shape: (n_samples, n_features)
idx_anomaly – index of anomaly samples
name_anomaly – name of anomaly samples
X_labeled – embeddings of labeled samples :shape: (n_labeled, n_features)
name_labeled – name of labeled samples
path_saved – path to save figure to
no_plot –
Todo
replace with plot=True to make API simpler
Module contents¶
reporting