pasteur.mare.reduce

pasteur.mare.reduce#

Description

This module contains heuristics for simplifying the chain combinations of a dataset.

Functions

calc_model_num(combos)

calc_rows_cols(combo, chains, rows, meta)

estimate_columns_for_chain(ver, meta)

Estimates the number of columns for the provided chain based on metadata.

get_combos(vers[, tables])

get_parents(ver)

merge_versions(vers)

merge_versions_heuristic(vers, max_vers, ...)

tuple_unique(a, b)

Classes

MergeFn(*args, **kwargs)

Pair(name, a, b, score)

PreprocFn(*args, **kwargs)

ScoreFn(*args, **kwargs)