saealib.rank_weighted_combine

saealib.rank_weighted_combine(weights=None)[source]

Return a combine function that rank-normalises then takes a weighted average.

Parameters:

weights (np.ndarray or None) – Weights for each manager. If None, uniform weights are used. Need not sum to 1; they are normalised internally.

Returns:

A function (list[np.ndarray]) -> np.ndarray suitable for CompositeSurrogateManager.

Return type:

callable