mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-13 22:56:18 +00:00
Merge pull request #12 from titanscout2022/master-staged
analysis.py v 1.2.1.002
This commit is contained in:
commit
3451bac6f5
@ -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