From 83589bed4601a151b4fff4bad8f789cecd538cd8 Mon Sep 17 00:00:00 2001 From: liurui Date: Tue, 12 Nov 2024 14:17:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B9=E6=8D=AE=E6=A8=A1=E5=9E=8B=E9=A2=84?= =?UTF-8?q?=E6=B5=8B=E7=BB=93=E6=9E=9C=EF=BC=8C=E5=AF=B9=E6=AF=94=E7=9C=9F?= =?UTF-8?q?=E5=AE=9E=E5=80=BC=E5=88=86=E7=BB=84=E5=8F=96=E5=87=BA=E6=9C=80?= =?UTF-8?q?=E5=A4=A7=E6=9C=80=E5=B0=8F=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config_jingbo.py | 2 +- dataset/jbsh_yuanyou.db | Bin 73728 -> 73728 bytes debugdemo.ipynb | 33705 ++++++++++++++++++++++++++++++++- main.py | 6 +- models/nerulforcastmodels.py | 115 +- 5 files changed, 33348 insertions(+), 480 deletions(-) diff --git a/config_jingbo.py b/config_jingbo.py index 2f45bcc..d40534c 100644 --- a/config_jingbo.py +++ b/config_jingbo.py @@ -178,7 +178,7 @@ is_update_report = False # 是否上传报告 # 数据截取日期 -end_time = '2024-10-28' # 数据截取日期 +end_time = '2024-10-29' # 数据截取日期 delweekenday = True is_corr = False # 特征是否参与滞后领先提升相关系数 add_kdj = False # 是否添加kdj指标 diff --git a/dataset/jbsh_yuanyou.db b/dataset/jbsh_yuanyou.db index a6eddafcca3b9a6ae5a98b4dac8ba264a993f042..3a66f2882401368820446a1d454315fe72671975 100644 GIT binary patch literal 73728 zcmeFa2Y3|K+xH&`5K2hsy$m1-(voZ{2st!iF_i3_iFAfeq=lvd+bp1n1w;e{MFtB+ zP*IR(VFXl^q9{lc9greT1O)}#d*9zP8x}CXhwFLX|Mh>~>mo`%`P?&m&fIg(v@^52 zdS*uUxIxjgqN<|bX5Fs=zBBJ2)5fKq(=wA`~SAhP_r+kAyI*q}jyM{AAi*MIn+abw00>Nj#=&X_?1vj>d3)(W->v}+~X zX|h%8jCNY>YbVy$>KCs)aBOW&`a8ALWvfnI8x@}%Ss)5!xB9)gRFbxpSGCL3w~k$lZCXpE;By6oirnJvfk8#(rxsZ#HhotrnWXSv?|UHgq2FjVT& z(?I9W-e2tlhWD3j6N-g zUMmb5JFef9^vEd0Dyx>^SYE659WrLr_?-R|#{Fxw&~?4wUuXKa-asvec2cd@s5p73 zt-?awUSS&EW?^BkrEZMmhJ`}y7Z#!>2{UTPFr)ShGqh)zUv1N{Ahk@Gd2JgO@!B^m zLTwyoUOR_Hu50VCDU#YdOhauR7V@?Stl1ISBm3T;J#Hvr^!R=w$7K&66gKCGe!2f? zD!pjLsDXoq)5gsGi(86c5f&@npijZ5inVGL2u7g;jTkj{oSJ_1ugGgU%GJ15f8bbc zAa&$%*&_xu(lBAbs1YMZd9|X_1|_N67AtzWKiko)CjDQvdexfrC;b^Ok}oB(NlI#JS|TwyDJda=7?&EK zmXJsgYZ8}`oR~&|)TDTd(Ja1%WM2~hk(%gBpdu5f#8lF>WM4eZ7nkOX zqavwFsw$DDr^YAvc=oj9gd_@3U2#c?$sCAJj8Eb@;}etPz{0!dY`UK#0B zCcBzaQeH|T@X_fJVq6;MKSZ32{DDPkky5{XHp-ice0Vrc0yZX@PucX`C5#P%I#|XNoVG z;z$+V4f)BBQXONyt?l9Ip)(7H{f zu1T+?)VWIP5NhrC664}igR&4e8s}A&f9K^FYBWkMF09cgu~+sM=ZdH+aD~(o$y_{d zxk)K;v<)Ux&hflP6KPwCr~M4&MDx*JhI$$8GpMWa>*IMcEqGdT94D9C0CYdw~{ z1XJ@8Y|jfyTQjXo>U^}FQ_)mjs*fs2q9ygw=0tlv>NMD2(N@7baO$Kfls<13R5iUa zE{XadEh6<|N|6o?$+R2f0+SN?kdZ`t6)uOGiPlOI?Pe1xPHQ49g*pN69chCkCeW(F z-kw(pc?$1%lIR7rU8nkd1*qlz^)Q>4Soq%mM{2kl>-hS=R&=3=*rTx@$1aYY8ap)B zAA3h^iI_7nJ7V69nGur{lNpl`Q?}%+f(HY-^*`p@V?(H}-HjJBft zMYoQwLq**BxwQsvt$|x>;MN+rwFYjjfm>_f)*86A25zl^{|DAU^;(g>s(E86sak@s zSrUzVC40A3t7|t*_9ZuqOASq~dBfy{v}Orup~*FFm>ieTEHN%Lx%zdJ6Po!_nk6KK zCRe*|a(uJIq-Ke}(B!JuO^$08A6|Er8z(0<^W`O0`P#|xsZ?^a#JnZ1bi-s{YP0yf zC9innWM4C1-m5FzFgbx<9Uofq@;6M5PYg?}+;x*vnkCU%O9{QY>XJ81_W7E{ zCx!}-zF~4gQrM!ExM4E2cYNMDFMh-1II25u(TZI+IjLC^b@jZ}QuKz&i7CzE^HxjL zjg#ZTTCB(olc^(LT`h%gn9NI_w-FV(ZZh?S)Ua(V@`lL?RCnH@6}(|`Txv64sPHNU zB7NnB}AXr-ubNYl#K6{Lulwo@9a}%PMyI+=d$+T(Deqlc{gtO&~4`x=cA>7pU)U zZ^NfdRKBSFo8=}R7J*f3+AaG0qwAh1p=Vx#xv@8sdcxJzWs9l;RTSxpD&(i7l#5?9 z#0OSzz*ZGqaQI2MKYfLOf7V$sw+Z4h^$o@SomBkpbTfieN?5CbkK9S1RF9t*;Fb#- z_}nxC&3EqzxEyRbaPt+HsXsUIFeNVn@A9B#%YREf<|a~)3mZt3opY&VD*CMs8dJXY zvS8{zthSl5;YbaPQ}fAYuQ}}g^ru|JSJn_<*JCzVP_>d=Ta%PtU%~4QmG`>v>7P(#$g=P-f)Zr@MTA zUF!TSU2sB)o5}s^9Yvwv^MZytCe>2Byvc!gQ~N3XS=)p!UrL~5>-8AuPj4#NW%0%? zQ$O_rT%R({hX0yLpm?{Qii>O8@EMgXaM{nwm;I@+2Yx#2Fm>xK0WPm#f-_b33;cv3 zevx^FZ()@9x7>4!=bwAtK0YpN@L6y7l8ZW?U#fvShdba`&s*S}jspDTGv#;ACgpb5 zT&DixF1Y^dQ4>C~xdVRkxnjaF4L<8v6YTMV1NJJXeDU2jd*F+8f~nuXLvh9=8$NQK z$qal+zloWr+sqCYse4`Sw2z-upjiH?*9{%s;==av`pfezE>hpJ#b(OND>X2ooy*kE z$J*e|LjwG;n91~~w{w^>UNw_!wpC--x4kD2ulXv0eBE0vc>KHrez_SgOOCPOuS|8o zvIksn-^T)c{gS+%XfJ{v{}Tb#~ch?}h?=JQJ=@S3A7G+kc!G{$$&KNquzTd{eLL9p~b& zxlJnH>1Cserd0%ZrN3g=UK)HiHE?K1u8t1bBDF%D=S)xb8p1=EPxr+iIU zn_Z?(HNj^eCy=+FESUPt`yKG}ayC=mThj#XL&|$?ci8or-Z|~zl)FD!^0W8cG>&hh z3*Ai4VaGR_S=2(Af1VLcxwE(fR;+D-Rs0&*AyRqAvv7a<>ngr|wG+Xw8!=n4+-AkE zcPS2fTSV~m!gtwVzxf*2tO8tr#;dP#HeA+wk0#Un1FKu$qU(D4`rO@r{j%nooFnti zxw^MwqjnBEuE|pBELG3-x?tx84%elB_kanmFQ|B6ynvtW4Eoc1S?p48Pau{)Y%}$3 zRUG);iv;}VF)p}5Z9@8{CK|ge5CiH@|0vk?rDF-iuP0mJ-c-08>UHs4-24@RQream zUOO6ke*mAu30h(Sju7Q>wXvTcKa-_LPe9QFWm&!*DO&yy^F#We};a?1O@$$ z4#v^%5b^TBG(8R6l|6AApbmD*O`d`Rf*Z)Glb^T8_BX3>*|F^II zg^f$ompTyW67|a+0^GLI2G4y&m_O%?ES;#5n6q~4_ z8KcJ67UGkp2+-={fG5wo%#0pyDPOe>u8+tN9G8!H_XWzRp&$9&Q+U@74U2_7<0ANQY_OJ=fj>|6h zf%>WDq~ycTIA9>#27Ti!ux%uPrl&SCnfl32HoR8>4eUAF0b5LS!6#Z+Or5&QrWw72 ze2sqBzeLGjbF*iB%zsz`d3Sr_!v+ZD$l5k4ND2^Wf$DJ&BEC?;1t))FgVQ={iYHuV zMvuh~Q@(nXKnvFIOA9`7zXn#g*9G6U1o&_T2Yf!w1>-g=I5uRq#I`K+OWUCx@S z{Ne9ic)Hj6-YtIl8t!w`3gA0E6H5Mvyw%fl*FDH0>mRgGZt-U{uqbauRPV5#Y;b@S z;3&0~%03UnGkPp^5P$elxPJG2%G>>Fa$NuY2gK!oA4#da&eb%~NHD=7F%H8^Q&+hxz_@q*2ixm7HtUNhQ+mpJXfcim5*>1CE! zV5Q3@m^|8H>OXX_;H_U!zO^Y_zuenKyzMI**z&XhLyxo6#MUlk_B{HTf3?kXgALrT*x*MJ8uw6WmJ ze{#XT|Cr!g$8GSSPx;3yT==p-EbzT!1S;pl6E3)Bm*SVI6X0?`5;`c_$r0zb@wcGz}GAroN>&fm)n>j7UJvXsrb0hHTdMWmA}zk zdFY9j^Xe|A&YOCTbystrR5&XC+-v0>-LH9)CG!h`x`y8Cf{oOvj=o@}1)r%4aNfHb zm~p4e%;?d@fzLdufkpOOVD4W8UKcx+`}b<>`m=8+_Uv!M1NYltv*iMOca8;$dKx&v zR{pr^S9<7)mh8P;twv7CiKLOT5hs&1T=YaaB&sy+A zbwjwSYYNm=e5X_7okK6E+x(-wC;VSq0HTe5)C{L*4u*=kV4NMtlf>m28);&o| zuYcP+0Z2XJuuJ0!#c~C}yvJI4sBK>wp))*w5_nR9LjNK0hM`-(;cwWN<6ck|jPK`0 zaD{i&P;Agsamrm5;`e%d>>pB2e3^szimn<{&q*=i#v=|`a;OWA@XnyJSDA2Yl>_=? z1sGH-USF|L`4d8M?41s#KlZrt&_gXb6y@c7B6MDV-AI0LV&s2V2i_5%9_R^ws>K-W zqRf7KEU>^@<<(1)Qe6W_m|%}w3p5@R%#0o{YVdIbT&CXrT>{PDEZTwpWfRDIbml*V z?Dvraw(h7rF+sr7-vjkmW}EOH7YQ_f&y_CNtDOUeo^I)mBfXI7G@m+t=p*ie;|u}OV_P(-$qoJO{La|ns1HW^a@?lL~_KY5{6DW__(=4W* zJj{ld^11NS%}n@!9&lOYb5feW?;j?Z@~#V(ds$=ZFBMUqxkB-_=PZuPA&w1(o^c7C z-VVVt5MhnZowQWMBN4HYbpO9nv{s^i@f5oMe^*rJB3XsI7wQ$+w_yJQV`+x}Z+?QK z&3vD^2#qBqH@@b8`{Fw`EsM}cyy}2wcUj<~MvC)`+wh6KU2x;yaDRGD!7huvYk~fU z6bpPpO68sYMu2r%D_?cL4IkFV1t+dBna1F47JSMA0=;hGGbU4ZTHwG#&kokXRa9uq zg?2P~+u88G`RD9yW|VW-6|}xJRh7MRAyq+jRVZVD^%}WMecw_69^XhH|GbOC^rx#_ zWb%2zE@ymXf!ebsct@_y)H@s`5YHBOz~y^PaLI9(Y24q#fg9aiH#6E^{rk)m@*eBm~t9$2Ely2B#HS(@R!Ntj{mJ69ky~h~iVd zGZ4^K(GIEv;&%>1^D$N7Fhg@@^O(4Jaf5XhdziK)9O)}ULW^?4Q4*# zg24-LeQt4~T%Ah=j?p8Mf1C)l?=@#q6MO%c$tPX=far3yY0KM=nyBPps>?JQopRt4 zQU$ndfC)~W0Q%G4aNy^ATTG+go1mP!S%ViW=`iK1QE>Taq6vR)sSS>4;4+Q*V?a6n zS({x>OC%6i&QWadC0`d;%0iF9(~_Yv#cPxAbu-C_9ZZebZZ0aD^NYna;_BOA_8_?2 zJYBF$XR8CQ-C{ER={p6}XwlmNjTvycakUHYRnKC|9iN!s=AaFJ`@Z5A3rOkp%e)?S zVliBPT*&3P+*-&2b2D9Vt9pJ;Z^viRE&sjcd)`Fy;h&{r6gjA&@DnEl)96yh0w-me zO!-w;4gBV;3tp&iGX3d?Ev9kLO9W!~iW*ZM$xwd(7Z!Y1lmNGva=|NiSm2R?1bW@7 z-Wpi>4!FF$*I}1iX1n0QM>XZ@-9LIydOWtxoPSMze2;vS4~>#0HBJZ{JCF;!ZvD}n zHdkU)+--s5OPWl%_!NQo(Rd4d^Lfyp{+YvW)Kx8GG&W6kx$8B7c#Bv9dGF61aM7za zxbct$&e`HHjrUe5-#T7nm+v*O!KafI|7<`?@jmnrVf#0Q-eu?h3R4@>F7BEhKfe3T zX6y5It}KIIelSnzdfy~{g15x(P3T4Y(}VD@U!V7V z_vD**dGFXp{XG2G_V)KS%AHq2mG6$#*o}crLHT^H%`W%vx4`+|J4}E2GEn}0H!008 z##&5y;G_wU`b@w_Ya00GU;<5_V>w`tvnJEnvC4(NuUp{DI}{IJbl~@RyLXr0`7m1O zf**=*$G3{EY4DL*`6ON-?=}b}9yUNA_Y9%(X@M?#8+Q2=lie8e0VucK=d#P+4msfB z)gV0rPfGLEe+O<1kJ8xX*`A=$y1RgLY7c{X{b&^v|R@N!MU{%DfKR@!G3B4dO?b{?3qJjX3tl;DfxrH!fq(S}jc_*v00=@o> z&xTj7EtoR2WqWUT&__LZcIMErH|){m&Ey?^3@@<@V~}ao5(vpd{2I|xhnVX1*pepTn}!%H&Kh=<@jhZ zTwW@o{LpWpKmB77!OPvEunmsB(`3q{;~aRm!l0b{y3H=t%o)6``0Y+?{y|PS3L)>&uCaM+W+45dFKT3&)XaMOS<;v?v9`;_cgTv8f6k) zuE#hzLB&^OSnP7Ix8WVy0QaY_2aUQ_6$k$%B6z-2PuNVOc_Rn@Q)d_a`VSLa{gwsJ zAE7aggAc%sO2T26o0q!aSFHuOtGx}*$DohUm;XkG?#F3Q9vbnUn3-?Np$imBIsBIH zrgt= z-`lTzblVgT*Cc;Q6rkK)Lz(;sn)x|p;c7OWs7UGj$5#ZF96q{$b@D+OYy4HNj=^E|}@Fz@1NN zVEb|cEcLYo%7-+t;eMMbzgq6VOXR|h_D@^zwmS$^evFs$SKb}Rhwt0EI;~rH$|G(j z<**ZIqgtwqq9Y(c^jdS2mwpW{e;;LWT<(2c1CK?!Oru<90>4IGhUGvzVdN)q~5+)fTldCa}}rd-{-o0i--KJ1=? zF-1Bka#K5tX*~b8qF-%8Mm4pEmY2R4n4YlHW%@-C6aM@~3!FAdd4*LPe2ceDHfTXg zJxZ|4b7d8`{_U_E#Xi))5~BrZcwPH>HNva68aigB z_Hig_zKb$?=*{FDc4(H5ePMFhvfWMs)mbRof`4;S17CVsfVtjT(4sOXyFdMXi%BQC z1Y+rhf+_7*4!q8A8~)N34ScSW;)}%u{Hp^N`0KYeIQ1I`TtD3fA9~DW8l~trm)lPD z?ZBm}bjI8j?~Qg)=HnYdqu84Q{&`OV)irOf;(8HqvDe;e9#vH?BCu5XS_q8`B$q>VH6QA zyyGbod`8;fq;$oVWITUIbx%BS22VfIRZ;kN!Fl_$VD6xN)35HmIhxWBAN6>yv4-Ny zU9!M^R~)coK^M%JBtZEsffi%pDmZ-^Sobq$km1p&$$@IFuM=a24 zq&Vtn(1=whF0xT&noRTcpP+$8JH^F=O?Y`VnjhFpL%Oqrp+0`~@sMEdz?(@u>}V~A z&$Li^F!tFhe>Hs>K<3#L2drBe@U0)^f_KCzUzeI${!RH=P4f8s73JW>oioJ z5lu=yYJv@p8>TUhn!`f;CGlX`)u zuudO#)YcDQw76*fORuUPw`r)V^fm&;zfZE@ksoPH{lp_C)1RK>Fy)}9;IeO|fLFQ4 z0f+pfG4Vo?}cbMMC0CW+0>Clb3f9vgI z`{$E44SD7D_G>=Q>6d3L)bm{wftzHu3pUhkrhZ&)5d_sc))ynTAuSHlQ>#Yh*mY#wSeWv%xV3x1%n>noQLh|m0Lf}gi^nDil5 zpiFG6*gC=GxGdkt0_z?E^-gU~cKzk81mY@nE}*Z@*4PdGB~X9Sa@qBb&k~65{jPz( zd0BVzKFy}NP9q={DQh}}m83aJMXZR3EgMs*WZme566wV=ighnKIBIy2356dk^kn2S z1!vRs{|cJz|M#EZ=wL*?Z4>%Hj+ARpCSN$^&~no~v7L%DcUtge^ObkrX2J_RL7@3^ z_c=^|`ac%jj<&%qI8M+7W_K69$2;{Oxxs;Vic#^_Ns1NQQkcrCa=`(+8;X7JHsP_w zZKhnB=_*&x;p%hgQn=cR&`yZYF-AXfGdYK!OAh`VWgEkuq@rmVW*^tUhleX~?H!A* z^tKQm{i@CMizp5Ls<*6LCc5yB2TXAH?GD(ou?w~tu7R0vJ79$!%FDMh;cd?fu*07= zQ=Z8*;h{Uo>QF2GCFk6S^UvAa^H4j7pG%%x;-c(2Nd(HdLjmQT3Men{9fUS*wJ^QJ zD#ZQi2L!xdX%nmIcULSzf&w8aN%W(5@^0sDH>D$+Q@{L`Pl(0 ztyb=RhF;!9!vKuPg}w22*v zZ)@;s?-MxnzfAa|$pYNJkw7VQ%T|7%h4Na1G{jq-Qt_0*F8qnk4jApFUQnG(8g1IU zh&Mkkz+`oHWfb%-6<_DG>gzv34}*LUNa+zfuFk9VH~DsX!LWgWoQXG+a@Yx_F|{F;NQ=<_aT9$0P63+tI$-xs z1e)F|=y@HD-JgDmK=I|1;l}sxSnz@0y5QkP1e!kT0|$I0)dIV}Mxgj}KPit&G~pfJ zQ|#8thPVAr1G~>t9_5X?8^ zSzymh4a`-o;7|WW#phfRh#$yyz_A}|;Eq@ueC4DIPFzNyRJ&fV!FeZKFfvVm@CL*92Fbc9?!~H-Y9ql?czO6J^3()&H}S#tZhWvONei-}-Wj?lN z{t;!vKc7J0`l~6vJX?e3u+n^2yiNKHo&yR``M#S;IeZ7c>UWci%&M&xB`bD-U^iYK z?}AsBTHv{<1d1PdRb%>vX*088|8YQHOP6VUKTp8>SSDEZLAdc@2bbMAdz%d&ih#>s z4mk&jA(Rc0j=QJVT&(=qazz+1Y7aErh2$?q*UB8v`=>s#Z3JmvT|X_D==a&fAur zKd0jN9<~vGWSYbDi)PBdK1fQ7b~NCC**^+qR)v8se9#m{a{(#MH)Xp8j$IAPquw@O zsEUL5lV6+Qj4b7QHd*ZQC_1#zSJMLlCntobJoaW%4nI84?Iuv%Zy5`G z`jQDgJ46Gg*0Gp=;d9`}*Aw`4i558U9+R0>$4jkSYf_q?TVH^$%uyVgOiHO7x~MUY z0!fNb&Ntz&S`Ij)m&TOedH3MfWEHA3YrK~-kM!k^$v5TDP#5j7!w=7mU$9Z++BaRM z@nkmwvE5o5yvyro4IWeR#?NaUr%NrtH0DJsF7&qf)JZ1dJ5~{BdbOt%+ukGKW=F+t zM@@FQx2WPCY&pW{WLX?H(jHI@4Rx*cZb&VpkGMRy;9rKi?j8N_sTYWf3SDI;U-R&y z(dr?pi5B6#ZYI-sF~bI1K0_ck#w&JmTzIBBnE6FX2fk#!;=)U$G{65Y#l3q~y!H@* zc;o#RIPg;w926^<^6R<|c+O`sjlMM%D-^QH4O%eVmJ#|xUFcqG&rr_P&LwGjsff`L zvBhFamMj-tyF`QHjf*7~O^iw|l3KWBp*E2n3-%~*FU|0O>nAuqnEy8dRQJY^Q?EJK z)pxdWsd}N$@Y3wrpO;3+i1Rk$U%W2B3rQ~cRf5U%r;oFkviDpU>|7kK|56^5y=x+_ zPy15w?=6VyM@HHaT;CU42=w|tx0>MaY{Ase9f#||jT*b0{IjQ*MCnn;b zd--N;r=J}nP#F#G6Mhf-$rBCKii>v%o63#*HT_;v=hP86J9jI_&NeiudXqT;_B$3PhV^yUhfqL z9GRdvyM|&Z^)P7Wk!b&hKFO5tHIGK#AI$%A|0{Y=!BXO3V-|XBeHRt^|4h7&ILFbzsVgmJUYmb0Sg^|mzY^&6TRX$`H?}$Orl~f#Zn6vd z<_a)-h{ZI@wsV*=rmbM=y*7ffs%^r{dfV74Z;V`4nl0HAk6; zofGLFy@ncO;-?PRBr^{ai0htmnfmW)Ym_m&O~k9GA?{BfNJ{hd-{^q3PitWM?E)P7 zu*uX;x0jS%y}2Xs+7Eo{8`_Ou z)9w?4`G4+zSoUG3M>1x+#ih&KZ*1`Ok_7T&YaFmtR}J)UHo;EQG$wt)i49-1U2(|* z#V$u3#NVx@{PtWIUVXm>-ZfJLW8Q@u<*S?UHUB8aCy-M83GY};{cw9*xf-hq?Bpku zO8;y24+iu9#Q&<^JB3rOc~_IZ{#OU3KUd2Iiw>~BxtDFG{_Y+VUTnGs-+wpgPxra( zQVW=1_d^1#yUGSj4s*fCf(}#vxu*#(|6PFl8fr|VY#oy+7ghxI_qy2d1l4C`(k6>t zU!gwyCNKl{LA`IKq8(oN{V_U)$^T>jLwkD4KWrdJ)+p+rzUBQju;oq*JhV%H&5)6QB1*CDgESm3Ai zY^G7Tvs@eUq5vQHoj|Y8{Lls; z_`ziwW!sxzh4XOPy@10m7uFSE>C={S?u|Ikw|lz8|t?)Tqa z6ddp>SXNq9?7qY>X%L!ETgnf#G&Rg)l)f{lbkAmq>pJT$mEMhT@I`K9C)E*=bW&>A={PbG$*CkRqSek#oKC3+3T&qPiQe`d?d{+GsQu+Jvvue~Fx1q! z!TNnwO|?rS32;u<>B%zZv{NFOvT?;echk_F3m>s*JxpagI8Hh zxpEw6#HR@OA#VromT}?lyrF>)Hg=ds)vhl5yUjMZrn?1BeoMJ{#Z~T&;FZBwxrF+7 z*bw#D;D7k||BCA4FDUo06B@(t>fTTsbs0q-6I_>(nn|Es+%FWDw^Q6V-QhUB^Fc6; z+Zqsvlcrlt`PB*ye%B%wta1!4{}^nu%OzbMaMFH_X;l5g1PgYyn4zbTWzQFt&zol> z-qXAK_t6_ZHuMSQj_zKPW+)Z$X+&%^z5ic}jw{i;c*kOT(E(9oi%cy1XrbAWuN7QT z;C-6mfAr*z_loWji!)V2mO-=ZuiURCEN^xvc8y-|U zEq{7_QhMF_gDSqKoeOVultA%4MFsf4s}}flVG~S96<|=en6g7X4gN+m0=>?ViuaEZ z?13Csir=pe$(g@kAU4!`>I%DNzDb9!uqo-VE~|IkZKF_eQWd@-OTe@DX<(p=17@ss z!HxmJ^rzP%(8BCksDYo(vB6GR%Ganpt$xQo6Yp7S$Y@333> z$gLuR%MX2$KqYk!p83_omk-w7MQ_&Oe8&fCbhLM^kr&H z{XlaYd_kR!>(4$b;2%V2On-W&%amyc;j+k3i(P*q-eJlHS8Vv}-s@L+>*Yta|JOG( z(lFmpZ@sO%C@}w~=7{S@R*_P9%^y{MziH%fYUtE!zHvz3)lgLs zY-OUNW4X$|;4Pjip3q)^Q@&Enjj`DM>2;K!_ZIl1_qyq0Y@V*~d7D5Sai`)7OKkYl zkD8$OZbzB>GbzpY)HT3XcwVTN|eCTMIbWrZpA{tXx zt3sgqk9=x@TLwDdTO$RyVJO_6-q~fBb)OJmp)PQJ=hr5@cCy9P`wz6i@n0yuf6j%! z@)=w{F~foHtq#`@WmxbJj=JEW8V=asyS%Cu`f@35-_gOU*X2uN&E8LFw4K^FZ0JZ< zX{yS*GE;E5^0C*HZ{B3G>p!Pi;ORGPrYu+l^rt^$!lw*#!1|pmrhc}HfIohx319QP zM(jdka2st7$Q+;I+)Em~&|<~9$u7KBEP)Doy@jP*yt8OSDrlKX#DKcLtIe)IQc(k6JK}$CrW7W@vp+=D{Ec&tk)gzVW0BY>7-On#o~gghlY)K zs^G!T#YYsch(zDKJDEP_MCU~HS^4>!fJ5*HhAzrI@c*~BU1@WhQ zyYr(p9d>>7VG|r%jX?hK84GMsTLb&QVS;V$SMEP*vCB7KA<+CiUsaT=HMnui1gFij zL7ZJS5Shp6&dNKDy@Ao;!AduiZ}?%#I3`fu=m!W?@8cI8u)+oxtkF<;Rww1Po&f#n zrBr-zQ7wXBx2mWB`$xLqgI7#2sh9>f{Z)BGuLG5N3obW&r=}+_a3i>!ge1iE+;1It z=W-TUMs3ZR8*ueVdoR9x7#pmZZ@v}1&y%99Ic#u9f9pLH<*lA&gL~sGaK*z8IB<#$ z&U(lNA3q28r`I*%r|VeYm4`L(@!86^);HmAZy-<}Mv4ZG+AF|Lf7(p>NlWE>m&5e| zx2bsH@n!_SF48B!mGqlDP?#Qe`0#$5L56yFa73^|zG;`wJ31$Xjf&_ee?oEkf(05E ztDk<;Van*IO!(|AHu&6q1e*T-6BaXc3MLDjL|it`797{#eZ~S$d}4y18yfg}Qvq7@ zTyW@J7E^xlvklh1>@f8?16_E>=>*>>7X%XwJR?C!eoo-Pai9oa@1f4e0aSL z7Mh|s_<+ll$M!XsKZOns|s!CTKT;Y-wWYJoAK zyE@#yxxq5|=6m&2>%w!^39!`!hpDff?1DePqUhcD z56rB0GI#gip-vrkMv@aOop0`;k3FRgI_$tK`){|n4w?3(0M8FrKC2cf#aq7Pf|)fH zr}eSe{pqWepQ!|w>z8UAmoh_um)^6$a+?Vh&n&3?xiW&?DAEIzmuETba#IWCBeO`! z2Tf6I)Id>vY>x=2x296x_D)7h(&SPREhA#1==#4Vz5l;yabK~7qVZ92MVc0FQYbDm zv7oO&3eE7ZKXgSFm+u-2ox`PFGd37_x(Svju*T8o524p6?}8DP3AD?Z@Sx(mB~AGH zc`no6@_V@6u$#sn_)>Sk`RiQp(f}LmzSRVuETOn;uM2h6KrB`o-k8XB0h(qZ~r9*66PZ6xd{cWHe5{G$>eo#8{7Dwm-|}Yy&7YdtgnX4KD1Ze3&{0W{$=_@?RQ%Vz5!Z zxmV0<{P2^Wz&%SX)REgr@jxLL{#$(kws_YD`>XwUU|1EG-QRMzh4|SuHuzje<<0*g zrDb2&)CLzeHo<<|EO5}z%7^YJrQFBtcfd|3TxOu#5Do0}m88&!nf{ip1wZ$h z3r^Z?gUNR*e(;?MFM7@b2b?C*>)RI+V0JHysXweXB|ZLmctAYjay)ZY1HlYrtNmT3 zcfUWg9p3SqU)O&qc*o7GfUuE@KyHMF3ZK$VRQQs|F0ZKg@0}=23)0eZz#`EWGq3sA zJgFhx@i!NY?P!A|o0`nba}^wT-NFK_6z7663e=x?$70t@r@;dyo)YYV%s&-}Z+F-; zpYoc&0lI$Z*2s-Lpux?ofUt*M0-3gj3hF=aG6U^@RP0?-W6%6x8W<>jyMV7<;4u9y zw`k13h$Is%-OdIp-=|omg@9KnW->G1@Y~>lH(X|*;~N%JpFdssZxu;tKKF_SE`P#d z2IA;9$Lo7zuBE5Zw|_6qe+AUPnH3Pe_piLzLaK8_vjlvI^A`A-Z1r$z}#hdwaSLJvH{s2MZ~> zD)G!687{~DEnfly2|rovfx^`lla34a%=c$1zOv0$ey8H*$}aq}x99ulM~7W6+)yCC zaT$TiYZB|i|1M`SyZ+{_fEr2Z^kH!Mt$^HMy?j@|)x%$W*!V`~Lp?N9w4j{;=Z$rl zf!lh3nGgFd_RPiW9B^SPlj(0cS@{>qE_)zmzX^6ZY%?>BY7ThkQx^Ez5yc0}*ziX; zYfOFLNS7H{a66d!=pq4cG1OvaF7bN6o$A59t`08r|K;#EK3F&Z+`VVr(i+Ey9r`nW zk5zRg{(-sz1BYu|r`{qF%>1*8$)36SHisFgK20!b^Cyr$Ggkxqy{3Hj8#cUAI}L1| zrM&)GQkp+ft>ZvzwZqp>k2N{2S52@nJ-UkGgilDR-i!ud!28;x%&y3t4u0WxA!tzR zwtN#04QkQ7rm(?|%v~i-t|0J)6ky%{4m0!nX9&cfE@+C41v5};xXtvpeAj}T3pFsO zq6?0A%VuW&R>lGUI4!`x8*AWqt6cEhyCzfrr!|4fjXCKuGk-lV;LYk<@Qa%icd3!; zu5ZzhWlRrsup$4dAbU;9C)6gSGQbIINw+#ybLcsE!nP@}i4^7d@?k z4~#QGqo4raT|%IWoBsm$x7^^s_l>l{zg-u6Jwh?3A1TeB{i^_9S#N^fQylQ_NiI{? zdqlvOr)l7biUex^H6vWOcMTl4Lp|b?`2jx9<=Vl^@xfa8rd`z=v!!+pzn)vS4b=p; zdW(1PMHAHp4_V*`pE=;AiOQcUXS4fTexotHzDIzkE-Rn? z6Ddu9Xqm;7sRK2pUR~`!0&k>|lHc!b-;K6A?12x}TRbwS(7lMu2feo(htBUx(k!JS zwnxO4jH!(G|F4je?v^esuf@=$Gp&9-k_z8~hnr|D11|#T$9K+gB z?q6$CV)VA{1vb-2Omo0L-X>7|i>)^J-3bT$p)-NnFnz1VH13L2eEdTPUaX=9ns0;h zTuZ?&f0=HAU*Dm)OZ17T!!;~NGArRl(s`!IiUVr)qi{nPUR0kaIl~Z)P z25;L%Fy*4DaQWdZ#U-wT_&OhGoGfFq8!_KlOu4JK4PKb1fqRP!aFO?^)9dgVTXZ}Q zr98fKzA1+_b=YCpD81X_B8@R>(TvUs4trL;11?jZT5Bb*A8=%Y4M zW8qW*ulA6NPkPIR$BcBC@~G!kiwMLcqD}C$+8r3;O%;#qu5nym=X9ZZ{oDJST$z{qvas|AUnqTfINJ{Y&&27X_d-Jy_q#^D-AtBwb9r*96 zi_1Og6NvN;{9OtoyeDr%%{?X~-?S@UO*`y)0QvqZ6mK-hP^^Ez;_9**$J$J}OZ9wt zxubwzc^q--;U>Ew=4;@*eJ)e}^^Sn|KViZ5Cus1pM;*BLV29jY0&bjoL(xAE6e3QPqS%<%$MD7@4bD>7^VFGiB#muU# z&aC7&FPQA|#0m|({FlR|PZu+pMwbNy;_?eFSh|@Fj`wy8Ypw`*%pVq0Zm(y9mlchZ z7Z5jE-$r4YzOTJt8Wkg5xcB}U@9TGjzMd{Lm;4;IS?6@TnUurMw&a;P8j3z$kw8_| z&IGe6HFVkKw*wSU|6szu9&0oG=?>gzb;M;i-qZwGbu58=$XtghceZ!I%R>ZsfVf^G@%LmN)FlM)>nhIdp|E1yupH!^)xS&6TQDU~q^r!E3;G=vNc;-a{O>eHcrZMMz0WTz6ut_21 zvg0M}ClFBi_~f2zmA9!_ZyRksb2QH}o_y08#A|9@Ovy9 z9Df;<|7=nGyPAghk9P~O-7pKheWUV+a&2~b>ag;*c=sDUBE_Gx)DoLA-%%UUKHr4H z8aV7~+4$yDiwidP^|iqRYV*xnUQxiezDA(w^ETSxj=3h&FWM0(ex@%x>w#?Lp9ciT zvzlFY!NSK0G~ds!!;M!rS@32s-9APYaL2!9lHE(ypB9cIU><75<>vW6V_%2F-N9wywzZgiM`AVyX z&zk2t?8cQGf%u3h6Rb2$1Izb-8wU?M@Je2XKH{y9-Ct`QH@uHa%c|PihI?;=%POtT zM&vy_OtO!zmbiIGw#zr&P=8Lm=FvQ3a}1SAi=Fd@09!ujGVe*~?7+(ogJ)GVl$YsC zVNQ3fii=7Xd)C`$6l)AtT;zEx)laipH4>PwLaqZgETS=uL#J%;7YSySKjyM$wQJ@u zjqTeNH>*2fayWf2z?hYJ{W+&?z6pmutA-K|+eaIxvMeq*Yw$9~`X6cR_f)Y3)A*;9 z!^|quPBH3Ho82$Q6DZ!~Ee)K%%3>OS4maUXxbUo`cn2QYRbv{L?l9q1`nd2t55bKq zg%$s4Lt!d6X^{(-^mbT#)CYaaZuIv5+&$i5nA>=Cn|xCaJ?KFxhg}mJA9d1Dbc>k; zsw$$01zuj@GL2I|5r`X(D4sm$vin6Zo0(N|41pMI=rWD3518=mRRaEVh7JC`(^8&g zGP6o$g2s*`EVJ;*zCrK>j}iaC%a6)=r5RAwS);i-IzerkDPJf4}D_6Fa6_!zb~@E zA1<2UIiCf7>h=Fhmr1F-h+ZoG^G6Q5v1x`0eyG0EMP}fgjo~@xw8}TO|mp2G=U|GV0traJ;F5_&d`SkIuK?Yt+j0w>)jL>&eAju=H8M3_RM+0)HB$ ze7#rxhH4b1=|^5v@zbl7|GL8ExL)Cs@(ik` z>?MN_1=I7**}F~1Ifv~d1Mip7xNN<2h66^vXo7`)AW)ruWNF}%ql)9UkWxo#dDvm< zzDG4Mqr1rrELa5({5r{jukLFz_1lNI%)sVhHh5tWf&90npx&~B1^;w`2`0UH(R2WPtQ zl?ej0H4}WKmhxp)9QM3NAWwX1vFjg>*1(`TsO!5bI{*Lk;<=vdesS}{kKZ%1Cvzs5l#`qU9_($y9qBDreUuMb zPaYX^bf(~PZAUi?wvro3^`Up~gKE@Qo;r`Wk$iss_X)opx&885P@ez3onCEaa}(1! zSkPwmP&Cx;oD!V1ZS5U+{v`!o+JhX3ZcCBgZ@dk)8%<2k+R717ZxptXE_ZN-GEDRikWHJuN#Yw3Ndvl!q$|SZ%D!s>{z?$Y*BSGJ8GebNDeb<&yiPcrRf< zxLU+Uza;NzM~(KM7E(_ycTo8YU!rnt(*%k%QMZT8qhCkX-h3?0pGBenp#{B=#cF$M zA!{28o5=5e>cFjU*f2vC3-(Z@?Y^K$_1`UGvRa087MwF$I?yqZJ2aEI*eeca^|Txu z8vGW!30SfFt`&?8SB=>4d`}zh>ypwIHg>sU?SrogTGAGTE#!_Xq&Essq}PvJb6`>f zll^-r^n??Fv!3=}?%y$vpzC%&R8KGcH#)dAe*TZ4eQ-=leORZdJ)^%X$ zf(85Lla4GeIIE|;tNqU4fewEUw5t@cz1~1OZm(}gSe;S?^{UO}>Q}wJ!sYsdYl|za z+G(Q=oAh&G^Ro_1XTxmdC$C#DeB6ZQG8-n=A?WXG*RWvj+0vdzZREbk6;{hTMCMby zEzWBHucd9PqFn2opm2HeWlrxcrBO+XulP@K^Nj8jt{Ac5-Vp#d+}As$+S#dInqZez z0(xhm)q#~2Z7Tc8eZrRmsQ z7n4`?ahrYHYBlHkR3%L_caj73dkPyo@`($7!p?~ZKB*y)@BZnqff_rJ)#24l&T774 z(i|b_tDP(^5B{txteWm^g7WW0U3gxu*|g$)1ZVYAxpNwP{2fJl-+k3WdHYi`ACWzf z?`^=7JNz^I`5l%);qno`gs0cE_=lFNIWz|oi~3%HjX$#3;GHK9yi#AVYT^4X@*j@H z25M{*tU73c317?U!0c08n5{Q*@aNx6&cW*=EqFVf3yLXLZGT!3LAk*sMBn zx5EZ+9h4rE-8k=4ih;4s*L8rerOC2@L;=0w=u>@(KH)WnG zbFDoVa=R@ytae>t>1sBD-hVKk3#UvFu+<<1#*ejOs_ZVT@}_`YA38AeCBbT9GeKr~ z8(Dq3yTVy*=`Clwc33idZ7*JD0i9b)-f4So=4Yn2W{aB2=l^ri`2XTBl+P$KG)}Lj zGt+iT(?7M9DlX;76k&S9|IdHnt`WKnXjH7PAI7&9Hnxor^a({M(_{t7_#*_p|9mwVip%UEpKT&@3fn}!kimr~2U&1qcN-pQ zO3>fmk8#;h_7!Z5F!-q9m5oAgglh|ZeT%~*cNLWKZVFxDnL%X6^uJKI@$jlcb&F6| z1v%911~l%zVR5-J`-=42Z3^cAoz!GQMY6eY?tFsYw|9<%9H-gHU$r!mQ{Huu@9hzA zZHLBY=g^CpWIj_);cV>5DByf~V;%iH>}*8-1_nj$El9re zJuL&i9qQ1iCl*g3wB!syF4Yxi$rgu}U$>EaEwtc(N-i4^2V`ClZ*z`$WjsND-)V(| zT>LEsx!n|k%2%Cm;KD1?wjH3cupJdsOXtr}*wEraHXM@LVU6TvAo&}>)6!Eu_YGi= z>%Vpsl%=NoddfmW2Ai1Fir+l*2;_B-q+52$^3^wNl#ly_;HJy%Zs@bRF6Wp+!yPtc zrE}SsVr>b^<1btAgN+VcQ9{7Jy)D+5>NwEJO3?c^7BOMmSOtdb*{m_uJDYG6UF*JI ze4ohu1W(s){=Tu$r+oyfJ}*Cd$k~8NgucE*#q<&ORF`@65DR(nZ-NboL>O8ZO_7>d z=5?7z=rE?rhca)tBDKA*U|EqU`X@r8SGuh6(G~%(-L=`!hIkXssp!Jdosf->c=Gky?Mi=%OW3tBJ+sMZ9t2XD*?-CPGw&L#6VvjpdWIO?#W z^+jP!=_Mxe;8qqJQ$YxrX@kOsJ}>OT@$Wit;3SJRy4R8Zdd}q>n*D}!UN;lDcT0se zyrDw+ISd){&+N$E1HPH<>jw+<&}G$M##mf+DDEslmOALbG2Knr`nb#=loOl-Vx7f? zMx=)^sSC>7FsFj@2RmK3wz>sB*(mK4G?5#1a9N|pVh1jsMNoYmmng9L_X5t_XtIWP zBPD&M|7QRGnH{;C;OQ^h-x(I#+DcC0;6s`KO?ka3^O9H#dG)t0>}g0>SG73@#6g)C zzekZ~ZvJ@=8|qxeMlPBlkiTCgo%5lEyySujJ04e9qj7=@zkDBtKCh^74$Y|Nz~)JU zHN0m>>4$L2!#A`0MD8i@HQBfE4kd1~QT18Hg%@sGFyR&H&c-J4@;4lqlo>f7Tm^YY zS%-}&Jjg<}Qo)!S16Jc0^^#wtWhEg+331oa1JfsY{F%Ir2DJguYnb=HUH~J?k}T!dvOs$Xx_af71T`uTbM81(VRTIxu#T%Np({1bu|Ia;+75 z@eImC4K7$*9uNrxz25bV2^Ss{Fh?9g<=?5&R>Lgh{C}9R))p6PX&lzbaZ*~mm&G~M zVX`z7M0sf0OqER$L_+P=s7icyn=8oRnp!q+va4|mw{niX{sTs`6AzTbDFac`48Z+T>kP^Pq23hM;Hb0Y+HS2;nXi*%Jch!10uM5TdP6gd_v9p_Pkr$)`(!YbT5qi>!DB^ zZqIeGV@L!SrEl@FK31r8TPt<w$E_NOsdLw*zO=hA2X@vCjG zOrUY9`)dr#5u_6kg~H9#t)+Tm%T3&shE7zx96jl3JrUed{BhrpqE!0MH8ZV2Ae)_tc&NFR|aPj}MZS`%6)Rn5Ei zPz$~ObAr}U1P7(~zWAgL^gTDq`|+;rA{dCj=Jd)-=Or>8sXl9}sNXWzjtoV6P+Pmd zxcg|5P}|L@m}~3^p(;buCe5BCf(xspkIUfDMFG3=3@JK>PRf`+Hn}`m1aEJuGFzp- z_bnAmj;fMDs9*Kn*XQ@mbkC?+R-n@dG!Aukj@+%P33XcYCnaAh_4IW)ooCt_;i`XM zTgyIkJ9%~5wI@xh(K6SzWWfp5w$qqd+^dAf@K+h#tigSu=4v=+!zfy&_kB9=*wh-d z3{QQ0wo?uf*s;82o1wG}Mk{e^;sQdgG`Y>rb-&SxtWg&amkWyEg5Mq$dh)tZtvLs1 zsTXS1ZYhe*ye-s>%?hQ8+bx1$9jSRxD@nJ_$X2CgXP3rME|1DnvcCx4ZBZj<dRyTeAzb^w^%GZ@o;v zf!agM9!n>Jla(`5TF`uNcHl|9{w--4O$=Ol*QP<`Dd*>2lb_C%);G?+`kGMJ|FEw> z&MP!ldw7w9<1dTgFZT}Ah|z`G;#SIE{-9+%`E@xRUt4>GBVX$O^sKr6Zt>cN4|zRH zBlTO`aQqgRRhKQ3uA4!Ta@<6yHJya=`aNSUF4va+=&?p>*MNW6aP9*%IO zKR-As7w#ZUCsN<^9Sdt6Dk-S%MrxbYMl3gxH@;=Tttnmj_BDcD@4P~=^<#S~$m4e+ zYk7a5NS|xlXob~UzhuIkiwP=^FKHuZdnAxQy{Et1DE7{n>0iq27?) zTfvD~ktGj{=1cv<1H+Lo^e-TX%yM&m$H7{#GSx~S=TdEp)xz&Ota|Ws8-6PfUDU?% zV`*`{@Or($J)kyL_G)M^%e`Cm+;=Abo!0)M#j1ZDM^?A5lm42*LHV?OGN0TdkXNQ5 z=>4~@E3DS1fQfuP=t8fzBgkh=m0ihK2q$0c815I2e9gaaM*B8InkXl0zSZ64DQLs9 zE3A68um#Uw5O7RWh1HByCR_hZ4U5&r7bUobCy~`#O^~&Y@-SJ;amB>zhw2D;vV#LR z#JTW9i~^5oHoR1Vp!)8I1PtG_p!d|j;5Zr+-mb|r^SfU-@`eAtR{IWxwaSNF)O!6q zYS-dhIGnW{j}%tDYua#1$YQm33Yu&nI+ubxR?a6a%Nm=rdUGj3@9VWnAm5ne!c&=` zmhMvr`Nwk76D6e&&L~{2N|wPVp{kos7HUC(myz<^96{;oASFKWg96 zu=@E16SZ%VpIXZ~Ng!{kX~DVUOgNyX0yo_vsMX&6j-BVYaR zTXp+)KMHoRxOTPqdIf&z&Eszz7kOA06OQ>t=AtD9XS%(a%$H_L*EVptTy5P^z*%!- zPCLy-rhY*9PI?6nD{8@OX8W^6_ zndwd0qIN}PO;7j#dpT1HI{#lgLoj_zy7p=Nq#2g_<5bgAE=sY6-ta&9U$|?8yAb-W z7bySChS%uU&ZZU#W7+Q}T=cO6H}@x~eE4YrNA5JCam;1|;$?xnwxK_$m1g4 z-ekkhk4)IFk2J2Ei#(?c)DuhF$T23eF>Jbm+*}c442@6b%LP=St-#niZ?6g`Oe5cT zFu9M4+Uh%3Y_y$eqwd+GqzQ4-Z}KWp+}82s336IR2bv2_HXyvuxFyL(`Gs~UH`-Q?g4z70!if0HBM zZ_w9d-#KCzh^K8!gj$a+tXqVQ4!>Y+Vs=mx!f-aZqJLR=mnj9kQZ*t^2 z4Embv+qW{REk%{ayyPh={L61S^4$b|P4;bNjW72( zn8b3q_BZByZ6WuS`vk_2B>8&twbHm>ZGJr<3c0MYqOb)of9AmE*A@6fTLBlp?7%*| zW$xO=Mee`NVfBRT1l7}hpa}0Z)Vf6$#NeQd>c`6Qyg**vRWz2{s^_Sjaa^dfs%AI}d`PVxvst zo#O@Un?~mK(GK#^R#2a^*hTIzN4jFLiM&yMWyWc*$=-gm_6_e-b@rN!9mv?oHwjEW zheU1m9SR#A7SJT<>n#>5r#1bA!&%=gXM+(sEz8?CpkjJoB{@3-B7@Ace^XFC|Dp-Y z9CP8}st#;hR=^si3HtkBb_M2sY_fXXE*ClKHyawcgmklX<9&y-9_Rg-=i|P>UYq?V z3?tti@aY2Xzq-eGE860kjd$}A*BER*Pv{@<#xqem{5NV+?FCmKl(PN}) z3Rp0w1rJ_wp_pO9yln`2UxiE-tM6U!z`+BgCsGQ|Ms#C>Y<}2;#tw_s2YcJ+0eo}7 zu3pP|@43f+xF4W*jSJ0e-{G*nx0I|p{W6EEHe&t~tls_uWIgGajeNSZ3(vh`vVrJx z$VQv}$cA`d;d1?Wl*JlD-!+lHFDP|{f_yi(1!L~pu%}$`^^R3c+dS*B(@d^aKYGZ9zr=wR^4pa z?KZ?7gOse~((tyV(OG-}f*1QB%}h-=Ij*eC_rLaz1M_!RSpE7^8@bkS3;A9->Cw+@EPwy2&_S<__6m^o{v zmtM%9u~3HM82?{AO`X(@QyD2+rRYd+_A=e&cO# zKIGhr{Pz=k4sE5E>2n{*ps<1HM8O($>Jel?Z~m-XW+S)$#A5YbrKCUP6UaM$Cg}Z9 zu`-w0Yjf7$-6`{)suU?-dew$&%L|xO_84nLF}C3!?T-AoKHvQIZ9KHQWlhxE=@%D% zzn7pba^ejKdC+hL)(r{RbBE3Ty@zn8r-|}Q-5l7{6!6hz6Bc>bg+pTmjL%F^yADoq zU{TX#wFk>xe6MONKaR@ z>3@V?psKW(CY@ep&I@VgBb9PqXYf3gHLyGi@Cmky1w zQ2yB)GQaS^;jAUiH(7nsGz*$7UAWwv-$~y5{tjc{pBuNr`wN32Kf}-0bpNJo*aCq` zq-<-#xg}*Td%{8#wf7ENt+Es&yacT1&Z{MH?}rm3vW}nZHtTCun|G82eu1X z-gIE`i+ z|J<6UU=l+{VG>5Bawc-4xh~wi&W8JS1)l67Sh`80#Tt3CLjAt?6)u^ppuEfy!RlWx zvf=V^G9R1aAP+sHu-fCL0y$G{2X56}xH68Qzc25t-IDL^@z8&LKjwDiC;Iv3w*TN~ zTz3;y*ZJKLgc&mX6<0~N>8DbpdRaIO# z^@0iCPest*wI2kv-(8clmRL|>^*-L`8QoIml?NRz*Szx#>Sc`Lcy4Z^>5-r6=WDue zTc)>u6IJWk9#}jHeV3fHwr7}$JT!+5+YD7;yC~#9^dt-U)G-0iUzNH4&(bS-U6hAA z2sp5}0*5a!p?Y1g+OLBZ_(dg`)!Qskq^BGhpHZ;d7xK)Qx*Pj$&o!MF^g)rI@8@f} zudhL_sYB?rzLEMV_wi`DMrBFICvOje(J-hl}-Eojnz@w(UaKX8G=b4|zLP~@ll zJ>8;}^WE)Ve^^g&)%y5ElQmwD3%GWymxc00uM_lo!UXAGUs#+2(K{U0$hldt`rX~q zITa{UdCBH3%-G*z^%*M&a%B+{8aD`P^0kf%ytrSm`qEhzT-8iw@6w&W_h26I{j2Ky zV~ds};&AY%v)n%%QC~e!!E}Z$Bxt&KGTN;6WC7GiR*?2?U~;*BcQm9enu7eGoHQ{; zAcqSO)b3QVGT$v=an>j9CdffqrR^sxoHci%bW=&eSs&Bdfge|qu4<`p);7wqdFn;# zyzA2cUuOBB$PfPWHQj%ZGT^bzRqL5`0hc%?t8JbubE_*BXT3->7mmDOv$T$Lkk>sX z==Fu)38?;M!EJJu>pjkz$nTA`;hXYTrMF5=k*0I@sskrzP!Hv|IqMY~2>5Yzi`6Dz zZ=J3%MYqcWn&U0I$;v}m6Hl`nUp3R^|gS_Psu!Vp~E>4{RO1X z9GA1cb)2+M7lHgB)`Xirb>Xla0?v5Ff`!Wx)TEP94qR{p>f_$BIqRjHxG>tA>kGX7 Om}4FI)=mFx`u_n^PkK%O literal 73728 zcmeFa2bk4F`~SU5XDLfZqy-SA_b$lLi-)qC$pH?Cq4&D+b+Yq^_IHyG_iGS@2_Tw zhWD3j6iI8?C*|+PefoD9-lKcU2U-Q%dLL*U=rgcKm&n4kzRzUSNKyLm9s`;s7e}9N zmDGQDpAlV#_MvLEU@w zr;VA{FK#LRgfA_wbmue~^A{@?8_tLoXuzOh!`1YZztY~fqNJp2rMeH(y3>k0yw89h zc>-SAhiZkYaq1-QfnZ!22yJv zwFXja;D4zG(l`8H$~ZOK)EY>wfz%rKzpe(##XeH?-*3%VsZ^y}`O1~bSE;2{s#FL6 zH{g2w1`ARjl$~Ed#u3e{EWgf~F*xZd=dAHtIsaVo_u_wxzY%{W{zCkj_!IF*;}6E~jo%r+H8v?`;(uI# z|Ix(o;2Z_3X8iY`g1NEim8z7lTqF6Kg^P8Oim#sPo2 z>M{eNRm#`xh3f+Xg43lHPax*Hqj>Rs#a9MfNFTk?1l!zlnfj4)4*b|!xSSEN;L~a< zuIi+*>qq124PJay$cwkO&+Js%8-+qcPr`%aA137LzL1|>W^TnBeoR&cI9h~FB zJH={X$GHwz??o4!R?lMU2b-phjjU^apn;Ejt(3W- z1D|xn248HcDPC}yfzW#nQ!Y72phfC(z=97-Fu{C%U2u&h!14JU@b%g*SZN1b-*=dl z@|oRRC_e9i<4?I@eXo@{(tZ1de7DG^gv(RBkZH_QI4N87kkvNHD|S_1$fdrwkahM| zHkc_BfkN1O-h_9P0vyy+dFS!)KEoxs^`}QDZ>lx`{mxmW%WfBGHVUbAAq_OD zm|%wN4pZN8L%qvZYxWW$2X!h%tF{+%q)Q1WWsMql$&?Mc ziZAX?`&9l}%OZanU)n-BVbv5e6zj0dL5)ptdL4}!2)$#&r&My7dX1r=Y&?OK{NB$N zQ$FQw*i}vH5{mf~V`BHZz&B`fqUAKdixfUQuo?cG>mtVPXI5h#6fAroBukqf>yhCt~bt~bFI-u#ihgg|Wfo&&yX+2G9c9=#y#sZI>fH@vyH`LBdUqO5ExOy~jH8L7BJSt< z@L9S5=YOPufx0d;5NhMVXPwi)3`Z?+)Nc+m@y1umTO8Hc^;cIYcI;}x6Gz(M!k!vf zzo`k1wk_}lwIb;QHz7UohU(&UZtwXEQikIuZ|FlZL=D~7+`isjKO$@tb!i`g7IDC4 z6HNEJ3tp3oUtMW&75k zzUx(sU6EOtHQ_3Q?1=B0k4nE9k(Vr;so@s=#B4#_K*r?ZL3 zZA2l5zkz&ZQo!bXWtk!_Q=fFhf=_O$*w^FKzbTpHUFI<5hix^cKDed{H@0bDw%#r{ z;Cl<~v(5yqbq?4fUNH4nuUPOGZxSfKVRapF>I(wQsWxeSl6T}XjgQRZ{GIs&L&C$u z(?+d>f(4W7ppvf+jGiva>M}$zb|a|2Qc!vK0cH#@TWFL88dC)`5L&3ghj(+CdWVk) zG+&(-7W_|}z@KZ)e+b!Sn*%m%sk~Yh!LCp5t}$iD8wBQR7wpu;0bfXf>(lx0<%*Eq z$8h7{fAkg}oF;nM-oabt@>To?F&|x{+^M)?+a0j(1W;e}k_8{y$pv3OVS^ij7Bdj~ zfIy$yDB!v=N4XfOSf;b$#!QNJ5={C-$XV50uw|^p)L&>|!#6)`f_>^~;G(<&?6l8e z>MzhCTaisv9?r^q$LV8YqlR44>&z)+-wsT+y5SlY2pu;Zf_EX-k zqRSo#EhkX=+!rmTUZbB4&oNGeU#?@qyMztof14)TjOl$^^2U;rjG% ze7GY0n=M?F{>>PUr++hr>7SU)gXy0*lm5xlmi|Gnki8Q9l|!R{(&xy=f70oFeA?_e zvK7dhH%rO5%9(3qYM8M}hUV#?PN%2sn5K8?`Ts_fs)e|EUsE&;NyiNIR{h~}g|4%*tPd)$t$NB$ewRJo;$HG?9%dx>l-qo(Y-qk%t|JAO@OB-nR z$WJc%gMV|uk;5A|)54HD-&$n*@AvdWWf3<;x_*KaZG9 z`PE1ZjB8?pkACieHG>*cztG%*i>3}!Uol?;-|k^EWm8+R%0K~++$HnMk*Zv}mdZB; z$HzyHJLPU@CI5}FH?vusuRilVhbgn)6imHsS`FNp(*u=GfrZOcXTVtB5NLN$Fn4tu{8&7j3Y>Q^yFjKqEhaw>Ugq zz|YNbn2EQ?5NP_0JaAcWkp>@9P=Hf9+u({~CU{I;X47AvZ^7SwQt_#)0=|5q32v;d z+`CDZT#hQ&YxtyW4;8oXvZCJl7YF%wN>8BWKGeo!CeB|k;8S|L;QSlPL+v&87KbNW zO#Q$;hnaY1tbk8Fr!i%bTcF-{rs8`CO-|QmCJNB*qr6{74gSVm0!@GFDH9C065zaM z4j8#V7AZ%S8;LvXL&fdCH`Y1PM!rkchNZuA5alF}ECK4ToOUsNc2mVCx7h404)=DL z`r?;OX5!!8a*lbMl+tf@65tcr6lZ^7!aLS;z~NrImp^5}=Pd>k|K3eXpC7%(1ZV$b zgOPh=k#bbIUfd(H{D-(xZW8%#jO~9?L%wG&n&6FL7Blfc$bnzWO`zqtkktmaRJNEc z4o`I8Ki4JD^x_AU?+wCbg9H=l8wzOPh28|3@4#lkl$lp+@HhL~;GFgr*s!4n9`~-u zzu!f9rHmO{S})jYrN!wXC^zKu|Rp3;}*O@Jb~t`m`(#5 zJq_wp58CYd#_A4Jc1nQDXPzJ>kK8Ydl%vXxbaNRWChq%gl&uW9$oGkwiidYu?0QMn zwz7W>l|G`2&FOOCUU-Ycdz9~yr)%c75OT1e(8ZV+~wX)CMCr%p&EeawBnPc&NC2yEWNpkIVV$*Z)xYuh{IcC%RI3 zVclex4K`R{!?R$E!=JkF#WO*@VG|Qx@M{~q(1Ado>)u8KGv#(b^L6FbH;~fwd@q6e z#Kk7NK4Xi^l#kD`!5)oFFmlu!DMytXi97v6#qHm%{g%PyeD#r?EaYEifnX+nR0PyN zZcR$l$4s)pUv9!%9Dd7TmqmKGOg-0S8$6hgK9tF7yRIe13EtvXnLB4F8ugd zMeBfo8&fUto3S={V2i_)y%SuxSB_V1B<^$%6}NBTroP-z`He0sIA57Yt+$E$4v4?z9gTw{P^O{_{B#`L>UDn6hjpF!ArIq_o@{ zlT7gI!HPd+aoJlOe%E2jA~Q9np7FW`Zb&1Tvg>OEVq68dzHE`pu5YMmg73Aoz#k_F zaNw_KK6G~`rOnc#VZG4biL$7cO2%e}ZenQvwKJ>#DlV>4t; zUnpIPv_;Ysrpf<*{t1r=M<1?V*c%{Ht9)f&7bq*=wy4U4EHF?o_3u7#;dN|9@r4HO z(7^)BIV%tpl#78dt=qUnuG1XPbeB%YYaXA~zci92YR8ijc4^o<6 ztg)E-H!BpcFLssFsIOZ)gzTV3`*|-oO}>-+TsZou{leZrFpAvQ3Cez-n4GiBcG?1K zY|_92p9rx1N&-!vwL=3Zsm?19TI0Ys{z#xDt@@@5Z*4nZ_7xh~#A9M+l|JVW7wNB* z7T`}SOmOp?iUXF|@ZfF&m0PZ~Vs?5=q1j3yH{%jnWTf8%gTN-nhNF++kBo$)3h?)a zi?RzYNPpuQ#kFdy)+@woNdM_4q|3NvHhj;E@IdG}ja?Q}^C#YIMN0YnG6d=R8v|_k zn;Qs}{?}2(bB_r455rBSyz+wvmYXA(`p;b*aPO;dIlC&TSMVyJ93EfrpVK^03E`yh ze;?3a>%JS?dQyUgLdWJ%T=;^?o_M#3VCs9iJK*LDF1W0?#SDZ7!ezP~CVS$!y#$_r zpAC*5Zh_*Q34UH*amHC2zB40SUcaruFRgRI&o(N)wO)f?s%J41?_wArT{6S4Kz}9h zrK|qo=p*_g=Qb3$|JvQ4vL*_sKMDotV>H2@IQoLi)L&d{f_)b&j_GH!2SR-;rheud zjhT3`A%T4UL)dZUl)xgf#EpXZj0lvea*1z?Q$<#M@fa@>3W5c`Vcfmbg;NEjO z`WbWp-ac?hIQk&|$k<+r*MF(5!x({lR~ZhNYlp>5xUt`b*Q`OHcy710lxNkLflvbi zE$6TqV4^cXgAZQ?CLU;D!efgIuu4S-tX5P5&1Du--fQYG^#T0^SfQW>wth?b+#(Kp zqQfJ&htRPno>-xHBU^lUR5<$J{m58u3fgx z6Bc;h+X{+oGT9S%V67JVc?|AN8OxnAj6EEE?7lB{|4B`^(#TsM=TZ^0Y`F}@#F92V zJW_zKRxv?uuxcRGoRsDt)Dh{4*T!n_uT(#tc=s_IUbvJAZd{^)HHryvx|-j}FpZS* zIo-nsyL=&-vPex(&#k(*TpyX<Dl*kmy=i77!p*rQJfM<2xRi`{?8u3!_B@}y@ak8s{X z|Lto5f9_qyk_{F6zplmbe2p%+OnOwwV#+Z?LA}_gHauaB#?+nBCcM}r3oKMYu|+Ax zDw71K8=0RpnbKZkfz=;X-sTNb%I9=58}v4GX=8)`PgM|oOn;;bYTh@-U0;9G;v%Hk z)J0KUHVg2#PaSaYE&?se?OuxC7O>a@q3)o*x30#nr|B)2^6}>g)5zcu=yNaqZZmb~M^KjeQLxME+byPE#XG2b348YcR0Yw8`TMHCf9Wn` zTL(qGwA4gVuUr%GA#)Y8KX1WveyxGE7+eK|9j5;GAh=$?bsD>VYAI-BNU+)E4?nnI<|GT8RL5lMkp~oqsh&^%@L#JS`Y8XDD!A_|UY+fN zi;}Gtf%^U)%IDrSk=~}g1J=K4gYC~*%s^-gC>uOyvg=}q!;}M$Xz(x8iY%WlMoQ`4 zgF>>5x|$;M??Jkeex-xy=jSTcJFmf4&2X9e4%GqbU-aZ3As_7g|JfHrAMx+20^j~m zCaBhtd2*|w;|e)kv>Z~#QvA{c1GQ{$Ms0ZVW2!H|=5o5;ZUiVNnhyNeW+qd1xaxuv z)P7JJx_~FdXiOu+N&?Mycd-LL^P>e0>LtLOm*M)aRr!bJ!!dsJ4PjI``V#=TyTr1!9$-oD5^mg!PKwZcENTd2()OyY!+Df5eL)@!ULf>pd2_z<8-}Cdz&eHZB_ow zFDAUu8b#xZfHxnefi-i&jf~QP?;5RvjqAE#KU;w9Z#hi8i+ZL>?&8O?o6~X61I?d} z=E@N>Ehauw_Pp5&XDveG|I1~rm8oe)nZZooFJ1q%!_tIfr_&7o>p$V=!ZA^w!-$-0 zQY-jRv!{&^v|K{Jv(yD|#0t=!r!i%}!f@Ganhoz&0v-sxX2J)(?lSc;bshL~>6Ksf zx|b$iZNBccW}n$M=4+&SY9mh7vOHhNLVA}+O{PBkj03MW##QchN9Xa}aOCjofu;x# zn-D$z{OXA#ir;s#ZPeZ^P|mZx9k6yL#acrw_$uLobJN)1#vK-uUW5S3oqb4Yc^7q8 zzWyLwmOks!A2d>8g#(@r6Uf&WwZZ4#G?_;HV-}e3jLDRn?h+`!pK^jyEOz1Q1qi~Z zecxpUd`(Gs(D z)KO#VD?hW~hlbi<+eZb{NPp3U-#ci7?@x8X_f`w05r2e0obGLVM?TWn<+EFnF6Ym; z;dRjM2%{JtspLC_D&i5(MUS{-q@Dd&8jY8qbvZ|)UIhm^e|pA(FKuXpt!kTK-pLj? zsxg7v`IH84R#h8x`xXa0+}{SfH*>*y z?}76D1jSFWyA{S#JYvNW`%kIE~k2=)UlWj*S|AUhgtu&GMCfXV>!UzirOmXgLCu zBaXZ9l3#0J+-!#_znLlE*&4XaK1u)b<3aiD1{>}@A}>dxy=ggdIfdIj`Sg0onCL-!k5N+4zM~66 zR8yHhy%&_Lt0*sbO0nKxH-;DTT2aubraJdP=sQZLg|4?jF!h7KIq>?4aJlXY<)wav z8*S6NF+6|k8X8z*qGFmkHvG*60&M(=#+2WVvA~}toAzr=qxvZaY}C;ObJ-eL>_x#0gpQc-#`!F!erT}<5AHCT za(g$IX%wj^zy=jz0T}I)H*kD`Q+Uv* zhl$wViBEch3ZNw$o&}Wqy9sy=)s+}+o^#>FGpY3UFPZGrr4i_J&!}Co{#`i>-t~8f zDGyc=aO=2Y-!~n2_W*%DXAS}7Uwgn{CJQtYKXd61VRV=wzy_BsrreKb|AjFL$C4?X z_>hs&BTiYbeP_^yx!Oj~T{jEl{Mq*wyw?Z~Y@#c66(+o6VZo$`ZMZ%XuAl4y8s=$G zem2L7;Uyn%&IKoU>v;#Y8#21yz;t=9fXUN?aZ}(%`&h*$^C_7l_jX&K@w-im3S$B; zmHF4}5hJ36m&FW(4k)j(O=H(D ze&sTap`{$AT>BY;e101Nj%{ax3C(OUX@1~@m5IPGQ zeO9>aGK1Qo8K32F;8$~NOyj$E6gM1IeEpu{w%Ih9KKJWLlWAPdZi8!bDh?_u;AQGr zO!=L6jH39Dz{d@b8hF9v6C?ixaAWPCs({-GD8PuxVsk;pl}aXfe7FYwooItQ;~Zun zbQ?6LHL%!a?)@&)IN41D3mhZR+MDi{1>fAl0YCX#1243&neti%Fqo#E$!?q(;)3r? zv%$giFXqGAErPK)IP(THJ$OW(G%R}f$$RWd{*HX@Yl5>6R^Mkbjq(P8xMPXp&7vlI zu$tOa8yEK?J-MW{Tp=f7$TeFPY#k?Fck|V^@bsaf8OEyIppfXTD$>>z^hND}HN(>pGg?)n5npKRfzTy^^wA$VO#QDN8hk`40#(6ZKY~WT zpvG==@$#E=&xQ{g0?Om79r%E}7C5~>f##p-^?`@CBV8WHNf)JKjrT&1oP%bgkK~AX zj?e$IWXqkkV3z!G#WI)5R4Ze{46V}#(uLA?OEWljIL+|C@e>|CIC`Zg??nBV;EiHK zOj;5le{0|{jf~%FVA`xUIAN^=Zv9Ds;b$~vAaqOl!nqc^{>O_N)9AOKz?JS*V&|R? zyD{pP3%)Z-fIX|i<)H(h(fF=Pe_XS)231jpygo$niy{t}DStj9n8wp5OtAfB3+(^0%M66h zC=Zsg*>yLw@`P5P{Pd*Ybi=#jU{rX9l)PI33#_}>Wy&w#GU4SXD|QKx(tJg73Zfxo zGe$xlKH%R&rl-V(-eFTitmP?@^Gk%ngZf7eJ91%%!uFr}g-)vMwfAf;M$U{e!QVa; zOr!Qp#pd6Tl9zbbX3|*@fjrMHhpB(nU3rbO7Q1{Ui(nchx;yYo`3U6NUJcCr2`E2* zU%)$VvcMYkU9iFH8dxNc#gsF=BjgYco>I;UCiIIMapX!mMeILZ=%Eh7jK;$Ra(0Fi zsD$5svY1Bw`ijLak&?I0U^A1~ZM~+&u7C3-fu;x4iXqnw6mTPl1?JQ>F!3oHd@85K zlwW2u;qAQctHCU!8x_VmNYCy?9NDhh;WBbcLqB-HG^B6T8pxZnb^8t+E?dYO$ ziE`F3MfZD$-6&GfWXj9eHSmw@@IYu6Xyl1;IbHv9i(ndsa@$Nf?;wG^bZG}HVF)lj ztp(;C377ll+3)KQv;ARxqQ+dzJ6NJt_xI+{ zJYgd59IvUok9{ZD<*5R2qv33m-FSSg@=B*jxz$x&89m!*?E1ld4%4XCN-*U&lTCQn z^e!kqbifwBC^lX|O7k7bt}%_$WgNvtF4!+*f_c3j_8WC0(ZHRgo++))V`B#Njv95| zl&JmZf_=UIwa^7BgqC8%Z3o=388k{IY3xRskYbHEo1M09<#jeV?E1ETf@u`oVKU{X z<3OWZ7cGX<%cWIp6t7s}yu<18yM@ZjcULSqRB*b{C_(vv!8W`1ekj@xB)2rJ<>3*% zqQ)B;16ZT{eHU%pSEB4FzqS1>a90`uo>yzKQF09_m7lqV114Ms10l7%Mw=rxr|Tcj z)tE+}I~G%J_0|GCok}mZUa?jwm!}&|Et4rvu5;i|_ZMKvBPM86aY65?9=X2Z-TeJ);JmvU*qcU9^>Fx@la1oYM#e$vNLy@C(NTc(J<+eluNT8o9H>1EFt~ zYx_anu3^O>kdp+;Z(^)q8adVKEBALmx)I+Xu<0xI$+!{E*O7S0}XHW z_TJ`dXb%h(pw)X~Y>%i>N5=h8bNlw$a%?~3E<43IT#Br}-34oJGrNb39Q{@-Ee2;h5kiI2sf%7jC zsMc~YC?9nXMtG+M{zJ3}JM*OO(d!_26TffRtI=7YjO{s0uxU*Te4?TYE*`6V=NKD4 zw~WaQgx0(8orN5xK4Ov$pR@%o#k-1c_7O;b!RtB})KmWTd`hO+Zm14aZdh)@*W`1+ zRhL|F=}HZJ0%w0hevMNie;v>l$A^=;JxtubQ$ZP=pz@!xM<9RElt9aqdyWfEDQ|TiXvE*yrOm@9o3x_Ey?iBFr&sy*{AK755pa2KHX@QBq znM@;6Nqu(1<&!U1oUZ@5USmqS%mM!qyKf<11O35Mqi3U8a>P6t6Q3b_)@-@5=FXBQ zE^p?dnF?ntn4v)WN7EHeTQ*I(*cvp$KYzlb%&1is88t!ci|-IX|M{*>`OtyO4aHSy zP4>i}Yq?DQ`nQTdE^*)&1UwKL36}-_hU-}}YcU*Ro+dU^f9*MoDYG_IekI0X*MA#j zfj_DyGPD&gyDZg!z~$|L>p#~p*^{4yic?obWhq=G`{$^M@UUm2hMuxhylIo6nAG(yj9jl`i+_vc<+S641^|uvUXd+u4ipxF=erqCVas&aQ&Cx1^h%Q zn<;ZuR(>l#XjEO|G?D1abFT>>53OozHNuiuD@}Oz_pU#GHD#R2ESTLfEkKAOquz-25)r30*AF# zT;y##>xbG%|0FYLG}8i@K55F{)ejDN*~kmhg~gqJ|$C9Zli; zPVe*%y(|>>%r`FB`~-o*c;b5vzAU{B9-l^_@HaMan1N6`~ zg_I|_F1!A0W#w14+3*j3vcUanTQ_=_bl{`BIz0Zf%PvQ@vyk4UnGIsorg!;|#IZn1 zlP8Bhu4DAjQ`UC>VL;if0$Kl*&jNoN1IlC7NNEwee5-*|YTBR}VKM`uHU+H(j{<2`J0-ci3f8ZWBysZh_5)xlChBq7Cm{MSyK}2b?gTK>5y#6QJug_c7E# zO6d2k?Gr-L!}o6eRKIV0tX#Cu;_PLKev0`EIq-|#j_c)OHvEGk7C8Bo#tejP<+E>_ z?E17X1yhC#T43&g;=utLeCjFXvpbpaL4{nVF})QiFPWtD`Kf>NA9SL5*a0JhHFD#` zPRL8>>Qcgg@c4H^hli;F-~LUWj#VWMtEi#Go?pX_B4bqgp_u~df7e#N?H(8iZLyL5 z<1A2rbBzYy+}Q?p5xe;b6YV zeIT{f3!@eWG(@j~VeO*VfOl9}{l3f9a^V0MCC$mFfr+ODxHsg2>sniipV{DhSqNMM zn?ZT}4yaorEl!tTopQkXSu}8TyrR9qg>N0|fJ?o|Kg_GrKfP!nee+!#T#=JN`TbE^ zvA((iD!+SRE8sJMalz`*wPA%4Q42&G-E>Kde^%{3si~dXEEkFY7X?>myLO zQx*%RJ|u$+-?Gt!U)yBEJ9r!X;0qdjcvT1Ne#v4Qn{x~J`0g$^se$sfiye5M;2gk+VAHIB;@clc!w|fg@`_2gyEVvmo`aR{sSG}xw?n42eao%LoS2fx2H>YS! z-HId7;_dHZfw@(9a>ghPzQSw8dCv%VIOs5qttFM;{@!Jmi_=-)&Dl2CE>3{n`LEFr zZ@`bz`Xlw|;d|GxY328y27k886e{J>Les zZ?Z9V;Al4`eDC&Tcx2+kMD9NazV?~MIUD6N36wCRq|FT0EiIVxk6Hwpo<%&CGYzq;Wv z1EDWXrV%eJrvBD`hbey>Y=h5T*TB_<1k=dmb$s5Jr^sv5RQi`6+L+#H1%W<)r>_Za z>*9b{z5K@0a0hzM+4xcoy-psP>P4Q7X3h~aBqlz4_D8c7%UUi=)wm}!H_h~P#|Q)i(Bl$2F-1z{9zniUhm_; zw^tTS+M~MgEAa%X>UmQ%_}N{Gp-L`%?GOh%u*d>Wc$?eaTsFJ0x3dE_SNY0)O*MA8 z`x=4x*CrDTsZ(cT?*qL{@=Dg`VIue65PfvCK+e}Y5vZh=U)xOM=hFhd>keFg`-k#9 zz1$d@9tf%3hdfjp>H5qS4yVh@PY{UpdJ3kIf1(EeR;_Gu;~5veezss5UlrECvVYr5 zxoeIK9#Xq2d9ayEN8t5neynW&>{v#$jv9I1o_3)&h^tC6KRX5UZ*S2L^^wjs55NxmHmFkBoS)e&3rTjBL}8vC+GRh5~w@ z6inmOd?x%#N4UJa+=d^!Ycd0&tpa{?jmFg9oaZo&%mWCtpwH~Hz#B=5zkcVyzddS# z$A`E~oygXhxT^fToQ+E&y-ml!+@y~XDI%?p)cK7X1 z=q{$k85?W8V})=P8-A+3!<2vRwBY%>xbPeO1e1pP6Xa+!{xa?F1wMVF({8#(AedrS3$!qAlQwbkGo9y(>ntE;fw{|@m729jk?A`Tq#Ql zKXThNJgUXRgzmpxx~HPXMHnN$GEr1#)oB|oH<8k!9B*fXcaFN?~d>&(8&1>Df#D@HSn<7@{N4gv{}^9Baimb3h&>w=MVx#HCe2RGV0pwa_&6~Jkv;kcTQ^H?i>y? z5ZYkFPvz8@`qIBlrtxSEhbh}Vt+;iS;_Y2F($Cj)!M(dprtw1)4gU23#Z#+Y_#b6V z@UYkFYE*zQn&1eUJG$hclbS{ix|sKv3kB`#-Hq{H?|HGbjY7s=28}cUm)(e4YJ$aI zwZL?0>kouJci_3}B3<8ENx*9_1?5oH&hn2Z9Hf_qjc-KPttG37}Ytm$pC ze-9(2^z7dWCiQL(Q(kJTG4+$#2sFLT4u>fxdh4tBSs*=WCV{4>sje~Q*^$b>A1B~@ zhgeLb{9L%99R=m3(~9aF;b^%q6yzU!wV{op2cFWc`_2!I^&e7sRN(gQHdEgI*kT5o z)i#;N?mr2{Wmz0>=VX%^2>k*YFSO9uW%daKns4td7tHsq;=N23{Q3k9TsqnY-?Sa@ zyG#W7Trf@pzgX-rgXPw{O!-4;0xuW(G)hMw$AKr`1{l#OdeGjnYqk5{Z)(g_tr9FX z+2YKNV(ST1=p$`FQ{QSHF9v-NHlY0yB)&Up1)RjQ<%~hMW_gpG17kagSwDypO(F6CcgH*fk zn*fddeQYiuIAe{Af`U^8yk1!wEcCbqK2gyG3)HchfsXkE(>UK8E=zjz6`i3WeZWr+ zGgwybjDrncQeL2ijr3A|O{Q_67TmBmIPAefr(Ll8B%5jM+vk8mbrCSw06THCcA(F| z9$kip2Q`Quv)83j%)Wj+SgxGQc?PGSRe3i!F5qSB5GXxUa}9iCsbcoWNIB*>&^Ub2 zVVA|yT1?}wHH!KIFj%~h$?3tg%LUW;y_yTp)yskJ>S%(4CJSaT!yv`NUyzb#Q(cd2G&7LP)p{$Q(sT@}~v&a<4*giuidj7v(+M#KZVn@*o z|0_TAvY@E-T{5MXUHZ*k7SxSSeFsCbt^k*qkX{Fji!9*n<4;Q8Ky z2RddF?8fJfL0MjHWybkR8q%A3JE0RQKjTg{3+X>DF`2=%9}(#DAD6VjEO{JeFuke# z##WP^PK7|pT`6603aU%&{>UR=IuRc8)WZbtJ8}r7J%+-9xn8BRsIWrw1XCXEZo*If z<}!nEi30w^V22q9{Y{|xS6tVavh-pB-+$EwYn`>gy$LqB|3~HPURJzRhLY*?YYMtx z>^%XVG%RK?^GM~#ZaM7osJA1*>EV6fFPr>Q#S!)XJ$QNoqHIdb`>rn=8-BJqbK{!Y z#*OliSnz48|1{385bVJ$FB53K3!j03ju{>Jj(6a))>IAtLth7M)XoMEg&5^5DQ77SB<@}z_G%f}RVNtZp)F`daYww7_2Qe1GE#zA3%b;?`d@hqaTU#n$bkJm%e>ZWM#*ZNvyyLA^->Bu0f2)n%xPz192jWjYk{I}8)cEsy z&w*4c?;lBPTzlO_d3S>XEcu+v4CczEf$>{RFiT#+G|qLhn91?4s6tB1Z#<>z#Yi;Bzly6^!LET%E#4HNvfHaxhoA1ReP<+28by*=9$ zudz3xtMg(Hd&2cOHOeC%n(F*9tMKr49#iy3_M94M`F8ob3g0_F3m>imN5b~D+7vrY=I=U*1s zcnW9){xI2%xuslYuva+?3@sy&zqQF^8Ub~IFZiy1C8wQPIH_9nkdu#C{I5RhTSKec>!$J3ZX3SW>kHp{ z%7rhjY=UhXfkyq#8oP0RlqzAXZ>~ea$bd4Nl@a8^vpyRUw-uowqDQApVJ~=Bq7+Xc- z^mh5YzWu!n@Zj;j7N-a0CeWzZ+lA-Kqj;bwDNWzASJAtBV^mZJEbY?azSTeCuJSN( z`}^_WFbCzVS!pqiuV%aOx3|HA^St<8?r0-@_Xv#{=-AAH2X~lEIieI8?7Tx`H%_VT zI{02jc<_1kx!|HF1y2uF|I=g|g?el7ez6v~>Qxh5HpB+^c?&J%a zLn=p)J9(e&AM6@zkxAu0^aK?{%kk1$2mB?IUs6x`XtDkJWxJabY(T=}VS5V5puA4w){PGJib+<Pb`M3 zM3jzo20MY|L;5k{B2mMReCIcX?K_Q6{A9k${;kzi3Kbvps-aB@2mWOV8~kR6^6}~r zmBO}=zWNcB{?he5tw%R?DP;3G?By_Awj2 z^12DO+oFNtCkYhwUmC>?#k<2%;X={FPFdG|$9#J8#Wu1XTSsMI*ikH- z!K6Qg-c2=%K0xCM^i^1oYs^5Xr41iBlt7E;<^lCqHC%Q*!=ol>E_J|KeF>D_tf>Z8 ztst1Pc_Rm&)X4^0KjnfW-&TwaiuZ;`>SJ-$D&@vUau+!+Trhg<-tlg&`!0v;U-uU% zYt|`M){Ld3v`iW2I!yh;@`~TL(crtL31%QPT=^fJ9Ckh31OdL@Kv8Z{{OW{>^pEP; z;E#?A+FdoKY=6myA73HB9UTai-$#QS@JV$%tV`?*X}Qoxro`@F^~2-Bk3K~F{vpx& z+|@S9v9nuX<7+0k?RmwQyf#=j!9w~=M{Q;xWN7fkZ-9xn11|jKc*R^fP383z-)d~Z zU-H%|;}?xx_P!#J{^@naIX_zPId@%f{TRi_D!&c=U6lAIgbPHEKl!ccReZ-p`m)*r z%{JJ@T+T+&)F1YIvhZzWUG2w?2ZD!(M6CL>ODJIx!8i77HHM0Yb zEGNKEvbo^wMH*9%Nk^dh?)~V1Cx*M=>UIL`QN#h&zL8!H^T3Ff2QKH(=Ko0aD)2V{ zTKA2P)~|m`CD5Wgst(8W@2*)W^5e-a`0H|;Df>@V%(vfRr*}pxZ@n9?$CRRE3g!GD z#Z|8>p7U1utqB%SmybLrz(=2Uz~}QQe{6yVFXF)Uzur?^UeDrmeU<9-rRwujR)OS8 zcq793qsAV244z{5UDnX2CppOb=b{?ef28tRy%eXmw~)RxhYb#jGns)RRB7k2=b?38sAY85bV@6RwZmX2DDB0cHL;m0m)PM?`hzR^KEA0 zRrQKPeKDSkNojR{5+Es@H)`0qlly!BXlT8b<|6xAf>*$lhc^)Qk-^C66 z1_jAW#a#Gen?UIc&YR%IPc>#Bq`UB?*DNr{MH5_(2!*blBBjq=E2Oxrnxb{uM0)>O zHdAih43`CugZkX}D49Oz{;7e1eGaHz^q{A#;ob>gcw{(Nw3w6MN=0Auj)QoQ3e(vr$H(*L+%GG(Td z4*ce4Hh8qJ#guz4z-76Mq?FISr7lzE*`P7?zFwEE-e^hlqp|-P`nYh;=%FWX;Qkl% z%EzV)6y?38O8;H;pmK$dqGgRWHl_#OHo=y6!9Zx91|KyS)Ejpc@W-aRO#R!88a&Nd z6RdO40*lVGmG3vfZ*n?dhcXseewbp8B{sW$d5Q*l8@OD7{w*c+`?m9O;T#VWzwcs) zOkdvO{AJo3F3MT6+=MrmikX+V@DigmrhZ|z!wiH*n@p*_M4Za~^`X(q?cq#6ES{s|AS6t!6jCXYVxpIQbh zjJIhaMX+>LURHXA-wpxZylFFor4Kn^=rtF7(iO}=$0uB7Fym3dl+{Xu#_jAbyD?#u z%?v(i2{8T`fxKm`20l96X3AT$ET(aFHW+M?Q?Li?ysm-4o+eZBt%Op)(dTh}-RpuP z?}{5*F?!g^m(=eYTlUKxo3k~p4spQpXDsl{Hv&9;-2~5GC(wKcX4%X@$Fv&!<9-fP z#_a)()eTK{qsD3%{I;3mnWKs)&Y3Yh{g3W8Q=T12Ab+D2+&K4+2LEm}fx|y7nDVT8 z>el!bjD+31h1A1I6`}{7a(&sit2H*gX>+E=mFgN;D2D~Ej8)v+MT75HDZr2K!UG*+ zO!(Rj1m1Mkg2wEjHoK9xhXua7gFwD&s{?*j$OLa%7E>O&V8cW02{hlXn~Gb57W_Le zXs-)0uHc;F!Rw6!%l~`aG!meo7kAbB9xgS?owJeu`&mq;+;f&d`&#f9UnWq&Q&+m+ zY_FkusjY!tqGckz^BKX^FZXnrM(3^;Q=YOxW6(z~yU}%q4USFFz|Rw1rrfgBhF22; zOj==ry_+cy)w9@XBxm zk@d1&C_--kO!=VdiqC~;GA+vZp31|Ifz-+>z416uzf;MjKd3dk2&O#of(C!(qzMik zso48{3;s&TX38Zw9q`^z0)2keb_;C(s0+5~q%kFL)BG0Sh5qi_yAAwA^q^B#ZQogv zaVj0yUbvRJr;adWfLCzf&eo-XE6gE(`!s)T^olfGc_cTFDL;wDlIhG zgO3ykjn9h;c4NmJ#m^5ST`nk0$&{XO&jAmu)xcwAY_NTT%aq<5fV^SBzIIM}JbK8< zyDR@mlJS0R3t3M&XM(v~5@-?bm3P2}x(&KTEb!BJH71SPv*Al#BhadS{U;0F|AbCKzFOnqk> z6JEh0P(J%(`48GeySd;~y&bUa6%%~q3ymqqjc~v(J{C-)U2P3CHre2&TMko>Q@2Bn zss2s+zSE7fdCUH5;*p=E=hGM=tw?lS({H+`jvI^2A$$^OF}hD!v?J!&e6!@bDLKBhxPy{A_lY83-MO8-)g# z?D~wy1yddyVSxkkDL;Qo`PPh-Ow(_u-Gh8%mYUu@pM&(i?<#&b6EtGiTAWUC3a0Gl z^=X+fr0KzReOU3RaYwFl(z@=u$|<{lq9Nb#Q3B;(G@l6$8liz!1?4ZQZCs9NXK^~c z`GY|7+ZtRSbjXCyo#BAF4rt)ypKS2M!WOuofdCWZG_b=l7c8*R0cUqq98*DKH)1ba zOzDkLl{T6Goi}`yb5yaYQI}2b%q#nL+H&bWhjO9EBAdEkh2thT<$wjw+h~Jtz3zao zW)RFk=tCR6POYu_sAewwoqZZuBwm2;salc;yIb)0-*&*Esz;Uj6;fJT{#>onUz;S@ z<%_B|>0TCG|5F{8N_8Lefm<2L@BeER6Q7yB|F2Nil3B{cmCUSVDw?rKhT`cfq${7c zTAC+g8^*Mv%>VmOct|+<>1*Wu&$aKnHIkTfmO~kf#8Owlgl#`-@Picz^hMIYuNI)Y zP-7;h=|`Z7?C_fl&)nZ(CfpiGpy@^PTJVJ5ZFp-nf5IQz;0Y(oX`G($|Fn1BQCbu4 z9$$Jd3Q~lHND&3mg%v3R4lKU~Lrlcra#{yHP z5-9!t1yhpGC~m_~C&Be?-UH#XxP6u5C%i+4y2vBnzD9dp6%@4Z>YiJZkty$3OR>r| zCrTFjqi%u5w*>NBbs1PHS(6L|ixMc^Qg<;t`VHmH+GsLefAEJT$tyOo!5Zz9cS&*K z73wod5mU(lyIqI#n$r|})dcljs*U8TjiB{u?Wm~mQ=p8%Biz5z?VK-g-^qbbn(0tR zjK`mo88ZGwCJWr#&;`fqimQ*3(()ySDH#Y>bl|uCQH&X*IPR{A^v0hkpV&}?k9REa zt1%`xB?=UEhPl$kk;aZBpAgN!lvER}nPP+9@NR)FnmXZ!KpBBYzK`_IFsa44me<0T?4zWR4g#uf|t(cg0l)bV5@D4 zwInFuIA((_RCVSZzcZ!t#-BOhXN4^={17+})%?l8hlV2G$c8`BNmbo1qb-zitotte`KF0f z9u?SYwgql@mw_|axZuLEHn?D@1%5gQ9tg&0(nYpkT}d9>k3bxk;DG&aFmTLR6C82X z0zZ!@(0WU2Ym%bnYjBYuK)&XPBhz_>NftP_wFY8`$I|+^7Nn;_;o3eZ6#14mJkM** z#~zOGwlgS8YL9l7u#tC{IdHzWqGE^ZD!tP#s(XYw7_68lN3GQCJ?L7awK`96{e*A^BxP{RW)(?S@pV$sE(%u z;UoP&Z-B`6xxNkH>$20+Q&5mT<)(=OYYSUaZ~2t+Vj(7-SN>G7WQ;345G-Oza%+$+ zsh^Ey@S@pF_#X~|mS^!QaQV#2pUvqaz0w|2QVfoBz*-|*NnYTB2EM*Yd5`^$bbX4t z5Eix2$Vb=!BQk{|-}Q!Pf~VT=Kf9O7fdZP}8DpcM%XLh!`n$@1U#`Kg-%xaFxY7f` zC`*!8?gi>Qi@NX0(?K8!Yt^TtAZyu5Zoa zM9KVP=>PKXt7DKFJt#-h=fCZHq889bhDqf%l>AY7`htOAP6juYn3DR|ITpN%sy+HwUy{=L+HXBH3^eKga{UT84F1hVpohef?}fvIRjDTU?h^D?2~1|*e06zH zch0%+a~qYX9E9rw3n||kfCpOLx1!{aelS=Am)>?HdDRCDUivazccM-B=BXOEqoMNO z#*k7_D_(~4@`spo-D#t|!ek5nPhqh6c~uj*ItTbSg8IB?-%#Y+;b^amk3#o#@#*g$ zrxK{hdSANW8{L$5X{&s4eZ}f47%gD>_(hszpw+Jyd}wF5zG|s0oyWCwB%7Z;1?uhk zC@%CWd150bm+M>AK_|XTBPDl}6~_#=r1P>{Y)O5QxBpf1NBJZ6@FlJayMO54+zn@h z?LXVs>0lxIV?%67o_(AKcF3+gS9Q2Pv6PAQ+{Hnv_N26a^NzNp?y4HVKPpE`o^%uB zofDaK{=BLQJoDcUyy7NMoXDcVySX-)>z49Xl}IU{z>A95DwNMib-D9sS~wMWLMZYL zanVPC`$v4}-;`vs0A9jT1?*7!fj3)XAw6mqsBgcg_{RxHrUzR6=}PhfpV^Z7jROqc zwvhvW|4Ze?y14KMCkeFPsh{Ay)FDl}xLO3%zfE$a>o?1Syv9@)etWwGsvBX()%;cH z%MI6YEn+8t?+tceL$9a3%VeIsRc_?Xt8G%=93>FdTuqEm z!)4B6Z?Na16$(c6m+${)qxt`f()<6#bCt|lE=QH@^|Ljj@Bekm{6VGU2Sk>D+gR3=Yo6NgY?aJQu@1jr{QAoc@4fX zp9z+{PN3!IPgvj%b(|XWEEE1=GXgDd+7d4Q&Z@z;<{(h|DDHw26KqNGml{K5oTg{| zw|6{o9#u~chDIJK5grB|TiO3jRU>_xhC=R+aX`Mq1<$@|gTL>vz!Nnz@cto3lI99x z@FQOk=*NxSYr`+^a=<3)m@sZka^XMyX@kEMW#E?6CfKlmEh(J$9r%^e4BS$cAU8rO zM^ZTQc}X9dixMxKJP~~O0xQ%f@{oz}H2M_3?~2k`7h*F17DXnY9HYe%Te|U03ky7v zN}%O=?z(WdK9dXtH&~KJn(Ii4abr#R$wbAt`7ZoiJ_hdkOZnl7%6Aq}UbiSH#-^zB zQ!!?g%y&ycThZJ3Q-^d|o-EixG86Y5i3}2P_uQz>Q56Hw|>)!v`o|T+4#L`X-YU z)vprh?^o2Zz>nTi?oE{>Mxdh8@07_=6m!OYjyy`j7qhQ-$oTF>jq;%SGheacIK|Xs zluYTV#Ta<`OB>ui6r@QXP592SuB1qwqBecx0$0bvg{;~sGmR$>YT0?-Bl3udLXSGnV|>?!V(nfRd3VWa zfzgYZq*%Vhgb#Vq0Y6-zI3&%L{^+wobJCG6EYp_hMxTx*m?yyj^EXvKw2B5F^P}P# zRgO`72wV)AVqy8f`3~5Bh6|qYVz#{f{8?dnuT1+{hMN$107SS4sOn?WA{ni`?Dc#a zvVXy5lH#3r9C%V^0)^3|r1Fp3n$iQoub8B<;8_B#KdiGWX^g3Ff+agLuuVe??0cO+ z%fA}nf;+xf{&YRKST@2$`rMutIDVo7CaObQ3{zcT##d@r$2AMTl-57;fQRzl9;T3e zV?K=bag;Otl=$&3*zjMPq*%HXG^U@jr5lM+3|!GglcX83EqH1kCMkw(GU1ayAkg}+ zRCB=&-eWzY$g}qTRR4{S+|`MZ z2RnoZ_fg#bGgaGtD*tDiI4Gwm2gR;CHhka-26n$-f}g2fOS{^J&-sHuarb=HgnwAU zg5P|DK=HRJ4LAA>Q~dCv;;eowN-mH3!<7{KKX%}s{B447-M7K;K#yIx5~L5yqGtQ! zel$nVkjUd5DtSGf6ukeG)$AAw5&!HmWntoUO$)p%;50=9lWrJY6cfGy1Hn&Rq_uYY(BM@sGB9}4l@#}yJK)m2pwXeVCEaLtT6wqMm~$m1S-;rn_#jFge4%--nJ#0DE)a=>b9lz&~rf-kvYf`_L$ zlJxOA2H*c7DEj(9b-FKuLdFC*1!35>gx0vw0{}5>TsH$+0{?L&w605qB zM(-E`arE1YU+;IMi$rwyQLBnW;EBCY8cK*b{vn62f%l!yjNlMeMAmf0YzHk_l<~|| z2kbYPK;G*M8*Doa33!xYhX*YiN(eJ zaM3B9A-(kvCivbj1p50ixtXL;6`p2@!7wj6pM@LvL6L_)`1ZE1pToG_z(&>!K2nUY zN=il5R}GM{w21PJ?bY%lHJMx<2(Gjwja>(9Nik>|fjlWE+^Dlj`ROAJ>6@5JpLxWA z_im_3inB=s;)D-DWA+BcWy=&z3Ar2%J6+EFSCw7v?V*u}KZNhbsy_B`!$?h$nbW|s z*$&ufg9euAW`lNJ6Wmmtfj6FaBp-#ox4R}?4EV>AG^Si;;OqCm7RC2i@EJ#KaA{fP z9XMQ^Y~;vvaj=IbX)H=(;PO@k@@4ByNuiE!dQk*VuAivr;buM`ty(Z@ft>%ZP`=W6 zE99x3J1&>V`Cg7L*?VUjkacL5v6(-~^f|5Yzxj`bTt=QP&wB(_CFZeL4Eb}a8Q>zp zp`Xs^LthMR_lm1n&;dWl$-vt6Y{@|ISpuy;HC6)~wP9eZ$#DJlEfb#iYZq+Pm_X~l zu~GwL`YIk%%@W_1*Fk!(LMq*!Zo(%gDdtrblyAeRTe+9$zy3Y?bsf;|gRbrRbqw_g zMV>6ryS}E_{g0sdwgsxJ&9;NG=DzBJpXM>a84oRRR|^IvRwKyR%i8dJcNM$8sc3Da zWQwuw4GTw?qQ+TgN(l+T!B!reo*q$tr9#lT=@D4U?BK{3BS6W zK)+|yb_R|}bim?Y+u*@i#f^1HX}z@ZF1Trj1^%9FN{TL5K)&u9CY|pti+3~zrXJpvE>n;A*SjwG>Ef@{*LA{uC?q0POKeWJ~zE?inG^NvS zb|m@FaSU9xk3c?mmIc=T*#S50F(pNX?jYY*$dS%>>`}bnmG8X^#djQ6>AN(B^(Gaz zz(ME^3O{1;Pq*4X6nRQKZ$N+y+Sf-Q7B@3xrs70%4Xpj54UWrif}@raXt}9cQ!%}} zBmL1>!)XuT{A@WU(?#MD#b-;I@K5#xZ@^Pp1E4J@3)-3Dj}#S^A^B-9Hq0YCLaPtqk1v28q}>pUI5Hu01F~eDXEisB+gr zdTOi#URVM*if`1U2ZCJ*^mn(jfc!>w8@~QM#i89T_?=zKlW&pI`ukE9Q~za4=U37k z$rkLEDJc$q1Q*-KYw$J+wj@`l8)j6&X@?GK|J?<>EERcPJYV3xt1Hprrh@`DXC_d= zD`vxu=HF=W)n8cPZ?kMLEgzE%1VfgjQSJ)J?@R^7S8FMm@=5s41XoQ{{(VculW#Mm zAFF9e@~hS1#*NCP^mp6x+u+fl^6g2cbbbdfPB5c6dJUcoyl*Jda2J3VLX|5C#-esjD$uGX{!u4nd zzI@pP>-?d-*Gn4Q9HFS+aHR9QH(g1ia4}Hy%WO**6%!a(zLX=$FW~kue2Gc>JACWd zBNTaFyo@upzlUF>thSK%lrkoGt0)6UlyJc7bv5wv$1Zp`Xh{ZwDFphh9c!ABB5O|z zTU*kqIjsxudr zhj#|NGj>Agznv0K?qlB>Thx5pMt-k`82DbA33gcSfStE1UoqH)kEjIFq!1Q-^%+}| zuiBuz={QZgsQ(&)Sg(i;<{jgJV_Lgl^#l#fQW!Ko&ZB%#FB9p*MiOW{gy)3Gf~UeX ztq>lQdaXD*JwuV_#PjWAe*>N+lO^-!SH86+MUWAQRZf{;33Z(>roXAdXUrkUecaB4 zudK=>`8W#{`IcGIMV_}cu*@yRyl*)0_<^=0-t(NNN*aM77M$OLi)G_o_{dl$ z$#)=DCRXB#l*Tm4c>9I^&0Kh@J4o(hUw;ViwVJY{{1%;b!9+# z@_UY?=)6pW7g6oD$cf{*f$9JWzx0S^Q#Snw^k95CA!7p!r>0`u>;!4X?Q{nkIqJM^Js%CE%=CMgO|cEI8B znj~+vRq-jyhI?NFxLhFamSK*lZha%5|=e^!4_qFdFtzVmBA#YtBm-?NZE_~=g zTT;J$hCtjLYk`+0X_EBHlPSsTo_8hn%ZW^q=lI2ePq?SSOVngw_NU6|0t;}{{^{|nRrIEU)~6xaNr4{$b-(qT|YG+o7{>Q{oa-t z^ZKhm{aSkyzGVi13iJ+k{ZuOkzt{xnfnXL>IBi$5I4ZFYP5bk4x3y>H8h-FwE!)f{CNZ9PzVhc~9x!gk9Lhd#CF6F^W9iczdIND}C%q?mp1XTPGj1?_$$@$| zo<7O~srBkzT;7`T6;t|c?lzoW=WMh8{pZ98>7H1Zzftv97FUcZpq zzN8g-_MIcPzdd8lb!timXn#z6iq4xYL+OVXGhSs)+v|U)QB$xf+x^Qs>3X5uo9)Y< z&d67l<6Vn&2u1kh-s5rluEqF)_W3XTRDj|-6IJ-`TE@lgY(L&_#duPD?uCIED(Ck- z(S_-EH)`+Bz0if}2fEwsbFX88aT`|^d&Xw`GqL{c`XP+JR{z@>F|=O2@jtg8xRdd$ z3(M3k){XI|qZ)m+`ES~eucub~@*T$W_b*R5Q@qWdKWvp|{PSj+3Lm^f+heu0uSX({ z1p2Md+~E@`&XM;@b?BXuuPWzJoDsgT_jsKC?vhXHR&HP87sh8AbEl4KOK*Ukt+i;@ zCdL=Pw6SmH+l)7eTD0ryhKxT`H0#5-`ivJFnOy(a4i-q6JAA^I&(iNSFE%?fh4Gh1 zFRi?@ znm^O*{4X&6&eN|f?XiY&zWsS?PGcsrTwY$VY=?||RXLC1jPNPF$K&+%knnE(=Re!z zSDF~~@7Ml3bC9;{@TObt-lF={ctOYE>lhEn%}|^1=-PQpe}9wl+==U2#${oFx(m|E z)I87letJY>ao!T z4R=4jM*H)rmB%YtR8FZ{Ll-xvc&N6-e#f{mFLrkRZyDe4Th%pfZ)D`F%6SxLgzx4( z9;femnt$2ixtSk*$oLOykM-I{#~F`)@z)RNxZA$dykdRMxIU%Y!Nyb{<7+yXuiR%m zrgi7EGZk6WX5)K~PNz5~m3(+P$D532yVIgIr?}sV7O5wDG5uPUIQ?@uio5lYV>4DW z-uYUI(Y+eb@@>Ot4^ut)xov#*{#0*%NT~II%B?qPZnr749YuvY?=C6B`0`qXf7n?n zBVSdH7iW)9FSv;lDL7!CQ+#QMs)n zy~&KcwxozJPN2U_u4#dXs%zk~Ad?i0&M05^v;~ivX-o1e3te#OZcS1=RndfRys4O+ z$A!nLYsqj=pJ;^p2HL;!aZ;a9n+Bw$O%_CwzNB&}8C(53F$EDkrq{uXi z!Bd;NVE^Hoq=9GsSG7_3 zmE$ga^#qmvS2e|XT_~B>Z!r(ly@zN#+;{E09KuyjAv~J6r|6@d?0+GKciM(> zgmuM1ITt#j9PvVV)2HwIpd$L;}TI`=Kkz`z|rT12+le_9o?1ZZPf~1MW$;K|Wg}(pj&wHyETgo=4$LReAjO4MqO^oi`wy>a%|e z7e0S87tG#Pu$JGg?|&s=Qg&$PE}p-^Gl}Wqx=5UT`IjJvt&B&SxWh9I~{oM z874T{+qFsWTJQ;DU2wxZ<@+l;@aZ3!VCBCUctLl;>fWG-AMiRz#`I`1?BSuvAHRD} zO>-;5_MeV!zH1}fmE{zdf6b(e`1T;*THBP)*O#&-MZuq#WFYvG@~GNyK47vX)A`!P z4miei!GkZ@;MXy5k=X_L)KezXw|`2Yd`qT*{J2*W=AY4IIuBj8z%dx;LhE5iXN3La zbH~1+$lt>A?Rj61k0^VFN}!@Hdo9evrVjk-bQe6ch=Hlm1p2AXU$P_v!Fn#-=))xW zz$gd2($EFhd5yr|F*f{|I!HwJaSq(Mrh&WPCs4iv8d+fR2_V1njwzjc@2qn5\u001b[39m \u001b[38;5;241m0\u001b[39m:\n\u001b[0;32m 70\u001b[0m set_clause \u001b[38;5;241m=\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m, \u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;241m.\u001b[39mjoin([\u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;132;01m{\u001b[39;00mkey\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m = \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m{\u001b[39;00mvalue\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m\"\u001b[39m \u001b[38;5;28;01mfor\u001b[39;00m key, value \u001b[38;5;129;01min\u001b[39;00m row_dict\u001b[38;5;241m.\u001b[39mitems()])\n\u001b[1;32m---> 71\u001b[0m sqlitedb\u001b[38;5;241m.\u001b[39mupdate_data(\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtrueandpredict\u001b[39m\u001b[38;5;124m'\u001b[39m,set_clause,where_condition \u001b[38;5;241m=\u001b[39m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mds = \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m{\u001b[39;00mrow\u001b[38;5;241m.\u001b[39mds\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m\"\u001b[39m)\n\u001b[0;32m 72\u001b[0m \u001b[38;5;28;01mcontinue\u001b[39;00m\n\u001b[0;32m 73\u001b[0m sqlitedb\u001b[38;5;241m.\u001b[39minsert_data(\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mtrueandpredict\u001b[39m\u001b[38;5;124m'\u001b[39m,\u001b[38;5;28mtuple\u001b[39m(row_dict\u001b[38;5;241m.\u001b[39mvalues()),columns\u001b[38;5;241m=\u001b[39mrow_dict\u001b[38;5;241m.\u001b[39mkeys())\n", - "File \u001b[1;32md:\\code\\PriceForecast\\lib\\tools.py:416\u001b[0m, in \u001b[0;36mSQLiteHandler.update_data\u001b[1;34m(self, table_name, set_values, where_condition)\u001b[0m\n\u001b[0;32m 414\u001b[0m logger\u001b[38;5;241m.\u001b[39minfo(\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m更新数据sql\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;241m+\u001b[39m query)\n\u001b[0;32m 415\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mexecute_query(query)\n\u001b[1;32m--> 416\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mcommit()\n", - "File \u001b[1;32md:\\code\\PriceForecast\\lib\\tools.py:380\u001b[0m, in \u001b[0;36mSQLiteHandler.commit\u001b[1;34m(self)\u001b[0m\n\u001b[0;32m 379\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mcommit\u001b[39m(\u001b[38;5;28mself\u001b[39m):\n\u001b[1;32m--> 380\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mconnection\u001b[38;5;241m.\u001b[39mcommit()\n", - "\u001b[1;31mOperationalError\u001b[0m: database is locked" - ] + "data": { + "text/plain": [ + "
" + ] + }, + "metadata": {}, + "output_type": "display_data" } ], "source": [ "# 读取配置\n", - "# from config_jingbo import *\n", + "from config_jingbo import *\n", "# from config_tansuanli import *\n", - "from config_juxiting import *\n", + "# from config_juxiting import *\n", "from lib.dataread import *\n", "from lib.tools import *\n", "from models.nerulforcastmodels import ex_Model,model_losss,brent_export_pdf,tansuanli_export_pdf,pp_export_pdf,model_losss_juxiting\n", @@ -1716,7 +2772,7 @@ "sqlitedb = SQLiteHandler(db_name) \n", "sqlitedb.connect()\n", "\n", - "\n", + "# def predict_main():\n", "signature = BinanceAPI(APPID, SECRET)\n", "etadata = EtaReader(signature=signature,\n", " classifylisturl = classifylisturl,\n", @@ -1742,8 +2798,8 @@ " edbbusinessurl=edbbusinessurl,\n", " )\n", "\n", - " df_zhibiaoshuju,df_zhibiaoliebiao = etadata.get_eta_api_yuanyou_data(data_set=data_set,dataset=dataset) # 原始数据,未处理\n", - " # df_zhibiaoshuju,df_zhibiaoliebiao = etadata.get_eta_api_pp_data(data_set=data_set,dataset=dataset) # 原始数据,未处理\n", + " # df_zhibiaoshuju,df_zhibiaoliebiao = etadata.get_eta_api_yuanyou_data(data_set=data_set,dataset=dataset) # 原始数据,未处理\n", + " df_zhibiaoshuju,df_zhibiaoliebiao = etadata.get_eta_api_pp_data(data_set=data_set,dataset=dataset) # 原始数据,未处理\n", "\n", " \n", " # 数据处理\n", @@ -1768,6 +2824,7 @@ "else:\n", " for row in first_row.itertuples(index=False):\n", " row_dict = row._asdict()\n", + " row_dict['ds'] = row_dict['ds'].strftime('%Y-%m-%d %H:%M:%S')\n", " check_query = sqlitedb.select_data('trueandpredict',where_condition = f\"ds = '{row.ds}'\")\n", " if len(check_query) > 0:\n", " set_clause = \", \".join([f\"{key} = '{value}'\" for key, value in row_dict.items()])\n", @@ -1777,29 +2834,34 @@ "\n", "import datetime\n", "# 判断当前日期是不是周一\n", - "is_weekday = datetime.datetime.now().weekday() == 3\n", + "is_weekday = datetime.datetime.now().weekday() == 4\n", "if is_weekday:\n", " logger.info('今天是周一,更新预测模型')\n", - " # 计算最近20天预测残差最低的模型名称\n", + " try:\n", + " # 计算最近20天预测残差最低的模型名称\n", "\n", - " model_results = sqlitedb.select_data('trueandpredict',order_by = \"ds DESC\",limit = \"20\")\n", - " model_results = model_results.dropna()\n", - " modelnames = model_results.columns.to_list()[2:] \n", - " for col in model_results[modelnames].select_dtypes(include=['object']).columns:\n", - " model_results[col] = model_results[col].astype(np.float32)\n", - " # 计算每个预测值与真实值之间的偏差率\n", - " for model in modelnames:\n", - " model_results[f'{model}_abs_error_rate'] = abs(model_results['y'] - model_results[model]) / model_results['y']\n", + " model_results = sqlitedb.select_data('trueandpredict',order_by = \"ds DESC\",limit = \"20\")\n", + " model_results = model_results.dropna()\n", + " modelnames = model_results.columns.to_list()[2:] \n", + " for col in model_results[modelnames].select_dtypes(include=['object']).columns:\n", + " model_results[col] = model_results[col].astype(np.float32)\n", + " # 计算每个预测值与真实值之间的偏差率\n", + " for model in modelnames:\n", + " model_results[f'{model}_abs_error_rate'] = abs(model_results['y'] - model_results[model]) / model_results['y']\n", "\n", - " # 获取每行对应的最小偏差率值\n", - " min_abs_error_rate_values = model_results.apply(lambda row: row[[f'{model}_abs_error_rate' for model in modelnames]].min(), axis=1)\n", - " # 获取每行对应的最小偏差率值对应的列名\n", - " min_abs_error_rate_column_name = model_results.apply(lambda row: row[[f'{model}_abs_error_rate' for model in modelnames]].idxmin(), axis=1)\n", - " # 将列名索引转换为列名\n", - " min_abs_error_rate_column_name = min_abs_error_rate_column_name.map(lambda x: x.split('_')[0])\n", - " # 取出现次数最多的模型名称\n", - " most_common_model = min_abs_error_rate_column_name.value_counts().idxmax()\n", - " logger.info(f\"最近20天预测残差最低的模型名称:{most_common_model}\")\n", + " # 获取每行对应的最小偏差率值\n", + " min_abs_error_rate_values = model_results.apply(lambda row: row[[f'{model}_abs_error_rate' for model in modelnames]].min(), axis=1)\n", + " # 获取每行对应的最小偏差率值对应的列名\n", + " min_abs_error_rate_column_name = model_results.apply(lambda row: row[[f'{model}_abs_error_rate' for model in modelnames]].idxmin(), axis=1)\n", + " # 将列名索引转换为列名\n", + " min_abs_error_rate_column_name = min_abs_error_rate_column_name.map(lambda x: x.split('_')[0])\n", + " # 取出现次数最多的模型名称\n", + " most_common_model = min_abs_error_rate_column_name.value_counts().idxmax()\n", + " logger.info(f\"最近20天预测残差最低的模型名称:{most_common_model}\")\n", + " except Exception as e:\n", + " logger.error(f\"最近20天预测残差最低的模型名称计算失败:{e}\")\n", + " # 取txt中的模型名称\n", + " most_common_model = pd.read_csv(os.path.join(dataset,'best_modelnames.txt'),header=None).values.flatten().tolist()[0]\n", "\n", " # 保存结果到数据库\n", " \n", @@ -1816,51 +2878,57 @@ " df = corr_feature(df=df)\n", "\n", "df1 = df.copy() # 备份一下,后面特征筛选完之后加入ds y 列用\n", - "logger.info(f\"开始训练模型...\")\n", - "row,col = df.shape\n", "\n", - "now = datetime.datetime.now().strftime('%Y%m%d%H%M%S')\n", - "\n", - "\n" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "83c81b9e", - "metadata": {}, - "outputs": [], - "source": [ - "\n", - "df1 = df.copy() # 备份一下,后面特征筛选完之后加入ds y 列用\n", - "logger.info(f\"开始训练模型...\")\n", - "row,col = df.shape\n", - "\n", - "now = datetime.datetime.now().strftime('%Y%m%d%H%M%S')\n", - "ex_Model(df,\n", - " horizon=horizon,\n", - " input_size=input_size,\n", - " train_steps=train_steps,\n", - " val_check_steps=val_check_steps,\n", - " early_stop_patience_steps=early_stop_patience_steps,\n", - " is_debug=is_debug,\n", - " dataset=dataset,\n", - " is_train=is_train,\n", - " is_fivemodels=is_fivemodels,\n", - " val_size=val_size,\n", - " test_size=test_size,\n", - " settings=settings,\n", - " now=now,\n", - " etadata = etadata,\n", - " modelsindex = modelsindex,\n", - " data = data,\n", - " is_eta=is_eta,\n", - " )" + " \n" ] }, { "cell_type": "code", "execution_count": 5, + "id": "83c81b9e", + "metadata": {}, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "开始训练模型...\n", + "模型训练完成\n" + ] + } + ], + "source": [ + "logger.info(f\"开始训练模型...\")\n", + "row,col = df.shape\n", + "\n", + "now = datetime.datetime.now().strftime('%Y%m%d%H%M%S')\n", + "# ex_Model(df,\n", + "# horizon=horizon,\n", + "# input_size=input_size,\n", + "# train_steps=train_steps,\n", + "# val_check_steps=val_check_steps,\n", + "# early_stop_patience_steps=early_stop_patience_steps,\n", + "# is_debug=is_debug,\n", + "# dataset=dataset,\n", + "# is_train=is_train,\n", + "# is_fivemodels=is_fivemodels,\n", + "# val_size=val_size,\n", + "# test_size=test_size,\n", + "# settings=settings,\n", + "# now=now,\n", + "# etadata = etadata,\n", + "# modelsindex = modelsindex,\n", + "# data = data,\n", + "# is_eta=is_eta,\n", + "# )\n", + "\n", + "\n", + "logger.info('模型训练完成')" + ] + }, + { + "cell_type": "code", + "execution_count": 2, "id": "2b330ee3-c006-4ab1-8558-59c51ac8d86f", "metadata": {}, "outputs": [ @@ -1868,13 +2936,30279 @@ "name": "stderr", "output_type": "stream", "text": [ - "d:\\code\\PriceForecast\\models\\nerulforcastmodels.py:617: SettingWithCopyWarning: \n", + "训练数据绘图ing\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " df_combined3[['min_within_quantile', 'max_within_quantile','min_model','max_model']] = df_combined3.apply(find_min_max_within_quantile, axis=1)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " logger.info(min_model,q10,max_model,q90)\n", + "Message: 'TSMixer'\n", + "Arguments: (77.69, 'BiTCN', 77.89)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " df_combined3[['min_within_quantile', 'max_within_quantile','min_model','max_model']] = df_combined3.apply(find_min_max_within_quantile, axis=1)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " logger.info(min_model,q10,max_model,q90)\n", + "Message: 'TSMixer'\n", + "Arguments: (77.69, 'BiTCN', 77.89)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (78.86, 'DilatedRNN', 80.24)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (78.86, 'DilatedRNN', 80.24)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TFT'\n", + "Arguments: (78.6, 'BiTCN', 78.85)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TFT'\n", + "Arguments: (78.6, 'BiTCN', 78.85)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TFT'\n", + "Arguments: (79.08, 'LSTM', 80.04)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TFT'\n", + "Arguments: (79.08, 'LSTM', 80.04)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (80.47, 'DilatedRNN', 81.64)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (80.47, 'DilatedRNN', 81.64)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLP'\n", + "Arguments: (81.57, 'LSTM', 82.71)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLP'\n", + "Arguments: (81.57, 'LSTM', 82.71)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'BiTCN'\n", + "Arguments: (81.01, 'TSMixer', 81.69)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'BiTCN'\n", + "Arguments: (81.01, 'TSMixer', 81.69)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DLinear'\n", + "Arguments: (81.53, 'LSTM', 82.36)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DLinear'\n", + "Arguments: (81.53, 'LSTM', 82.36)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (77.65, 'MLPMultivariate', 81.19)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (77.65, 'MLPMultivariate', 81.19)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'iTransformer'\n", + "Arguments: (77.73, 'TFT', 80.45)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'iTransformer'\n", + "Arguments: (77.73, 'TFT', 80.45)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'iTransformer'\n", + "Arguments: (74.76, 'DeepNPTS', 78.63)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'iTransformer'\n", + "Arguments: (74.76, 'DeepNPTS', 78.63)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'NLinear'\n", + "Arguments: (77.43, 'TiDE', 77.9)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'NLinear'\n", + "Arguments: (77.43, 'TiDE', 77.9)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'BiTCN'\n", + "Arguments: (78.11, 'DeepNPTS', 78.36)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'BiTCN'\n", + "Arguments: (78.11, 'DeepNPTS', 78.36)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'NLinear'\n", + "Arguments: (78.71, 'TSMixerx', 79.5)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'NLinear'\n", + "Arguments: (78.71, 'TSMixerx', 79.5)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (80.05, 'DilatedRNN', 81.43)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (80.05, 'DilatedRNN', 81.43)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixerx'\n", + "Arguments: (81.12, 'LSTM', 82.24)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixerx'\n", + "Arguments: (81.12, 'LSTM', 82.24)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixerx'\n", + "Arguments: (81.44, 'TiDE', 81.68)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixerx'\n", + "Arguments: (81.44, 'TiDE', 81.68)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLP'\n", + "Arguments: (81.62, 'LSTM', 82.47)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLP'\n", + "Arguments: (81.62, 'LSTM', 82.47)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TFT'\n", + "Arguments: (79.04, 'Informer', 81.82)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TFT'\n", + "Arguments: (79.04, 'Informer', 81.82)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (81.89, 'DilatedRNN', 83.25)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (81.89, 'DilatedRNN', 83.25)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DLinear'\n", + "Arguments: (82.26, 'GRU', 83.18)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DLinear'\n", + "Arguments: (82.26, 'GRU', 83.18)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TiDE'\n", + "Arguments: (82.65, 'PatchTST', 83.4)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TiDE'\n", + "Arguments: (82.65, 'PatchTST', 83.4)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLPMultivariate'\n", + "Arguments: (79.8, 'BiTCN', 82.3)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLPMultivariate'\n", + "Arguments: (79.8, 'BiTCN', 82.3)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'BiTCN'\n", + "Arguments: (81.85, 'LSTM', 82.52)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'BiTCN'\n", + "Arguments: (81.85, 'LSTM', 82.52)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'PatchTST'\n", + "Arguments: (82.32, 'LSTM', 83.21)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'PatchTST'\n", + "Arguments: (82.32, 'LSTM', 83.21)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'StemGNN'\n", + "Arguments: (79.55, 'MLPMultivariate', 81.48)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'StemGNN'\n", + "Arguments: (79.55, 'MLPMultivariate', 81.48)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TiDE'\n", + "Arguments: (81.61, 'PatchTST', 81.85)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TiDE'\n", + "Arguments: (81.61, 'PatchTST', 81.85)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TiDE'\n", + "Arguments: (82.29, 'LSTM', 82.88)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TiDE'\n", + "Arguments: (82.29, 'LSTM', 82.88)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'BiTCN'\n", + "Arguments: (81.97, 'TSMixer', 82.33)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'BiTCN'\n", + "Arguments: (81.97, 'TSMixer', 82.33)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TFT'\n", + "Arguments: (81.78, 'DeepNPTS', 82.15)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TFT'\n", + "Arguments: (81.78, 'DeepNPTS', 82.15)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (82.88, 'DilatedRNN', 84.17)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (82.88, 'DilatedRNN', 84.17)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLPMultivariate'\n", + "Arguments: (81.73, 'MLP', 82.94)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLPMultivariate'\n", + "Arguments: (81.73, 'MLP', 82.94)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLPMultivariate'\n", + "Arguments: (81.26, 'DeepNPTS', 82.81)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLPMultivariate'\n", + "Arguments: (81.26, 'DeepNPTS', 82.81)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLP'\n", + "Arguments: (82.84, 'LSTM', 83.06)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLP'\n", + "Arguments: (82.84, 'LSTM', 83.06)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'iTransformer'\n", + "Arguments: (82.67, 'NHITS', 83.14)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'iTransformer'\n", + "Arguments: (82.67, 'NHITS', 83.14)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'StemGNN'\n", + "Arguments: (80.89, 'DeepNPTS', 82.96)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'StemGNN'\n", + "Arguments: (80.89, 'DeepNPTS', 82.96)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'iTransformer'\n", + "Arguments: (81.97, 'TSMixerx', 82.41)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'iTransformer'\n", + "Arguments: (81.97, 'TSMixerx', 82.41)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'StemGNN'\n", + "Arguments: (81.1, 'TFT', 81.99)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'StemGNN'\n", + "Arguments: (81.1, 'TFT', 81.99)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (82.93, 'DilatedRNN', 84.31)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (82.93, 'DilatedRNN', 84.31)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'LSTM'\n", + "Arguments: (84.9, 'DilatedRNN', 85.99)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'LSTM'\n", + "Arguments: (84.9, 'DilatedRNN', 85.99)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'Informer'\n", + "Arguments: (85.11, 'DeepNPTS', 85.42)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'Informer'\n", + "Arguments: (85.11, 'DeepNPTS', 85.42)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixerx'\n", + "Arguments: (85.71, 'DilatedRNN', 87.06)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixerx'\n", + "Arguments: (85.71, 'DilatedRNN', 87.06)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (87.12, 'DilatedRNN', 88.24)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (87.12, 'DilatedRNN', 88.24)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'StemGNN'\n", + "Arguments: (82.17, 'iTransformer', 86.6)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'StemGNN'\n", + "Arguments: (82.17, 'iTransformer', 86.6)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'StemGNN'\n", + "Arguments: (82.32, 'DeepNPTS', 85.38)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'StemGNN'\n", + "Arguments: (82.32, 'DeepNPTS', 85.38)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'StemGNN'\n", + "Arguments: (82.42, 'DeepNPTS', 85.23)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'StemGNN'\n", + "Arguments: (82.42, 'DeepNPTS', 85.23)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (85.61, 'DilatedRNN', 86.99)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (85.61, 'DilatedRNN', 86.99)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'BiTCN'\n", + "Arguments: (85.6, 'PatchTST', 85.9)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'BiTCN'\n", + "Arguments: (85.6, 'PatchTST', 85.9)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'BiTCN'\n", + "Arguments: (85.34, 'DLinear', 85.57)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'BiTCN'\n", + "Arguments: (85.34, 'DLinear', 85.57)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'Informer'\n", + "Arguments: (86.52, 'iTransformer', 87.63)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'Informer'\n", + "Arguments: (86.52, 'iTransformer', 87.63)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'NHITS'\n", + "Arguments: (87.17, 'LSTM', 87.48)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'NHITS'\n", + "Arguments: (87.17, 'LSTM', 87.48)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'LSTM'\n", + "Arguments: (87.71, 'DilatedRNN', 89.07)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'LSTM'\n", + "Arguments: (87.71, 'DilatedRNN', 89.07)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'NLinear'\n", + "Arguments: (89.15, 'DilatedRNN', 90.11)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'NLinear'\n", + "Arguments: (89.15, 'DilatedRNN', 90.11)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TiDE'\n", + "Arguments: (89.59, 'DilatedRNN', 90.51)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TiDE'\n", + "Arguments: (89.59, 'DilatedRNN', 90.51)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TiDE'\n", + "Arguments: (90.68, 'DilatedRNN', 91.49)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TiDE'\n", + "Arguments: (90.68, 'DilatedRNN', 91.49)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'iTransformer'\n", + "Arguments: (89.58, 'TFT', 90.59)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'iTransformer'\n", + "Arguments: (89.58, 'TFT', 90.59)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLPMultivariate'\n", + "Arguments: (84.04, 'iTransformer', 89.63)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLPMultivariate'\n", + "Arguments: (84.04, 'iTransformer', 89.63)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DLinear'\n", + "Arguments: (90.28, 'Informer', 90.9)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DLinear'\n", + "Arguments: (90.28, 'Informer', 90.9)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLPMultivariate'\n", + "Arguments: (85.15, 'NLinear', 90.22)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLPMultivariate'\n", + "Arguments: (85.15, 'NLinear', 90.22)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TiDE'\n", + "Arguments: (90.31, 'NHITS', 90.66)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TiDE'\n", + "Arguments: (90.31, 'NHITS', 90.66)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TFT'\n", + "Arguments: (88.64, 'GRU', 90.44)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TFT'\n", + "Arguments: (88.64, 'GRU', 90.44)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'BiTCN'\n", + "Arguments: (89.79, 'DeepNPTS', 90.09)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'BiTCN'\n", + "Arguments: (89.79, 'DeepNPTS', 90.09)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLPMultivariate'\n", + "Arguments: (85.53, 'MLP', 89.17)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLPMultivariate'\n", + "Arguments: (85.53, 'MLP', 89.17)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLP'\n", + "Arguments: (86.82, 'NHITS', 87.41)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLP'\n", + "Arguments: (86.82, 'NHITS', 87.41)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DeepNPTS'\n", + "Arguments: (87.08, 'TSMixer', 87.56)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DeepNPTS'\n", + "Arguments: (87.08, 'TSMixer', 87.56)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'StemGNN'\n", + "Arguments: (86.28, 'NLinear', 87.46)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'StemGNN'\n", + "Arguments: (86.28, 'NLinear', 87.46)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DLinear'\n", + "Arguments: (87.23, 'TSMixer', 87.52)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DLinear'\n", + "Arguments: (87.23, 'TSMixer', 87.52)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLPMultivariate'\n", + "Arguments: (84.73, 'MLP', 87.4)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLPMultivariate'\n", + "Arguments: (84.73, 'MLP', 87.4)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'PatchTST'\n", + "Arguments: (87.7, 'DLinear', 87.98)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'PatchTST'\n", + "Arguments: (87.7, 'DLinear', 87.98)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (88.15, 'TFT', 88.4)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (88.15, 'TFT', 88.4)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'StemGNN'\n", + "Arguments: (86.95, 'TSMixer', 88.22)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'StemGNN'\n", + "Arguments: (86.95, 'TSMixer', 88.22)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLPMultivariate'\n", + "Arguments: (85.18, 'TFT', 87.11)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLPMultivariate'\n", + "Arguments: (85.18, 'TFT', 87.11)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'TSMixerx', 86.9)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'TSMixerx', 86.9)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'Informer', 84.12)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'Informer', 84.12)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'MLP', 83.93)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'MLP', 83.93)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (78.88, 'Informer', 83.46)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (78.88, 'Informer', 83.46)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLP'\n", + "Arguments: (82.61, 'TSMixerx', 83.35)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLP'\n", + "Arguments: (82.61, 'TSMixerx', 83.35)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixer'\n", + "Arguments: (83.31, 'BiTCN', 83.84)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixer'\n", + "Arguments: (83.31, 'BiTCN', 83.84)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'PatchTST'\n", + "Arguments: (83.78, 'BiTCN', 84.28)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'PatchTST'\n", + "Arguments: (83.78, 'BiTCN', 84.28)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'DLinear', 83.54)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'DLinear', 83.54)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'PatchTST'\n", + "Arguments: (83.29, 'LSTM', 83.69)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'PatchTST'\n", + "Arguments: (83.29, 'LSTM', 83.69)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'TiDE', 83.45)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'TiDE', 83.45)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'Informer'\n", + "Arguments: (82.02, 'TSMixerx', 82.9)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'Informer'\n", + "Arguments: (82.02, 'TSMixerx', 82.9)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixer'\n", + "Arguments: (83.14, 'Informer', 83.32)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixer'\n", + "Arguments: (83.14, 'Informer', 83.32)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'BiTCN'\n", + "Arguments: (83.55, 'GRU', 84.14)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'BiTCN'\n", + "Arguments: (83.55, 'GRU', 84.14)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'PatchTST'\n", + "Arguments: (83.47, 'BiTCN', 83.9)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'PatchTST'\n", + "Arguments: (83.47, 'BiTCN', 83.9)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (78.64, 'TiDE', 83.69)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (78.64, 'TiDE', 83.69)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (78.43, 'NHITS', 82.79)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (78.43, 'NHITS', 82.79)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'MLP', 82.27)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'MLP', 82.27)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'PatchTST'\n", + "Arguments: (81.8, 'TSMixer', 82.12)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'PatchTST'\n", + "Arguments: (81.8, 'TSMixer', 82.12)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DeepNPTS'\n", + "Arguments: (82.43, 'LSTM', 83.01)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DeepNPTS'\n", + "Arguments: (82.43, 'LSTM', 83.01)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (83.8, 'iTransformer', 85.46)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (83.8, 'iTransformer', 85.46)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DLinear'\n", + "Arguments: (83.19, 'BiTCN', 83.6)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DLinear'\n", + "Arguments: (83.19, 'BiTCN', 83.6)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'BiTCN', 83.0)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'BiTCN', 83.0)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (78.11, 'DLinear', 82.09)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (78.11, 'DLinear', 82.09)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'NHITS', 80.24)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'NHITS', 80.24)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'NHITS'\n", + "Arguments: (77.19, 'Informer', 78.42)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'NHITS'\n", + "Arguments: (77.19, 'Informer', 78.42)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLP'\n", + "Arguments: (77.37, 'TiDE', 78.49)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLP'\n", + "Arguments: (77.37, 'TiDE', 78.49)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixer'\n", + "Arguments: (79.16, 'LSTM', 79.98)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixer'\n", + "Arguments: (79.16, 'LSTM', 79.98)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'Informer'\n", + "Arguments: (79.44, 'TSMixerx', 79.71)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'Informer'\n", + "Arguments: (79.44, 'TSMixerx', 79.71)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (80.61, 'StemGNN', 84.17)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (80.61, 'StemGNN', 84.17)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'NLinear'\n", + "Arguments: (81.75, 'GRU', 82.59)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'NLinear'\n", + "Arguments: (81.75, 'GRU', 82.59)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixerx'\n", + "Arguments: (82.12, 'LSTM', 82.82)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixerx'\n", + "Arguments: (82.12, 'LSTM', 82.82)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixerx'\n", + "Arguments: (82.44, 'iTransformer', 83.46)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixerx'\n", + "Arguments: (82.44, 'iTransformer', 83.46)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixerx'\n", + "Arguments: (82.58, 'MLPMultivariate', 82.68)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixerx'\n", + "Arguments: (82.58, 'MLPMultivariate', 82.68)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (83.41, 'DilatedRNN', 84.64)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (83.41, 'DilatedRNN', 84.64)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'LSTM'\n", + "Arguments: (85.02, 'DilatedRNN', 85.99)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'LSTM'\n", + "Arguments: (85.02, 'DilatedRNN', 85.99)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixerx'\n", + "Arguments: (84.82, 'PatchTST', 85.24)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixerx'\n", + "Arguments: (84.82, 'PatchTST', 85.24)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (85.45, 'DilatedRNN', 86.83)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (85.45, 'DilatedRNN', 86.83)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'Informer'\n", + "Arguments: (84.12, 'TiDE', 84.76)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'Informer'\n", + "Arguments: (84.12, 'TiDE', 84.76)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (84.93, 'DilatedRNN', 86.4)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (84.93, 'DilatedRNN', 86.4)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (79.12, 'MLPMultivariate', 84.38)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (79.12, 'MLPMultivariate', 84.38)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'Informer'\n", + "Arguments: (83.74, 'MLP', 84.55)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'Informer'\n", + "Arguments: (83.74, 'MLP', 84.55)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TiDE'\n", + "Arguments: (85.06, 'LSTM', 85.29)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TiDE'\n", + "Arguments: (85.06, 'LSTM', 85.29)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DLinear'\n", + "Arguments: (84.76, 'TFT', 85.28)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DLinear'\n", + "Arguments: (84.76, 'TFT', 85.28)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (85.58, 'DilatedRNN', 87.07)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (85.58, 'DilatedRNN', 87.07)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TiDE'\n", + "Arguments: (86.17, 'DeepNPTS', 86.58)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TiDE'\n", + "Arguments: (86.17, 'DeepNPTS', 86.58)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (86.54, 'DilatedRNN', 88.08)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (86.54, 'DilatedRNN', 88.08)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TiDE'\n", + "Arguments: (87.19, 'TFT', 87.66)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TiDE'\n", + "Arguments: (87.19, 'TFT', 87.66)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (80.23, 'DLinear', 87.05)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (80.23, 'DLinear', 87.05)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (80.05, 'NHITS', 86.68)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (80.05, 'NHITS', 86.68)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (79.85, 'LSTM', 86.38)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (79.85, 'LSTM', 86.38)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'StemGNN'\n", + "Arguments: (83.59, 'TSMixerx', 85.44)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'StemGNN'\n", + "Arguments: (83.59, 'TSMixerx', 85.44)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'PatchTST'\n", + "Arguments: (85.31, 'BiTCN', 85.67)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'PatchTST'\n", + "Arguments: (85.31, 'BiTCN', 85.67)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'StemGNN'\n", + "Arguments: (83.71, 'PatchTST', 85.25)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'StemGNN'\n", + "Arguments: (83.71, 'PatchTST', 85.25)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'PatchTST'\n", + "Arguments: (84.7, 'TSMixer', 85.01)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'PatchTST'\n", + "Arguments: (84.7, 'TSMixer', 85.01)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'MLP', 84.31)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'MLP', 84.31)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (84.6, 'DilatedRNN', 86.13)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (84.6, 'DilatedRNN', 86.13)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DLinear'\n", + "Arguments: (85.05, 'BiTCN', 85.23)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DLinear'\n", + "Arguments: (85.05, 'BiTCN', 85.23)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'NLinear', 85.03)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'NLinear', 85.03)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (78.76, 'Informer', 82.92)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (78.76, 'Informer', 82.92)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (78.53, 'Informer', 82.32)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (78.53, 'Informer', 82.32)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DeepNPTS'\n", + "Arguments: (79.27, 'Informer', 81.21)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DeepNPTS'\n", + "Arguments: (79.27, 'Informer', 81.21)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'PatchTST'\n", + "Arguments: (81.29, 'Informer', 82.05)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'PatchTST'\n", + "Arguments: (81.29, 'Informer', 82.05)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'NLinear', 81.29)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'NLinear', 81.29)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'TFT', 80.69)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'TFT', 80.69)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'TSMixer', 80.0)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'TSMixer', 80.0)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'BiTCN'\n", + "Arguments: (80.61, 'Informer', 82.5)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'BiTCN'\n", + "Arguments: (80.61, 'Informer', 82.5)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'DLinear', 80.45)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'DLinear', 80.45)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'DeepNPTS', 79.42)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'DeepNPTS', 79.42)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'NHITS', 76.82)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'NHITS', 76.82)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (75.85, 'TSMixer', 76.88)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (75.85, 'TSMixer', 76.88)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'LSTM'\n", + "Arguments: (77.97, 'StemGNN', 83.59)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'LSTM'\n", + "Arguments: (77.97, 'StemGNN', 83.59)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixerx'\n", + "Arguments: (78.31, 'iTransformer', 79.68)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixerx'\n", + "Arguments: (78.31, 'iTransformer', 79.68)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TFT'\n", + "Arguments: (79.28, 'LSTM', 80.41)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TFT'\n", + "Arguments: (79.28, 'LSTM', 80.41)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'iTransformer'\n", + "Arguments: (81.0, 'StemGNN', 83.34)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'iTransformer'\n", + "Arguments: (81.0, 'StemGNN', 83.34)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (77.36, 'Informer', 81.05)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (77.36, 'Informer', 81.05)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'DLinear', 80.33)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'DLinear', 80.33)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (80.83, 'iTransformer', 82.62)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (80.83, 'iTransformer', 82.62)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'MLPMultivariate', 80.12)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'MLPMultivariate', 80.12)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'Informer', 79.68)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'Informer', 79.68)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'TSMixerx', 78.02)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'TSMixerx', 78.02)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'DLinear', 77.31)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'DLinear', 77.31)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TFT'\n", + "Arguments: (76.88, 'LSTM', 77.43)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TFT'\n", + "Arguments: (76.88, 'LSTM', 77.43)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'BiTCN'\n", + "Arguments: (77.86, 'GRU', 78.7)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'BiTCN'\n", + "Arguments: (77.86, 'GRU', 78.7)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (79.36, 'StemGNN', 81.9)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (79.36, 'StemGNN', 81.9)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'TSMixerx', 79.21)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'TSMixerx', 79.21)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'Informer', 77.88)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'Informer', 77.88)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLP'\n", + "Arguments: (78.62, 'MLPMultivariate', 78.98)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLP'\n", + "Arguments: (78.62, 'MLPMultivariate', 78.98)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'TFT', 78.39)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'TFT', 78.39)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'BiTCN'\n", + "Arguments: (77.19, 'DeepNPTS', 77.62)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'BiTCN'\n", + "Arguments: (77.19, 'DeepNPTS', 77.62)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'NLinear', 76.8)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'NLinear', 76.8)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'NLinear', 74.36)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'NLinear', 74.36)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'Informer', 73.33)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'Informer', 73.33)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'PatchTST', 73.04)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'PatchTST', 73.04)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'PatchTST'\n", + "Arguments: (71.77, 'TSMixer', 71.92)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'PatchTST'\n", + "Arguments: (71.77, 'TSMixer', 71.92)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'Informer', 71.82)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'Informer', 71.82)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'PatchTST'\n", + "Arguments: (70.54, 'TCN', 71.6)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'PatchTST'\n", + "Arguments: (70.54, 'TCN', 71.6)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (71.7, 'DeepNPTS', 72.3)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (71.7, 'DeepNPTS', 72.3)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'NHITS'\n", + "Arguments: (71.22, 'TiDE', 71.68)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'NHITS'\n", + "Arguments: (71.22, 'TiDE', 71.68)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'NHITS'\n", + "Arguments: (72.67, 'TFT', 73.11)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'NHITS'\n", + "Arguments: (72.67, 'TFT', 73.11)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TFT'\n", + "Arguments: (73.54, 'DeepNPTS', 74.26)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TFT'\n", + "Arguments: (73.54, 'DeepNPTS', 74.26)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DeepNPTS'\n", + "Arguments: (73.38, 'TSMixerx', 73.75)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DeepNPTS'\n", + "Arguments: (73.38, 'TSMixerx', 73.75)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (74.76, 'StemGNN', 77.14)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (74.76, 'StemGNN', 77.14)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'PatchTST'\n", + "Arguments: (74.35, 'iTransformer', 74.66)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'PatchTST'\n", + "Arguments: (74.35, 'iTransformer', 74.66)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'Informer'\n", + "Arguments: (72.35, 'NHITS', 73.56)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'Informer'\n", + "Arguments: (72.35, 'NHITS', 73.56)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (74.35, 'DilatedRNN', 75.4)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (74.35, 'DilatedRNN', 75.4)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'MLP', 73.88)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'MLP', 73.88)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'PatchTST', 72.62)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'PatchTST', 72.62)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TFT'\n", + "Arguments: (71.41, 'DLinear', 71.93)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TFT'\n", + "Arguments: (71.41, 'DLinear', 71.93)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DLinear'\n", + "Arguments: (71.6, 'TCN', 71.81)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DLinear'\n", + "Arguments: (71.6, 'TCN', 71.81)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'Informer'\n", + "Arguments: (72.82, 'DeepNPTS', 74.24)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'Informer'\n", + "Arguments: (72.82, 'DeepNPTS', 74.24)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLP'\n", + "Arguments: (73.66, 'TSMixerx', 74.4)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLP'\n", + "Arguments: (73.66, 'TSMixerx', 74.4)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLPMultivariate'\n", + "Arguments: (76.01, 'DilatedRNN', 76.17)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLPMultivariate'\n", + "Arguments: (76.01, 'DilatedRNN', 76.17)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TiDE'\n", + "Arguments: (77.32, 'MLPMultivariate', 78.5)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TiDE'\n", + "Arguments: (77.32, 'MLPMultivariate', 78.5)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'LSTM'\n", + "Arguments: (79.12, 'DilatedRNN', 80.21)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'LSTM'\n", + "Arguments: (79.12, 'DilatedRNN', 80.21)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'StemGNN'\n", + "Arguments: (75.63, 'iTransformer', 77.71)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'StemGNN'\n", + "Arguments: (75.63, 'iTransformer', 77.71)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixerx'\n", + "Arguments: (76.22, 'BiTCN', 77.19)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixerx'\n", + "Arguments: (76.22, 'BiTCN', 77.19)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLPMultivariate'\n", + "Arguments: (78.28, 'DilatedRNN', 78.8)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'MLPMultivariate'\n", + "Arguments: (78.28, 'DilatedRNN', 78.8)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TiDE'\n", + "Arguments: (79.01, 'PatchTST', 79.28)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TiDE'\n", + "Arguments: (79.01, 'PatchTST', 79.28)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'StemGNN'\n", + "Arguments: (75.38, 'iTransformer', 78.67)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'StemGNN'\n", + "Arguments: (75.38, 'iTransformer', 78.67)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'TCN', 75.62)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'TCN', 75.62)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixerx'\n", + "Arguments: (73.97, 'MLP', 74.53)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixerx'\n", + "Arguments: (73.97, 'MLP', 74.53)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (74.02, 'DLinear', 74.9)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TCN'\n", + "Arguments: (74.02, 'DLinear', 74.9)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'MLP', 73.82)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'RNN'\n", + "Arguments: (51.67, 'MLP', 73.82)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixer'\n", + "Arguments: (73.82, 'GRU', 74.35)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixer'\n", + "Arguments: (73.82, 'GRU', 74.35)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DeepNPTS'\n", + "Arguments: (75.16, 'DilatedRNN', 75.67)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'DeepNPTS'\n", + "Arguments: (75.16, 'DilatedRNN', 75.67)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (74.5, 'DilatedRNN', 75.72)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (74.5, 'DilatedRNN', 75.72)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixerx'\n", + "Arguments: (73.73, 'NHITS', 74.34)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'TSMixerx'\n", + "Arguments: (73.73, 'NHITS', 74.34)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 73, in emit\n", + " if self.shouldRollover(record):\n", + " ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\handlers.py\", line 196, in shouldRollover\n", + " msg = \"%s\\n\" % self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (74.98, 'MLP', 76.41)\n", + "--- Logging error ---\n", + "Traceback (most recent call last):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 1110, in emit\n", + " msg = self.format(record)\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 953, in format\n", + " return fmt.format(record)\n", + " ^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 687, in format\n", + " record.message = record.getMessage()\n", + " ^^^^^^^^^^^^^^^^^^^\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\logging\\__init__.py\", line 377, in getMessage\n", + " msg = msg % self.args\n", + " ~~~~^~~~~~~~~~~\n", + "TypeError: not all arguments converted during string formatting\n", + "Call stack:\n", + " File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel_launcher.py\", line 17, in \n", + " app.launch_new_instance()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\traitlets\\config\\application.py\", line 992, in launch_instance\n", + " app.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelapp.py\", line 701, in start\n", + " self.io_loop.start()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\tornado\\platform\\asyncio.py\", line 195, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\windows_events.py\", line 321, in run_forever\n", + " super().run_forever()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 607, in run_forever\n", + " self._run_once()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\base_events.py\", line 1922, in _run_once\n", + " handle._run()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\asyncio\\events.py\", line 80, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 534, in dispatch_queue\n", + " await self.process_one()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 523, in process_one\n", + " await dispatch(*args)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 429, in dispatch_shell\n", + " await result\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\kernelbase.py\", line 767, in execute_request\n", + " reply_content = await reply_content\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\ipkernel.py\", line 429, in do_execute\n", + " res = shell.run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\ipykernel\\zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3051, in run_cell\n", + " result = self._run_cell(\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3106, in _run_cell\n", + " result = runner(coro)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\async_helpers.py\", line 129, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3311, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3493, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\IPython\\core\\interactiveshell.py\", line 3553, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"C:\\Users\\Administrator\\AppData\\Local\\Temp\\ipykernel_3024\\4288447695.py\", line 4, in \n", + " model_results3 = model_losss_juxiting(sqlitedb)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 577, in model_losss_juxiting\n", + " # # 获取 row行最大最小值模型名称\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\frame.py\", line 10034, in apply\n", + " return op.apply().__finalize__(self, method=\"apply\")\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 837, in apply\n", + " return self.apply_standard()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 965, in apply_standard\n", + " results, res_index = self.apply_series_generator()\n", + " File \"d:\\ProgramData\\anaconda3\\Lib\\site-packages\\pandas\\core\\apply.py\", line 981, in apply_series_generator\n", + " results[i] = self.func(v, *self.args, **self.kwargs)\n", + " File \"d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py\", line 573, in find_min_max_within_quantile\n", + " # def find_min_max_within_quantile(row):\n", + "Message: 'GRU'\n", + "Arguments: (74.98, 'MLP', 76.41)\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + " ds NHITS Informer LSTM iTransformer TSMixer \\\n", + "0 2024-01-19 78.276070 76.027702 79.778801 78.265656 77.692642 \n", + "5 2024-01-22 78.223007 76.392143 79.033913 77.764168 77.695419 \n", + "10 2024-01-23 79.732689 77.411430 80.672409 77.617729 78.866539 \n", + "15 2024-01-24 78.661491 77.809235 80.039368 78.195992 78.749481 \n", + "20 2024-01-25 79.844170 77.678902 80.665665 76.032829 78.895386 \n", + ".. ... ... ... ... ... ... \n", + "975 2024-10-21 72.710213 73.392860 73.882164 75.144104 73.823708 \n", + "976 2024-10-22 73.478493 73.580597 73.937225 74.912628 74.266403 \n", + "977 2024-10-23 72.304123 73.170967 74.000931 74.571083 74.419685 \n", + "978 2024-10-24 74.337288 73.285072 73.991661 74.442238 74.568016 \n", + "979 2024-10-25 74.662025 73.347038 74.131668 74.182922 74.496666 \n", + "\n", + " TSMixerx PatchTST RNN GRU ... TFT StemGNN \\\n", + "0 77.996658 77.988228 51.668293 79.606438 ... 78.100891 78.044556 \n", + "5 78.095566 78.060852 51.667992 78.859543 ... 77.840271 77.948677 \n", + "10 79.241234 79.641350 51.669121 80.477486 ... 78.598297 77.912498 \n", + "15 78.684807 79.260468 51.668289 79.833374 ... 79.083282 77.881920 \n", + "20 77.914284 79.796143 51.668907 80.474968 ... 80.035332 77.881096 \n", + ".. ... ... ... ... ... ... ... \n", + "975 73.819389 72.707840 51.666901 74.349380 ... 74.348221 75.045914 \n", + "976 73.917015 73.593628 51.796188 74.326897 ... 74.422066 75.047073 \n", + "977 73.969215 74.298943 52.656517 74.497009 ... 74.348648 75.667259 \n", + "978 73.729088 75.375114 52.078575 74.625328 ... 74.472961 75.107079 \n", + "979 74.682098 75.588326 50.028915 74.975937 ... 74.840088 74.703018 \n", + "\n", + " MLPMultivariate TiDE DeepNPTS y min_within_quantile \\\n", + "0 77.000946 77.869881 78.373535 77.790001 77.69 \n", + "5 77.127747 77.537544 77.440155 79.320000 78.86 \n", + "10 79.312706 79.257523 78.367371 78.849998 78.60 \n", + "15 78.762161 78.876381 78.468216 79.379997 79.08 \n", + "20 78.506584 79.288795 79.261581 81.629997 80.47 \n", + ".. ... ... ... ... ... \n", + "975 74.856590 73.765526 74.722656 74.290001 73.82 \n", + "976 74.701263 73.955368 75.157463 76.040001 75.16 \n", + "977 74.451408 74.177483 74.447487 74.959999 74.50 \n", + "978 74.630447 74.253830 73.693176 74.029999 73.73 \n", + "979 74.257469 74.345253 73.967125 75.629997 74.98 \n", + "\n", + " max_within_quantile min_model max_model \n", + "0 77.89 TSMixer BiTCN \n", + "5 80.24 GRU DilatedRNN \n", + "10 78.85 TFT BiTCN \n", + "15 80.04 TFT LSTM \n", + "20 81.64 GRU DilatedRNN \n", + ".. ... ... ... \n", + "975 74.35 TSMixer GRU \n", + "976 75.67 DeepNPTS DilatedRNN \n", + "977 75.72 GRU DilatedRNN \n", + "978 74.34 TSMixerx NHITS \n", + "979 76.41 GRU MLP \n", + "\n", + "[200 rows x 26 columns]\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py:738: SettingWithCopyWarning: \n", "A value is trying to be set on a copy of a slice from a DataFrame.\n", "Try using .loc[row_indexer,col_indexer] = value instead\n", "\n", "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n", - " f.write(','.join(modelnames) + '\\n')\n", - "posx and posy should be finite values\n" + " check_query = sqlitedb.select_data('trueandpredict',where_condition = f\"ds = '{row.ds}'\")\n", + "更新数据sqlUPDATE trueandpredict SET ds = '2024-10-28 00:00:00', NHITS = '72.375534', Informer = '77.86241', LSTM = '76.698364', iTransformer = '75.98318', TSMixer = '75.15075', TSMixerx = '74.38121', PatchTST = '75.594734', RNN = '53.52923', GRU = '77.05893', TCN = '74.90376', BiTCN = '75.4683', DilatedRNN = '77.86542', MLP = '74.50678', DLinear = '75.67038', NLinear = '75.36442', TFT = '73.99709', StemGNN = '74.57198', MLPMultivariate = '74.20644', TiDE = '75.10396', DeepNPTS = '74.762405' WHERE ds = '2024-10-28 00:00:00'\n" ] }, { @@ -1898,7 +33232,6 @@ "Column 'DLinear' already exists in table 'trueandpredict'.\n", "Column 'NLinear' already exists in table 'trueandpredict'.\n", "Column 'TFT' already exists in table 'trueandpredict'.\n", - "Column 'FEDformer' already exists in table 'trueandpredict'.\n", "Column 'StemGNN' already exists in table 'trueandpredict'.\n", "Column 'MLPMultivariate' already exists in table 'trueandpredict'.\n", "Column 'TiDE' already exists in table 'trueandpredict'.\n", @@ -1922,12 +33255,1460 @@ "posx and posy should be finite values\n", "posx and posy should be finite values\n", "posx and posy should be finite values\n", - "posx and posy should be finite values\n" + "posx and posy should be finite values\n", + "posx and posy should be finite values\n", + "训练数据绘图end\n", + "制作报告ing\n", + "开始绘制Kpler数据--原油出口类指标的相关性直方图\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Kpler数据--原油出口下正相关的特征值有: []\n", + "Kpler数据--原油出口下负相关的特征值有: ['Libya', 'Malaysia']\n", + "正在绘制第1个特征Libya与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第2个特征Malaysia与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "Kpler数据--原油出口类指标的相关性总和为:1.217152239699212\n", + "d:\\liurui\\dev\\code\\PriceForecast\\models\\nerulforcastmodels.py:1090: FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.\n", + " content.append(Graphs.draw_img(os.path.join(dataset,'指标分类相关性总和的气泡图.png')))\n", + "开始绘制价格类指标的相关性直方图\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "价格下正相关的特征值有: ['收盘价:原油指数', '阿曼原油 (湛江交割) 到岸入库成本', 'SC c4夜盘收盘价滞后1天', 'SC c4夜盘收盘价', 'SC c3夜盘收盘价滞后1天', 'SC c3夜盘收盘价', '美国取暖油HOC12', 'SC c2夜盘收盘价滞后1天', '美国取暖油HOC11', '美国取暖油HOC10', 'SC理论估值-巴中', 'SC c2夜盘收盘价', '美国取暖油HOC9', 'SC c1 夜盘收盘价滞后1天', '美国取暖油HOC8', 'Brent c4 结算', 'Dubai连3合约价格', 'SC c1 夜盘收盘价', '美国取暖油HOC7', '现货价:原油(中国大庆)', 'RBOB+HO平均', 'HO12合约算术平均', 'Brent c3 结算', 'Dubai FOB M3', '美国取暖油HOC6', 'WTI 近12月合约均价', 'Brent12期合约均价', '美国取暖油HOC5', 'Dubai FOB M2', 'Brent c2 结算', '美国取暖油HOC4', '欧洲柴油现货价格', 'RBOB12合约算术平均', 'Brent c1 结算', 'WTI c4 结算', '阿曼原油 (湛江交割) 到岸入罐成本', '美国车用汽油零售价格', '现货价:原油(中国胜利)', '现货价:原油(印尼杜里)', 'Dubai FOB M1', '现货价:原油(阿联酋迪拜)', '现货价:原油(阿曼)', 'Oman FOB M1', 'WTI c3 结算', '现货价:原油:科威特能源公司', '美国柴油零售价格', 'Brent主力收盘价', 'OPEC:一揽子原油价格', 'Dubai swap c2', 'Midland原油现货价格', 'WTI c2 结算', 'Dubai swap c3', '现货价:原油(西德克萨斯中级轻质原油(WTI)):FOB库欣', '巴重FOB出口亚洲现货价格', '现货价:原油:美国西德克萨斯中级轻质原油(WTI)', 'WTI c1 结算', 'WTI原油现货价格Cushing', '现货价:原油:英国布伦特Dtd', 'Brent原油现货价格', 'LLS原油现货价格', '现货价:原油(布伦特):FOB欧洲', '现货价:原油(马来西亚塔皮斯)', 'Forties FOB', '美国MARS原油现货价格', '美国MEH轻原油现货价格(美湾)', '现货价:马瑞原油:山东', '马瑞原油:现货价:山东(日)', '现货价:原油(印尼米纳斯)', '新加坡航煤裂解', '美湾WTI211裂解价差', 'WTI 3:2:1裂解价差', '欧洲Brent成品油裂解价差(领先一周)', '欧洲Brent成品油裂解价差', '欧洲柴油裂解', '美国取暖油裂解价差', '现货价:原油(印尼辛塔)', 'Brent连6-连12', '美国汽油裂解价差', '欧洲汽油裂解', 'Brent连1-连9月差', 'WTI 3:2:1裂解价差超季节性/5年', '新加坡汽油裂解价差', 'Brent连1-连6月差', 'Dubai 连2-连3', 'Brent 连2-连3', 'Asia Tapis 211 裂解价差', 'Brent连1-连4', '原油运输指数(BDTI)', '新加坡汽油裂解', 'WTI 连2-连3月差', 'Brent连1-连2月差', 'BrentC1-C2', 'Brent现货价格-Brent连4', 'WTI连1-连4', 'Brent连1-WTI连4', 'Brent现货价格-Brent连3', 'DFL(Dated-主力布伦特)', 'DFL(即期布伦特-布伦特期货C1)', '布伦特现货价格-Brent连2', 'Dubai FOB M1-M2', 'Brent连2-WTI连4', 'SC C1-C2月差', 'Brent连1-WTI连3', '迪拜原油211裂解价差', 'SC c1-SC c2 (夜盘)滞后1天', 'SC c2夜盘-理论估值(巴中)', 'SC c1-SC c2 (夜盘)', 'DFL', 'WTIC1-C2', 'WTI连1-连2月差', 'SC主力-阿曼入库成本', 'Forties - Brent c1', 'Brent连2-WTI连2超季节性/3年', 'Brent连3-WTI连4', 'Brent连2-WTI连3', 'Brent连1-WTI连2', 'Brent连3-WTI连2超季节性/3年', 'WTI原油Cushing-C1', 'Brent 连2-连3超季节性/3年', 'Brent-LLS价差', 'WTI-LLS价差', 'Brent c2 16:30收盘价', '美湾低硫柴油现货价格', 'SC c1-阿曼入库成本', 'B-W价差(均价)', 'Brent连4-WTI连4', 'Brent c2 02:30收盘价滞后1天', 'SC-Brent*汇率', 'Brent c2 02:30收盘价', 'Brent连3-WT连3', '中国:一揽子原油价格变化率']\n", + "正在绘制第1个特征收盘价:原油指数与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第2个特征阿曼原油 (湛江交割) 到岸入库成本与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第3个特征SC c4夜盘收盘价滞后1天与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第4个特征SC c4夜盘收盘价与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第5个特征SC c3夜盘收盘价滞后1天与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "价格下负相关的特征值有: ['SC c5 -估值', '马瑞原油:重质:DES价:委内瑞拉(日)', '中东原油强弱程度-巴中', 'Dubai原油强弱程度(Dubai FOB M1-Dubai FOB M2-EFS)', '美国MARS贴水(WTI)', 'SC c3夜盘-阿曼入库湛江成本', 'Brent连4-WTI连1', 'CFTC Crude Oil Furtures', 'SC c3-阿曼到岸入罐成本', 'Brent连4-WTI连2', 'Brent连3-WTI连1', 'Forties - Dated Brent', 'EFS c1 02:30收盘价', 'EFS c1 02:30收盘价滞后1天', '丙烷CFR华南/布伦特原油比价', '国内马瑞与SC比价', 'Dubai-WTI价差', 'SC c2夜盘-Brent c1*汇率', 'EFS c2 02:30收盘价', 'SC c2夜盘-阿曼入库湛江成本', 'EFS c2 02:30收盘价滞后1天', 'Brent连2-WTI连1', 'Brent c2 - WTI c1', 'Brent连3-WTI连2', 'SC c3夜盘-理论估值(巴中)', 'Brent连4-WTI连3', '美国汽油裂解价差超季节性/3年', 'LLS-Brent价差', 'SC c2夜盘-Brent c2*汇率', 'Brent c1 02:30收盘价', 'Brent c1 02:30收盘价滞后1天', 'SC c1夜盘-Brent c1*汇率', 'B-W价差', 'Brent c1 16:30收盘价', 'Brent连2-WTI连2', 'Brent油价30日动能']\n", + "正在绘制第1个特征SC c5 -估值与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第2个特征马瑞原油:重质:DES价:委内瑞拉(日)与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第3个特征中东原油强弱程度-巴中与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第4个特征Dubai原油强弱程度(Dubai FOB M1-Dubai FOB M2-EFS)与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第5个特征美国MARS贴水(WTI)与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "价格类指标的相关性总和为:97.90910818847435\n", + "开始绘制供应类指标的相关性直方图\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "供应下正相关的特征值有: ['EIA周度NGL产量', '美国炼厂产能利用率超季节性/5年', '美国炼厂原油输入量超季节性/3年', '彭博西非海上浮仓', 'Lower48原油产量', '美国:产量:原油', '美国国内周度原油产量', '美国原油活跃钻机数同差', '航空燃料油产量', '美国炼厂产能利用率', '原油:主营炼厂:加工量:中国(周)', '彭博中东海上浮仓', '美国炼厂产能利用率同差', '加拿大原油活跃钻机数', 'Haynesville活跃钻机数', 'EagleFord钻机数', '彭博全球海上浮仓+在运原油', '美国炼厂原油输入量', '汽油产量', '美国原油周度调整项', '美国总钻机数', '美国原油和天然气钻机总数', '美国海上钻机数', '美国陆上钻机数', 'ArkmoreWoodford钻机数', '美国原油活跃钻机数', 'FracSpread完井数', 'US Oil & Gas Exploration & Drilling Frac Spread Count', '美国车用汽油混合成分净投入量', '柴油产量']\n", + "正在绘制第1个特征EIA周度NGL产量与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第2个特征美国炼厂产能利用率超季节性/5年与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第3个特征美国炼厂原油输入量超季节性/3年与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第4个特征彭博西非海上浮仓与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第5个特征Lower48原油产量与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "供应下负相关的特征值有: ['原油:常减压:产能利用率:山东:独立炼厂(周)', '中国32家地炼开工率', '原油:山东独立炼厂:开工率:新口径(周)', '美国汽油净进口(周度)', '原油:独立炼厂:加工量:中国(周)', '彭博北海海上浮仓', '彭博美国墨西哥湾海上浮仓', '原油:常减压:独立炼厂:产能利用率:中国(周)', '彭博欧洲海上浮仓', 'Marcellus钻机数', '彭博亚洲海上浮仓', '美国:企业债利差:美银美国高收益CCC或以下级企业债期权调整利差', '全球海上浮仓', '原油加工量/主营+独立', '原油:加工量:中国(周)', 'CanaWoodford活跃钻机数', 'Utica活跃钻机数', '美国可利用天然气库存(48州合计)']\n", + "正在绘制第1个特征原油:常减压:产能利用率:山东:独立炼厂(周)与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第2个特征中国32家地炼开工率与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第3个特征原油:山东独立炼厂:开工率:新口径(周)与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第4个特征美国汽油净进口(周度)与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第5个特征原油:独立炼厂:加工量:中国(周)与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "供应类指标的相关性总和为:15.531343912790739\n", + "开始绘制供应给类指标的相关性直方图\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "供应给下正相关的特征值有: ['美国原油周度产量']\n", + "正在绘制第1个特征美国原油周度产量与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "供应给类指标的相关性总和为:1.5500443529387788\n", + "开始绘制其他类指标的相关性直方图\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "供应给下负相关的特征值有: []\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "其他下正相关的特征值有: ['C2403150124', 'FVHCM1 INDEX', 'dxy curncy', 'lmcads03 lme comdty', 'GC1 COMB Comdty', 'C2403128043', 'doedtprd index']\n", + "正在绘制第1个特征C2403150124与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第2个特征FVHCM1 INDEX与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第3个特征dxy curncy与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第4个特征lmcads03 lme comdty与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第5个特征GC1 COMB Comdty与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "其他下负相关的特征值有: ['CFFDQMMN INDEX', 'C2404167855', 'C2404167878', 'ovx index', 'C2403083739']\n", + "正在绘制第1个特征CFFDQMMN INDEX与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第2个特征C2404167855与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第3个特征C2404167878与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第4个特征ovx index与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第5个特征C2403083739与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "其他类指标的相关性总和为:6.90185005982164\n", + "开始绘制宏观类指标的相关性直方图\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "宏观下正相关的特征值有: ['10年期美国国债收益率', '2年期美国国债收益率']\n", + "正在绘制第1个特征10年期美国国债收益率与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第2个特征2年期美国国债收益率与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "宏观类指标的相关性总和为:2.611349956994218\n", + "开始绘制库存类指标的相关性直方图\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "宏观下负相关的特征值有: []\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "库存下正相关的特征值有: ['全球原油陆上库容', '彭博全球海上在运原油', '中国陆上原油商业库存', '中国陆上原油炼厂库存', '美国PADD4原油库存', '原油PADD4商业库存', '中国陆上原油库存', '中国陆上和浮仓原油总量', '中国海陆原油总量', '全球海上原油', '美国取暖用油库存同差', 'DOE CBOB Gasoline Total Stocks Data']\n", + "正在绘制第1个特征全球原油陆上库容与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第2个特征彭博全球海上在运原油与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第3个特征中国陆上原油商业库存与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第4个特征中国陆上原油炼厂库存与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第5个特征美国PADD4原油库存与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "库存下负相关的特征值有: ['美国原油成品油总库存(含SPR)', '美国原油及成品油总库存', '美国原油总库存', '原油:山东独立炼厂:厂内库存:新口径(周)', '全球原油陆上SPR库存', '柴油PADD1库存', '美国成品车用汽油库存', '汽油成品库存', '美国战略储备原油库存', '美国原油战略库存', '美国成品车用汽油库存占比', '全球陆上岸罐原油库存', '美国PADD2原油库存', '原油PADD2商业库存', '美国原油库欣商业库存', '库欣原油库存', '美国柴油总库存', 'SC期货库存1000天百分位', '原油:库容比:山东:独立炼厂(周)', '汽油PADD1库存', 'EIA美国汽柴航煤库存', '美国成品油库存超季节性/5年', '美国PADD1原油库存', '原油PADD1商业库存', '全球海陆原油总量', 'EIA美国油品库存(含SPR)', '美国原油及成品油总库存(除SPR)', '美国EIA原油成品油总库存(不含SPR)', '美国商业原油库存超季节性/5年', '新加坡燃料油库存', '美国成品油库存超季节性/4年', '美国EIA原油成品油总库存(不含SPR)超季节性/4年(含今年)', 'EIA美国原油总库存(含SPR)', '美国原油商业库存', '美国商业原油库存', '原油PADD5商业库存', '美国PADD5原油库存', '美国汽油总库存', '美国成品油库存', '成品油总库存', '柴油PADD5库存', '美国商业原油库存超季节性/4年', '柴油PADD3库存', 'DOE RBOB Gasoline Total Stocks Data', '库欣+PADD3库存', 'ARA原油及成品油库存', '中国陆上原油SPR库存', 'SC仓单(百万桶)', '库欣原油库存超季节性/5年', '美国汽油库销比', '中国陆上原油库容率', '汽油PADD2库存', '全球原油浮仓总量', '美国汽油调和组分库存(周度)', '汽油调油组分库存', '美国调和汽油库存', '中国海上原油浮仓', '柴油PADD2库存', '汽油PADD5库存', '汽油PADD4库存', '中国海上原油总量', 'ARA原油库存', 'SC期货库存10期滚动标准差', '原油PADD3商业库存', '美国PADD3原油库存', '柴油PADD4库存', '汽油PADD3库存', '航空燃料油总库存', '全球原油陆上商业和炼厂库存']\n", + "正在绘制第1个特征美国原油成品油总库存(含SPR)与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第2个特征美国原油及成品油总库存与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第3个特征美国原油总库存与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第4个特征原油:山东独立炼厂:厂内库存:新口径(周)与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第5个特征全球原油陆上SPR库存与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "库存类指标的相关性总和为:39.74899466223315\n", + "开始绘制期货市场类指标的相关性直方图\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "期货市场下正相关的特征值有: ['WTI活跃合约', 'Brent主力*汇率', 'WTI连24合约', 'SC理论估值-Dubai原油', '印度原油连1合约价格', 'Oman c1 * 汇率', 'SC原油期货价格', '期货结算价(活跃合约):INE原油', 'SCc4夜盘收盘(日期调整)', '期货收盘价(连续):INE原油', '期货结算价(连续):INE原油', 'INE SC c1', 'HO连12合约', 'HO连11合约', 'SCc3夜盘收盘(日期调整)', 'HO连10合约', 'HO连9合约', 'SCc2夜盘收盘(日期调整)', 'HO连8合约', 'ICE Brent c14', 'ho连7合约', 'HO近12月合约均价', 'HO连6合约', 'SCc1夜盘收盘(日期调整)', 'ICE轻柴油连4合约价格', 'HO连5合约', 'B06.IPE结算价', 'B05.IPE结算价', '布油近12月合约均价', 'NYMWX WTI c5', 'Dubai连1合约价格', 'B04.IPE结算价', 'B03.IPE结算价', 'RBOB近12月合约均价', 'DME Oman c1', 'B02.IPE结算价', 'Dubai Swap c1', '期货结算价(活跃):布伦特原油', '期货收盘价(活跃):布伦特原油', 'IPE布油期货结算价', 'Oman Swap c1', 'CFD W6', 'Brent连1合约价格', 'B00.IPE结算价', '期货收盘价:WTI原油', 'CFD W1', 'WTI连1合约价格', 'Murban Futures c1', 'RBOB&HO近12月合约均价532裂解', 'HO近12月合约均价裂解', '可用库容量:INE原油:辽宁:合计', '可用库容量:INE原油', 'RBOB近12月合约均价裂解', 'SC连1-连6', 'Brent c1-c9', 'DFL M2', 'Brent c2-c3 (结算)', 'HO连1-连6', 'Brent c1-c6', 'Brent c2-c3 (结算B)', 'WTI c2-c3 (结算B)', 'Dubai连1-连4月差', 'SC连2-连3月差', 'Brent c2-c3', 'SC c2-c3 (夜盘)', 'DFL M1', 'WTI c1-c6', 'WTI c2-c3', 'Brent c1-c3', 'Oman连2-连3月差', 'HO连1-连3', 'SC连1-连3月差', 'Brent c1-c2', 'SC/ZC(活跃合约)', 'HO连1-连2合约', 'CFD W1-Brent c1', 'WTI c1-c3', 'RBOB连1-连6', '期货成交额:INE原油', 'Dubai swap c1-c3', 'SC c1-c2', 'SC连1-连2', 'Dubai swap c1-c2', 'SC c2夜盘-阿曼入库湛江成本(Oman c1预估)', 'SC c3夜盘-阿曼入库湛江成本(Oman c1预估)', 'SC c1日盘-Brent c1(15:00)*汇率', 'WTI c1-c2', 'SC c2日盘-Brent c1(15:00)*汇率', 'RBOB连2-连3月差', 'SC主力-理论估值', 'RBOB连1-连3', 'RBOB连1-连2', 'Brent-Oman价差', 'SC c1夜盘-理论估值(Dubai)', '布伦特迪拜掉期 EFS', '阿曼原油 (湛江交割) 到岸入库成本(Oman c1预估)', 'SC c2夜盘-Brent c2 (结算)*汇率', 'OMAN原油:中质:远期现货DES价:山东(日)', 'SC c1夜盘-Brent c1 (结算B)*汇率']\n", + "正在绘制第1个特征WTI活跃合约与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第2个特征Brent主力*汇率与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第3个特征WTI连24合约与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第4个特征SC理论估值-Dubai原油与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第5个特征印度原油连1合约价格与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "期货市场下负相关的特征值有: ['BU-SC(活跃合约)', 'SC期货库存', '库存期货:INE原油:总计-卡塔尔海洋油', 'SC c3夜盘-理论估值(Dubai)', 'SC c3-Oman c1*汇率', 'SC主力-Brent主力*汇率', 'SC c2夜盘-Brent c1 (结算B)*汇率', 'INE SC主力合约价格', 'SC c2夜盘-Brent c1 (结算)*汇率', 'Brent c1 15:00收盘价', '库存期货:INE原油:辽宁:合计', '库存期货:INE原油:辽宁:中油大连国际', 'DUBAI原油贴水', 'SC内外价差', 'SC c2-Oman c1*汇率', 'SC c2夜盘-Brent c2 (结算B)*汇率', 'Brent-TI', '阿曼原油贴水', 'Brent-SC价差', 'SC c2夜盘-理论估值(Dubai)', 'Brent c2 15:00收盘价', 'SC c2日盘-Brent c2(15:00)*汇率', 'SC c1夜盘-Brent c1 (结算)*汇率', 'Brent-WTI', '期货成交量(活跃合约):INE原油']\n", + "正在绘制第1个特征BU-SC(活跃合约)与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第2个特征SC期货库存与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第3个特征库存期货:INE原油:总计-卡塔尔海洋油与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第4个特征SC c3夜盘-理论估值(Dubai)与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第5个特征SC c3-Oman c1*汇率与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "期货市场类指标的相关性总和为:73.8202116202404\n", + "开始绘制西北欧市场类指标的相关性直方图\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "西北欧市场下正相关的特征值有: ['丹麦陆上原油库存', '德国陆上原油库存', '西班牙陆上原油库存']\n", + "正在绘制第1个特征丹麦陆上原油库存与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第2个特征德国陆上原油库存与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第3个特征西班牙陆上原油库存与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "西北欧市场下负相关的特征值有: ['挪威陆上原油库存', '西北欧陆上原油浮仓', '西北欧陆上原油库存和浮仓总量', '英国陆上原油库存', '荷兰陆上原油库存', '波兰陆上原油库存', '西北欧陆上原油炼厂库存', '西北欧陆上原油库存', '西北欧陆上原油SPR库存', '法国陆上原油库存', '爱尔兰陆上原油库存', '立陶宛陆上原油库存', '西北欧陆上原油商业库存', '葡萄牙陆上原油库存', '瑞典陆上原油库存']\n", + "正在绘制第1个特征挪威陆上原油库存与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第2个特征西北欧陆上原油浮仓与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第3个特征西北欧陆上原油库存和浮仓总量与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第4个特征英国陆上原油库存与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "正在绘制第5个特征荷兰陆上原油库存与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "西北欧市场类指标的相关性总和为:5.97315734820405\n", + "开始绘制运输类指标的相关性直方图\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "运输下正相关的特征值有: ['莱茵河水位']\n", + "正在绘制第1个特征莱茵河水位与价格散点图...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "d:\\ProgramData\\anaconda3\\Lib\\site-packages\\seaborn\\_oldcore.py:1119: FutureWarning: use_inf_as_na option is deprecated and will be removed in a future version. Convert inf values to NaN before operating instead.\n", + " with pd.option_context('mode.use_inf_as_na', True):\n", + "运输类指标的相关性总和为:1.0276073890794504\n", + "开始绘制进出口类指标的相关性直方图\n" ] } ], "source": [ - "model_results3 = model_losss_juxiting(sqlitedb)\n" + "# # 模型评估\n", + "\n", + "logger.info('训练数据绘图ing')\n", + "model_results3 = model_losss_juxiting(sqlitedb)\n", + "\n", + "logger.info('训练数据绘图end')\n", + "# 模型报告\n", + "\n", + "# logger.info('制作报告ing')\n", + "# title = f'{settings}--{now}-预测报告' # 报告标题\n", + "# brent_export_pdf(dataset=dataset,num_models = 5 if is_fivemodels else 22,time=end_time,\n", + "# reportname=reportname,sqlitedb=sqlitedb),\n", + "# # pp_export_pdf(dataset=dataset,num_models = 5 if is_fivemodels else 22,time=end_time,\n", + "# # reportname=reportname),\n", + "# logger.info('制作报告end')\n", + "# logger.info('模型训练完成')" ] }, { @@ -1937,9 +34718,17 @@ "metadata": {}, "outputs": [], "source": [ - "# 基于梯度计算特征的权重\n", - "\n", - "\n" + "# 发送邮件\n", + "m = SendMail(\n", + " username=username,\n", + " passwd=passwd,\n", + " recv=recv,\n", + " title=title,\n", + " content=content,\n", + " file=max(glob.glob(os.path.join(dataset,'*.pdf')), key=os.path.getctime),\n", + " ssl=ssl,\n", + ")\n", + "m.send_mail() " ] } ], diff --git a/main.py b/main.py index 66e1b0d..1f0c90a 100644 --- a/main.py +++ b/main.py @@ -39,8 +39,8 @@ def predict_main(): edbbusinessurl=edbbusinessurl, ) - # df_zhibiaoshuju,df_zhibiaoliebiao = etadata.get_eta_api_yuanyou_data(data_set=data_set,dataset=dataset) # 原始数据,未处理 - df_zhibiaoshuju,df_zhibiaoliebiao = etadata.get_eta_api_pp_data(data_set=data_set,dataset=dataset) # 原始数据,未处理 + df_zhibiaoshuju,df_zhibiaoliebiao = etadata.get_eta_api_yuanyou_data(data_set=data_set,dataset=dataset) # 原始数据,未处理 + # df_zhibiaoshuju,df_zhibiaoliebiao = etadata.get_eta_api_pp_data(data_set=data_set,dataset=dataset) # 原始数据,未处理 # 数据处理 @@ -75,7 +75,7 @@ def predict_main(): import datetime # 判断当前日期是不是周一 - is_weekday = datetime.datetime.now().weekday() == 3 + is_weekday = datetime.datetime.now().weekday() == 4 if is_weekday: logger.info('今天是周一,更新预测模型') try: diff --git a/models/nerulforcastmodels.py b/models/nerulforcastmodels.py index 7bd0429..babdb38 100644 --- a/models/nerulforcastmodels.py +++ b/models/nerulforcastmodels.py @@ -289,7 +289,7 @@ def model_losss(sqlitedb): df_combined3[['min_within_quantile', 'max_within_quantile','min_model','max_model']] = df_combined3.apply(find_min_max_within_quantile, axis=1) # 去除有空值的行 - df_combined3.dropna(inplace=True) + # df_combined3.dropna(inplace=True) # 保存到数据库 df_combined3.to_sql('testandpredict_groupby', sqlitedb.connection, if_exists='replace', index=False) df_combined3.to_csv(os.path.join(dataset,"testandpredict_groupby.csv"),index=False) @@ -503,7 +503,7 @@ def model_losss_juxiting(sqlitedb): # 删除模型生成的cutoff列 df_combined.drop(columns=['cutoff', 'max_cutoff'], inplace=True) # 获取模型名称 - modelnames = df_combined.columns.to_list()[2:] + modelnames = df_combined.columns.to_list()[1:] if 'y' in modelnames: modelnames.remove('y') df_combined3 = df_combined.copy() # 备份df_combined,后面画图需要 @@ -534,26 +534,101 @@ def model_losss_juxiting(sqlitedb): with open(os.path.join(dataset,"best_modelnames.txt"), 'w') as f: f.write(','.join(modelnames) + '\n') - # 使用最佳五个模型进行绘图 - best_models = pd.read_csv(os.path.join(dataset,'best_modelnames.txt'),header=None).values.flatten().tolist() + + # 根据真实值y确定最大最小值,去掉最高最低的预测值 + import heapq # 使用堆来找到最大和最小的值 def find_min_max_within_quantile(row): - row = row[best_models] - q10 = row.min() - q90 = row.max() - # 获取 row行最大最小值模型名称 - min_model = row[row == q10].idxmin() - max_model = row[row == q90].idxmin() - - # # 判断flot值是否为空值 - # if pd.isna(q10) or pd.isna(q90): - return pd.Series([q10, q90,min_model,max_model], index=['min_within_quantile','max_within_quantile','min_model','max_model']) + true_value = row['y'] + row.drop(['ds','y'], inplace=True) + row = row.astype(float).round(2) - # 遍历行 + max_heap = [] + min_heap = [] + for col in row.index: + # 对比真实值进行分类 + if row[col] < true_value: + heapq.heappush(min_heap, row[col]) + elif row[col] > true_value: + heapq.heappush(max_heap, -row[col]) # 使用负号来实现最大堆 + + if len(max_heap) == 1: + max_y = max_heap[0] + elif len(max_heap) == 0: + max_y = -min_heap[-1] + else: + max_y = heapq.nsmallest(2, max_heap)[1] + + if len(min_heap) < 2 : + min_y = -max_heap[-1] + else: + min_y = heapq.nsmallest(2, min_heap)[-1] + + + # 获取最大和最小的值 + q10 = min_y + q90 = -max_y + + # 获取最大和最小的模型名称 + min_model = row[row == q10].idxmin() + max_model = row[row == q90].idxmax() + + # 设置上下界比例 + q10 = q10 * 0.99 + q90 = q90 * 0.99 + + logger.info(min_model,q10,max_model,q90) + + return pd.Series([q10, q90, min_model, max_model], index=['min_within_quantile', 'max_within_quantile', 'min_model', 'max_model']) + # # 遍历行 df_combined3[['min_within_quantile', 'max_within_quantile','min_model','max_model']] = df_combined3.apply(find_min_max_within_quantile, axis=1) df_combined = df_combined.round(4) print(df_combined3) + # 使用最佳五个模型进行绘图 + # best_models = pd.read_csv(os.path.join(dataset,'best_modelnames.txt'),header=None).values.flatten().tolist() + # def find_min_max_within_quantile(row): + # row = row[best_models] + # q10 = row.min() + # q90 = row.max() + # # 获取 row行最大最小值模型名称 + # min_model = row[row == q10].idxmin() + # max_model = row[row == q90].idxmin() + + # # # 判断flot值是否为空值 + # # if pd.isna(q10) or pd.isna(q90): + # return pd.Series([q10, q90,min_model,max_model], index=['min_within_quantile','max_within_quantile','min_model','max_model']) + # # 遍历行 + # df_combined3[['min_within_quantile', 'max_within_quantile','min_model','max_model']] = df_combined3.apply(find_min_max_within_quantile, axis=1) + # df_combined = df_combined.round(4) + # print(df_combined3) + + # # 通道使用模型评估前80%作为置信度 + # def find_min_max_within_quantile(row): + # row.drop(['ds','y'], inplace=True) + # row = row.astype(float).round(2) + + # row_sorted = row + # # 计算 10% 和 90% 位置的索引 + # index_10 = 0 + # index_90 = int(len(row_sorted) * 0.8) + # q10 = row_sorted[index_10] + # q90 = row_sorted[index_90] + # # 获取模型名称 + # min_model = row[row == q10].idxmin() + # max_model = row[row == q90].idxmin() + + + # # # 判断flot值是否为空值 + # # if pd.isna(q10) or pd.isna(q90): + # return pd.Series([q10, q90,min_model,max_model], index=['min_within_quantile','max_within_quantile','min_model','max_model']) + + # # 重新排列 + # df_combined3 = df_combined3[['ds','y'] + allmodelnames] + # # 遍历行 + # df_combined3[['min_within_quantile', 'max_within_quantile','min_model','max_model']] = df_combined3.apply(find_min_max_within_quantile, axis=1) + # df_combined = df_combined.round(4) + # print(df_combined3) # # 通道使用预测模型的80%置信度 @@ -641,7 +716,7 @@ def model_losss_juxiting(sqlitedb): plt.rcParams['font.sans-serif'] = ['SimHei'] plt.figure(figsize=(15, 10)) # 设置有5个子图的画布 - for n,model in enumerate(modelnames): + for n,model in enumerate(modelnames[:5]): plt.subplot(3, 2, n+1) plt.plot(df_combined3['ds'], df_combined3['y'], label='真实值') plt.plot(df_combined3['ds'], df_combined3[model], label=model) @@ -671,11 +746,11 @@ def model_losss_juxiting(sqlitedb): if not sqlitedb.check_table_exists('trueandpredict'): first_row.to_sql('trueandpredict',sqlitedb.connection,index=False) else: + for col in first_row.columns: + sqlitedb.add_column_if_not_exists('trueandpredict',col,'TEXT') for row in first_row.itertuples(index=False): row_dict = row._asdict() columns=row_dict.keys() - for col in columns: - sqlitedb.add_column_if_not_exists('trueandpredict',col,'TEXT') check_query = sqlitedb.select_data('trueandpredict',where_condition = f"ds = '{row.ds}'") if len(check_query) > 0: set_clause = ", ".join([f"{key} = '{value}'" for key, value in row_dict.items()]) @@ -688,6 +763,10 @@ def model_losss_juxiting(sqlitedb): # 最多频率的模型名称 min_model_max_frequency_model = df_combined3['min_model'].tail(20).value_counts().idxmax() max_model_max_frequency_model = df_combined3['max_model'].tail(20).value_counts().idxmax() + if min_model_max_frequency_model == max_model_max_frequency_model: + # 取20天第二多的模型 + max_model_max_frequency_model = df_combined3['max_model'].tail(20).value_counts().nlargest(2).index[1] + df_predict['min_model'] = min_model_max_frequency_model df_predict['max_model'] = max_model_max_frequency_model df_predict['min_within_quantile'] = df_predict[min_model_max_frequency_model]