From cffad6514e93bd8cbadf7ebf65d678d7388a2aac Mon Sep 17 00:00:00 2001 From: ltcptgeneral <35508619+ltcptgeneral@users.noreply.github.com> Date: Thu, 29 Nov 2018 09:33:18 -0600 Subject: [PATCH] update analysis.py --- .../__pycache__/analysis.cpython-37.pyc | Bin 26873 -> 26862 bytes data analysis/analysis.py | 3 +-- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/data analysis/__pycache__/analysis.cpython-37.pyc b/data analysis/__pycache__/analysis.cpython-37.pyc index f39e6ff59c0e806aab49bf9e82e2338fde0c636a..d42293128a198043eeca5ac0c34c81742a74447d 100644 GIT binary patch delta 6461 zcmb7I32+?66`kH&D@&Fw%aUzbTFbJfwRKyEFWHjs3k;TIOKsWf+3nG4@Luj2otPM7 z0l`3VbV7jQume@8R0ts`P=pj$QKXWPK!__LH58Nq193>Gq^Qb4LCF6-vUV+mo%nda zyXW`s-~avo)3g76gM9J^$=Q&T<5%F%10JQVhiX3DT`_GR)v+Y(lLdVY70*|X$cE3=a@oEVSEvD!MN*$g9e~i#@x_z zLvIoE7Bdg@JkTqHUODqZ&kMc9Yzgy?DaU9zTgtM)&=OX`{2-UIN)`lJ!IrUXkdx+7tY-DB0b~tZ!SX=XvPL!wWF2c_vq9FgW|j}K zfwizXAXl)JtYGYzLL1pCwi*VS*c!GLWHW1J>p-@Ezw22W_}eCTypkPa?QFvsp{v+N zwh1&=v(0P^$Te&$+Xiwi+s<}?Y-KyyE|BZk73@lo>)CF0705QGvOTN=EVQ#u)&(OQ zYS>=34;mX;H|qhpiG>+u`$1(hi?CjH09soZV+UCXT3g3&a18m$nD}hQ&j=My=R{km zhiQX)MB`;ZEuEnoA$3sIV`@02@nRSXx~SLCOjA!pEvL$(mdn)QDJnX1mynysM{_?R zSrczpheeI+(vs&Fv zp!h>kF#FS1X<9Ba#eNpAk=6`N<&l2g3?1Hruo7Vv!fLTOe+hX?9L|4c?HU*edU-33 zuS57+!!Bug*4L*+Oe2U3qmO9$9dT=+S~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ysis/analysis.py +++ b/data analysis/analysis.py @@ -679,8 +679,7 @@ def tanh_regression(x, y): for i in range(len(x)): z = x[i] - exec("vals.append(" + eq_str + ")") in globals(), locals() - + exec("vals.append(" + eq_str + ")") _rms = rms(vals, y) r2_d2 = r_squared(vals, y)