Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9dab2e8

Browse files
committed
Merge pull request aimacode#79 from reachtarunhere/stdev
removed redundant function definition for standard dev
2 parents a0d0905 + ca4d10c commit 9dab2e8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

utils.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -213,11 +213,6 @@ def histogram(values, mode=0, bin_function=None):
213213
from math import log2
214214
from statistics import mode, median, mean, stdev
215215

216-
def stddev(values, meanval=None):
217-
"""The standard deviation of a set of values.
218-
Pass in the mean if you already know it. """
219-
return stdev(values, mu=meanval)
220-
221216
def dotproduct(X, Y):
222217
"""Return the sum of the element-wise product of vectors x and y.
223218
>>> dotproduct([1, 2, 3], [1000, 100, 10])

0 commit comments

Comments
 (0)