er_evaluation.utils#

Utility Functions

Functions#

expand_grid(**kwargs)

Create DataFrame from all combination of elements.

load_module_parquet(module, filename)

Load parquet file from a submodule using pyarrow engine.

load_module_tsv(module, filename[, dtype])

Load tsv file from a submodule.

relevant_prediction_subset(prediction, sample)

Return predicted clusters which intersect sampled clusters.

sample_clusters(membership[, weights, ...])

Sample clusters from a membership vector.