mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-10 06:54:44 +00:00
more working
This commit is contained in:
parent
43f503a38d
commit
ad0a761d53
@ -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