From cf06c0f4d82bf98fd7bf86aeae530b6693fc52e3 Mon Sep 17 00:00:00 2001 From: Dev Singh Date: Fri, 6 Mar 2020 12:15:35 -0600 Subject: [PATCH] working --- .../__pycache__/analysis.cpython-37.pyc | Bin 26518 -> 26671 bytes data analysis/analysis/analysis.py | 6 +++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/data analysis/analysis/__pycache__/analysis.cpython-37.pyc b/data analysis/analysis/__pycache__/analysis.cpython-37.pyc index b8a24f345588117a9d897fd66448d699ad51e5ab..44a770c4e2ed53dfa188d7f095457777925f4a6f 100644 GIT binary patch delta 5076 zcmbtY3wV>&8U9bwq-mO@0a|*2Vx`;y2vvFm29yE?1k%zLu%#uYO(J0(=ZHVHw)Y}~1rkzeUrwpgtyaGCPnWCa|^D^1IZ_~N+p1(JG@j=%huhEz>}eMmU`>BHyHFa1u|;fwGARzME1C5G`Dme(sgC93@Xlio@I7r zPMFBpR9Zf9E1ONnCf?5qx=>~W>Fd&%CVnqKDthkr81-Kv7+4j zb^O#YDYFeo+01jPcu!4q{1vL6sk$=@QFdl$G4#a+lekDI zJMvcCd$hd~ksASZfK44`DHO?$VQZzHd#N9Sa)^XT4x3N)qM9C8bJJy_0y}8i+?)wliY|T?;A+4% z0EF{BfE|E#S!t^<9du^yVYY*A{7%4FjIP~eo0nqW5A!-e2Y@JdUT)kPn8-bys7*9- zo3OHI-@MzCWi*H#CVmluz7O~Tt(-sce2o-sJEu#(j9OX@;*T_R~GGU%7UQ2gdIlnPQY;KN~UpzW>!Lu!aI5dyi_>7PXND5jIOk< z3N@;}K$G9+ZX7(fb;!Bz#k4;I-1oHtY|(gsAA1GuTXa{OmI^V<5yQa~HP!e6ZtnZ8 zw~ujfrKHsOLh%ALg&G@ugN53L7y5H(>`|NiHTkkc<7#?lsG*M+-#kccFO3q72{dv4 zFhVVhn*7a;@&@ybl=g^J_=7U9iNGOVgk&lxvakkPRWv>O4iV$zKNTnviUz+&K)KUl z=xgz=vt4v|QHuR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 zd1rktqfrYpEs0d0H&*2q?-Ac&%G*$HJuc?$s2ozk^8_SRmrwj##%1m)JV@0WOLD3)om9L{Libuv*Tw^^M&9~!g={w^ zj4qEiAWoNzvKZ@R6ogOcT`_mF^vsvSy7%dH8de_z{sH&|P))aQnrApEh9A%yn+}Zc zC&*7>`Xd4286j__({!8rtYImBCaf5}44^Iz8vKpMab90PkZuEBQ(FIi~&sz{X3MB0L=N@>naE zJMLXf$jvDC-Ukrn=GcT0%FacdZd_L6G=!Rikyc&+ z@3Pe^Fq$bKVRDDuf!3%$D*r!(H_$tcPZ->Ko!&r)e3R&LpNU@a*~ORh-@Y0D0m^3j A$N&HU diff --git a/data analysis/analysis/analysis.py b/data analysis/analysis/analysis.py index 3521862e..ec7d9419 100644 --- a/data analysis/analysis/analysis.py +++ b/data analysis/analysis/analysis.py @@ -7,10 +7,12 @@ # current benchmark of optimization: 1.33 times faster # setup: -__version__ = "1.1.13.002" +__version__ = "1.1.13.003" # changelog should be viewed using print(analysis.__changelog__) __changelog__ = """changelog: + 1.1.13.003: + - filtered nans from regression 1.1.13.002: - removed torch requirement, and moved Regression back to regression.py 1.1.13.001: @@ -346,6 +348,8 @@ def histo_analysis(hist_data): def regression(inputs, outputs, args): # inputs, outputs expects N-D array + inputs = inputs[~numpy.isnan(x)] + outputs = outputs[~numpy.isnan(x)] regressions = [] if 'lin' in args: # formula: ax + b