mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-26 01:29:10 +00:00
more working
This commit is contained in:
parent
cf06c0f4d8
commit
b3dba9cc22
@ -348,8 +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)]
|
inputs = inputs[~np.isnan(x)]
|
||||||
outputs = outputs[~numpy.isnan(x)]
|
outputs = outputs[~np.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