truelearn.preprocessing.get_values_mean#

truelearn.preprocessing.get_values_mean(cosines: Iterable[float]) float[source]#

Calculate the mean of an iterable of values.

Parameters:

cosines – An iterable of float values.

Returns:

The mean of the values in the iterable.