deephyper.ensemble.aggregator.utils# Functions average Compute the weighted average of an array, supporting both NumPy arrays and masked arrays.