Skip to content

Loading…

geometricMean doesn't need to get so big #38

Closed
alang9 opened this Issue · 1 comment

2 participants

@alang9

Not sure if this is the intended behaviour, but:

> v = V.fromList [127.344,134.693,126.829,122.765,125.857,123.627,123.63,123.633,168.1,168.104,168.105,168.106,168.107,168.107,140.516,127.749,127.896,127.24,184.358,184.366,184.367,139.638,127.036,127.039,137.367,135.588,122.624,115.49,120.145,118.251,125.252,115.712,115.711,115.712,115.711,115.711,115.711,115.711,115.711,115.711,115.711,122.277,117.771,118.606,125.025,120.733,113.73,118.849,112.927,123.351,123.348,123.35,123.351,123.351,123.352,123.353,123.354,123.18,121.414,127.041,128.871,119.192,116.217,140.41,133.458,133.441,124.329,126.73,126.732,126.733,126.734,112.295,137.034,140.261,117.266,117.267,117.268,117.268,117.269,117.27,117.27,117.272,117.273,117.274,132.525,128.073,118.129,156.335,141.49,118.49,155.044,153.939,153.936,156.424,156.427,156.429,156.293,148.878,148.879,148.879,148.88,148.88,121.121,131.657,124.478,152.346,131.116,132.253,167.85,140.516,155.135,115.711,142.562,126.732,121.894,157.126,157.134,157.135,157.136,157.137,157.139,115.519,119.265,116.85,123.839,141.226,119.969,119.973,119.974,119.241,119.239,129.744,129.743,129.239,168.396,168.403,168.405,168.406,130.632,130.633,130.634,129.788,124.239,124.251,124.254,124.256,124.267,124.659,125.271,135.085,135.092,123.175,127.979,140.928,131.807,131.809,111.563,117.953,117.953,117.955,117.957,125.237,124.895,119.397,131.362,143.52,128.937,127.868,131.025,121.911,128.023,113.911,136.279,120.643,118.624,118.627,118.627,118.628,118.627,118.627,117.883,120.856,129.917,138.342,131.728,136.769,118.36,131.029,116.306,135.93,120.344,125.726,122.76,118.893,118.892,118.893,118.894,118.894,118.894,118.895,118.895,118.896,118.896,117.698,144.307,147.729,154.152,132.4,118.793,118.799,118.8,118.801,118.802,118.804,118.813,118.814,118.815,120.218,120.221,132.378,130.221,118.063,129.326,129.326,129.327,127.826,117.795,117.798,126.803,118.985,118.987,118.989,118.99,117.193,113.995,120.865,130.008,129.867,122.876,118.766,152.971,152.978,152.98,152.982,152.984,152.986,152.987,152.99,152.9,140.776,134.097,123.364,121.743,122.88,117.404,120.067,124.15,124.155,142.605,142.608,142.61,142.612,123.638,122.31,122.316,122.318,122.32,122.322,122.331,122.333,120.683,120.978,148.751,134.869,130.778,126.963,132.516,126.154,125.401,120.449,120.407,120.408,120.408,120.408,120.41,120.409,120.411,133.385,115.994,156.255,134.577,176.299,120.597,118.505,150.379,150.386,150.388,150.389,150.391,150.393,150.394,150.397,150.398,130.191,155.105,131.608,152.308,134.512,130.315,151.424,143.675,130.532,118.752,118.757,118.758,118.759,118.759,118.76,118.761,118.761,118.761,120.188,129.469,129.477,129.48,145.653,126.004,127.128,127.825,134.017,120.158,120.158,120.159,120.159,125.596,128.65,133.134,133.821,141.524,139.647,125.15,125.153,125.153,125.155,125.155,124.247,132.185,132.035,123.437,127.261,122.383,120.874,138.418,138.425,138.426,138.427,117.402,126.177,130.47,146.379,146.383,146.384,133.019,131.732,134.641,152.683,130.526,159.303,119.641,139.547,161.648,129.052,130.363]
> geometricMean v
Infinity
> exp . mean . map log $ v
130.01086640231853
@Shimuuar
Collaborator

Your version is correct. Thank you very much. But it wouldn't be fixed until troubles with git are resolved.

@Shimuuar Shimuuar closed this in 8d9bf87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.