bsfit.nodes.models.utils.get_combination_set

bsfit.nodes.models.utils.get_combination_set(database: numpy.ndarray)[source]

get the set of row combinations

Parameters

database (np.ndarray) – an N-D array

Returns

combs is the set of combinations, b are the row indices for each combination in database, c are the rows indices for each combination in combs.

Return type

(np.ndarray, np.ndarray, np.ndarray)