Result fields¶
This page lists every field of Result and of the objects it holds, with the type, the meaning and the page that explains the value. It teaches nothing. Start from Metrics to learn how to read a number.
Shapes use these symbols: n_kept for the rows that were finite and used, G for the number of groups in the emitted partition, W for the number of refits, and d for the number of columns. Group ids of the emitted partition run from 0, and -1 marks noise.
Result¶
recover returns one Result. Its fields cannot be reassigned, but the arrays it holds can still be changed in place.
Field |
Type |
Meaning |
Explained on |
|---|---|---|---|
|
|
The emitted partition: one full-data fit of |
|
|
|
HDBSCAN within-fit strengths of that fit. They are not probabilities. |
|
|
|
One full-data fit of the library defaults, kept as the external comparator. |
|
|
|
Indices into the input of the rows that were finite and used. |
|
|
|
The setting the search selected, validated on resample rows. |
|
|
|
The setting that produced |
|
|
|
The library defaults, |
|
|
|
Trial table, candidates, fresh scores and the comparison with the defaults. |
see below |
|
|
Recurrence evidence over the refits. |
see below |
|
|
The co-association check on the emitted partition. |
see below |
|
|
The calibration test. Before it runs, |
see below |
|
|
CPU against cuML agreement. |
see below |
|
|
The raised flags, in vocabulary order. |
|
|
|
Engines, versions, configuration, seeds, budgets, fit counts, time per stage, peak memory and the input fingerprint. |
see below |
Three properties read from the parts: n_groups (number of groups in labels), support (the worlds.support matrix) and unresolved_mass (worlds.unresolved_mass).
SearchResult (result.search)¶
Field |
Type |
Meaning |
Explained on |
|---|---|---|---|
|
|
The chosen setting (equal to |
|
|
|
Every trial, in trial order. |
|
|
|
The re-scored configurations, best fresh gap first. Empty in exploration-only mode. |
|
|
|
Fresh scores of the selected setting and the defaults. |
|
|
|
Fresh scores minus the mean score on the fresh copies. Equal to the scores when no copy was scored. |
|
|
|
Selected minus default fresh pair score, one per ordered pair of resamples (6 at |
|
|
|
|
|
|
|
Whether trial 0 won. |
|
|
|
Largest score among trials 0 to |
|
|
|
|
|
|
|
Counts of complete trials, pruned trials, and pruned trials finished at the end. |
|
|
|
Fits and wall time of the search. |
|
|
|
The resample indices and seeds of the main plan. |
Each TrialRecord holds number, params, state ("complete", "pruned" or "failed"), score (the search gap the sampler maximises, which is raw_score minus null_score, or raw_score alone when no copy was scored; raw_score is the score on your table and null_score the score on the structureless copy), partial_score, stability (the prediction agreement), coverage, modularity, fit_counts (groups per fit), fit_noise (noise share per fit), seconds, error and phase ("default", "exploration", "convergence" or "completion"). See Score, Prediction agreement, Coverage and Modularity.
Each Candidate holds params, trial_number, score (search score), fresh_score, fresh_pair_scores, fit_counts, null_scores and gap.
WorldEvidence (result.worlds)¶
Field |
Type |
Meaning |
Explained on |
|---|---|---|---|
|
|
Per refit: -2 not sampled, -1 noise, otherwise the refit’s cluster id. |
|
|
|
Refits that sampled each row. |
|
|
|
Recurrence support of each row for each group. NaN where no refit sampled the row. |
|
|
|
Mass a row put on noise. |
|
|
|
|
|
|
|
Mean of |
|
|
|
Mean over refits of the best Jaccard match of each group. |
|
|
|
5th and 95th percentiles of the per-refit Jaccard match. |
|
|
|
Number of clusters in each refit. |
|
|
|
Floor of the 5th and ceiling of the 95th percentile of |
|
|
|
Number of groups in |
|
|
|
Median over refits of the per-column median of the matched refit cluster, in original units. |
|
|
|
5th and 95th percentiles of the same per-refit medians. |
|
|
|
Whether refits carried measurement draws. |
|
|
|
Per refit, the refit agreement: adjusted Rand index (floored at 0) times joint coverage against the emitted partition. |
|
|
|
UMAP seed of each refit. |
|
|
|
Exception text of each refit whose fit raised, empty string otherwise. |
|
|
|
Refit fits attempted and wall time. |
ConsensusCheck (result.consensus)¶
Field |
Type |
Meaning |
Explained on |
|---|---|---|---|
|
|
Consensus partition over |
|
|
|
Sorted row indices the check used. |
|
|
|
The consensus agreement: adjusted Rand index (floored at 0) times joint coverage between |
|
|
|
Whether the byte budget forced a seeded subset. |
|
|
|
Rows used and |
|
|
|
Mean co-association of pairs in the same group and in different groups. |
|
|
|
|
NullEvidence (result.null)¶
Field |
Type |
Meaning |
Explained on |
|---|---|---|---|
|
|
Families run, in order. |
|
|
|
|
|
|
|
The statistic on your table. For |
|
|
|
The statistic on each copy, per family. |
|
|
|
Copies drawn, and copies at or above |
|
|
|
|
|
|
|
Nominal 95 percent Clopper-Pearson interval on the exceedance share. It describes Monte Carlo precision only. |
|
|
|
The largest |
|
|
|
The declared level. |
|
|
|
|
|
|
|
Whether the stopping rule ended a family before |
|
|
|
|
|
|
|
Fits and wall time of the stage. |
BackendAgreement (result.backends)¶
Field |
Type |
Meaning |
Explained on |
|---|---|---|---|
|
|
The backend agreement, per seed and mean: adjusted Rand index times joint coverage between the CPU and cuML fits. |
|
|
|
The two factors of |
|
|
|
Share of rows each backend put in a group, per seed. |
|
|
|
|
|
|
|
Group count per seed on each backend. |
provenance keys¶
result.provenance is a dictionary with these keys. In memory, peak_rss_mb is NaN when the platform does not report it. save writes a non-finite float as JSON null.
Key |
Holds |
|---|---|
|
Versions and operating system. |
|
Installed versions of |
|
The engine you asked for and the one used. |
|
Worker processes used and whether cuML forced 1. |
|
The base seed. |
|
The full |
|
Rows given, rows kept and columns. |
|
SHA-256 of the kept matrix as C-ordered float64 bytes plus its shape. |
|
The measurement model of the refits. |
|
Wall time per stage ( |
|
Peak resident memory of the process in MB, NaN where unknown (saved as |
Reproduce a run shows how to use these keys.