DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
geometrical mean python
import numpy as np def geo_mean(iterable): a = np.array(iterable) return a.prod()**(1.0/len(a))
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#geometrical
#python
ADD COMMENT
Topic
COMMENT
Name
8+7 =
Submit