frlearn.location_measures.midrange

frlearn.location_measures.midrange(X)[source]

Mean of the minimum and maximum. Midpoint of the range.

Parameters
Xnp.array

Dataset. Should be a two-dimensional array.

Returns
a: np.array

One-dimensional array that contains the midrange for each feature.