mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-10 06:54:44 +00:00
analysis.py v 1.2.1.002
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
a9014c5d34
commit
7e37dd72bb
@ -7,10 +7,12 @@
|
|||||||
# current benchmark of optimization: 1.33 times faster
|
# current benchmark of optimization: 1.33 times faster
|
||||||
# setup:
|
# setup:
|
||||||
|
|
||||||
__version__ = "1.2.1.001"
|
__version__ = "1.2.1.002"
|
||||||
|
|
||||||
# changelog should be viewed using print(analysis.__changelog__)
|
# changelog should be viewed using print(analysis.__changelog__)
|
||||||
__changelog__ = """changelog:
|
__changelog__ = """changelog:
|
||||||
|
1.2.1.002:
|
||||||
|
- renamed ArrayTest class to Array
|
||||||
1.2.1.001:
|
1.2.1.001:
|
||||||
- added add, mul, neg, and inv functions to ArrayTest class
|
- added add, mul, neg, and inv functions to ArrayTest class
|
||||||
- added normalize function to ArrayTest class
|
- added normalize function to ArrayTest class
|
||||||
@ -943,7 +945,7 @@ class StatisticalTest:
|
|||||||
results = scipy.stats.normaltest(a, axis = axis, nan_policy = nan_policy)
|
results = scipy.stats.normaltest(a, axis = axis, nan_policy = nan_policy)
|
||||||
return {"z-score": results[0], "p-value": results[1]}
|
return {"z-score": results[0], "p-value": results[1]}
|
||||||
|
|
||||||
class ArrayTest(): # tests on nd arrays independent of basic_stats
|
class Array(): # tests on nd arrays independent of basic_stats
|
||||||
|
|
||||||
def elementwise_mean(self, *args): # expects arrays that are size normalized
|
def elementwise_mean(self, *args): # expects arrays that are size normalized
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user