From f721e25e1247b285a2834a3da8bd3e178c37bc61 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Fleuret?= Date: Fri, 3 Feb 2023 18:55:26 +0100 Subject: [PATCH] Update. --- dl.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dl.tex b/dl.tex index f119dfb..3bb50cb 100644 --- a/dl.tex +++ b/dl.tex @@ -66,7 +66,7 @@ + 12*exp(-0.5*((x-1.5)*(x-1.5)+(y-3)*(y-3))) - 3 *exp(-1.5*((x-3)*(x-3)+(y-1)*(y-1))) }; -\immediate\write18{src/gradient.py --fig=2 --filename=src/gradient_field.tex} +%\immediate\write18{src/gradient.py --fig=2 --filename=src/gradient_field.tex} %\input{src/gradient_field.tex} \addplot[blue,very thin,quiver={u=\thisrow{u},v=\thisrow{v}},-stealth] table @@ -507,7 +507,7 @@ x y u v + 12*exp(-0.5*((x-1.5)*(x-1.5)+(y-3)*(y-3))) - 3 *exp(-1.5*((x-3)*(x-3)+(y-1)*(y-1))) }; -\immediate\write18{src/gradient.py --fig=1 --filename=src/gradient_descent.tex} +%\immediate\write18{src/gradient.py --fig=1 --filename=src/gradient_descent.tex} %\input{src/gradient_descent.tex} \coordinate (w0) at (1.5,5.699999809265137,35.4982795715332); \addplot3 [mark=*,mark size=1pt,mark options={color=blue},draw=blue,very thin] coordinates{ (1.5,5.699999809265137,35.4982795715332) (1.6641591787338257,5.172316551208496,30.054140090942383) (1.8210809230804443,4.776569843292236,26.911447525024414) (1.990876317024231,4.5078535079956055,25.058387756347656) (2.1896557807922363,4.314462184906006,23.50979232788086) (2.422152280807495,4.14532995223999,21.776744842529297) (2.6811954975128174,3.9646413326263428,19.69647216796875) (2.9470183849334717,3.7513339519500732,17.336345672607422) (3.191185235977173,3.5023460388183594,14.952949523925781) (3.386401891708374,3.2347588539123535,12.895486831665039) (3.5151426792144775,2.979001998901367,11.426831245422363) (3.573427438735962,2.7612271308898926,10.532214164733887) (3.5712339878082275,2.585761070251465,9.962543487548828) (3.526378631591797,2.436687707901001,9.475350379943848) (3.4544310569763184,2.2922539710998535,8.921503067016602) (3.363274335861206,2.1320712566375732,8.170730590820312) (3.2533488273620605,1.9354031085968018,7.016979217529297) (3.1218514442443848,1.6792848110198975,5.148150444030762) (2.976144313812256,1.356011152267456,2.6120076179504395) (2.8581600189208984,1.0409464836120605,0.7751033306121826) (2.8015146255493164,0.8541433811187744,0.20969009399414062) (2.7758946418762207,0.7618569731712341,0.06825542449951172) (2.7620480060577393,0.7107729315757751,0.023403644561767578) (2.7537238597869873,0.679664134979248,0.0063931941986083984) (2.748403549194336,0.659582793712616,-0.0007960796356201172) (2.744871139526367,0.6461406946182251,-0.004046916961669922) (2.7424662113189697,0.636928915977478,-0.0055828094482421875) (2.740800619125366,0.6305162906646729,-0.006330013275146484) (2.739633321762085,0.6260042190551758,-0.006701469421386719) (2.7388083934783936,0.6228057742118835,-0.006887674331665039) (2.7382218837738037,0.6205266118049622,-0.0069828033447265625) (2.7378032207489014,0.6188966035842896,-0.007031679153442383) (2.7375032901763916,0.6177277565002441,-0.007056474685668945) (2.737287998199463,0.6168880462646484,-0.00706934928894043) (2.737133264541626,0.6162839531898499,-0.0070760250091552734) (2.7370219230651855,0.6158490180969238,-0.0070798397064208984) (2.7369415760040283,0.61553555727005,-0.007081270217895508) (2.7368836402893066,0.6153095960617065,-0.007082223892211914) (2.736841917037964,0.6151465773582458,-0.007082700729370117) (2.736811876296997,0.615028977394104,-0.007083415985107422) (2.736790180206299,0.6149441599845886,-0.00708317756652832) (2.7367746829986572,0.6148829460144043,-0.00708317756652832) (2.7367632389068604,0.6148387789726257,-0.00708317756652832) (2.736755132675171,0.6148068904876709,-0.00708317756652832) (2.7367491722106934,0.6147838830947876,-0.007083415985107422) (2.7367448806762695,0.61476731300354,-0.00708317756652832) (2.736741781234741,0.6147552728652954,-0.0070836544036865234) (2.7367396354675293,0.614746630191803,-0.007083415985107422) (2.7367382049560547,0.6147403717041016,-0.007083415985107422) (2.736737012863159,0.6147359013557434,-0.007083415985107422) (2.7367360591888428,0.6147326827049255,-0.007082939147949219) (2.7367355823516846,0.6147302985191345,-0.0070836544036865234) (2.7367351055145264,0.6147286295890808,-0.007083415985107422) (2.7367348670959473,0.6147273778915405,-0.0070836544036865234) (2.736734628677368,0.6147264838218689,-0.007083415985107422) (2.736734390258789,0.6147258877754211,-0.007083415985107422) (2.736734390258789,0.6147254109382629,-0.0070836544036865234) (2.73673415184021,0.6147251129150391,-0.00708317756652832) (2.73673415184021,0.61472487449646,-0.00708317756652832) (2.73673415184021,0.6147246956825256,-0.007083415985107422) (2.73673415184021,0.6147245764732361,-0.00708317756652832) (2.73673415184021,0.6147244572639465,-0.00708317756652832) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) (2.73673415184021,0.6147243976593018,-0.007083415985107422) }; -- 2.39.5