mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-26 01:29:10 +00:00
working
This commit is contained in:
parent
82567a5f69
commit
cf06c0f4d8
Binary file not shown.
@ -7,10 +7,12 @@
|
|||||||
# current benchmark of optimization: 1.33 times faster
|
# current benchmark of optimization: 1.33 times faster
|
||||||
# setup:
|
# setup:
|
||||||
|
|
||||||
__version__ = "1.1.13.002"
|
__version__ = "1.1.13.003"
|
||||||
|
|
||||||
# changelog should be viewed using print(analysis.__changelog__)
|
# changelog should be viewed using print(analysis.__changelog__)
|
||||||
__changelog__ = """changelog:
|
__changelog__ = """changelog:
|
||||||
|
1.1.13.003:
|
||||||
|
- filtered nans from regression
|
||||||
1.1.13.002:
|
1.1.13.002:
|
||||||
- removed torch requirement, and moved Regression back to regression.py
|
- removed torch requirement, and moved Regression back to regression.py
|
||||||
1.1.13.001:
|
1.1.13.001:
|
||||||
@ -346,6 +348,8 @@ def histo_analysis(hist_data):
|
|||||||
|
|
||||||
def regression(inputs, outputs, args): # inputs, outputs expects N-D array
|
def regression(inputs, outputs, args): # inputs, outputs expects N-D array
|
||||||
|
|
||||||
|
inputs = inputs[~numpy.isnan(x)]
|
||||||
|
outputs = outputs[~numpy.isnan(x)]
|
||||||
regressions = []
|
regressions = []
|
||||||
|
|
||||||
if 'lin' in args: # formula: ax + b
|
if 'lin' in args: # formula: ax + b
|
||||||
|
Loading…
Reference in New Issue
Block a user