feat: add section about perceptron and add all images and sources

This commit is contained in:
grisel-davy 2022-05-19 11:10:27 -04:00
parent aad97dbfe9
commit eda301c2f6
12 changed files with 1291 additions and 1 deletions

3
.gitignore vendored
View file

@ -10,3 +10,6 @@
# vim swap file # vim swap file
*.swp *.swp
#include images:
!images/*

BIN
images/2neurones.pdf Normal file

Binary file not shown.

250
images/2neurones.svg Normal file
View file

@ -0,0 +1,250 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="269.35922mm"
height="60.125397mm"
viewBox="0 0 269.35922 60.125397"
version="1.1"
id="svg5"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04, custom)"
sodipodi:docname="2neurones.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview7"
pagecolor="#505050"
bordercolor="#eeeeee"
borderopacity="1"
inkscape:pageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:document-units="mm"
showgrid="false"
inkscape:snap-smooth-nodes="true"
inkscape:object-paths="false"
inkscape:snap-midpoints="true"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:zoom="0.70710678"
inkscape:cx="391.03005"
inkscape:cy="313.2483"
inkscape:window-width="1920"
inkscape:window-height="1029"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs2">
<marker
style="overflow:visible"
id="Arrow1Lend"
refX="0"
refY="0"
orient="auto"
inkscape:stockid="Arrow1Lend"
inkscape:isstock="true">
<path
transform="matrix(-0.8,0,0,-0.8,-10,0)"
style="fill:context-stroke;fill-rule:evenodd;stroke:context-stroke;stroke-width:1pt"
d="M 0,0 5,-5 -12.5,0 5,5 Z"
id="path2076" />
</marker>
</defs>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-7.127855,-75.46894)">
<circle
style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stop-color:#000000"
id="path846"
cx="49.687416"
cy="117.73405"
r="17.360291" />
<text
xml:space="preserve"
style="font-weight:bold;font-size:21.5375px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;stroke-width:0.814069"
x="43.430771"
y="125.19679"
id="text1260"><tspan
sodipodi:role="line"
id="tspan1258"
style="stroke-width:0.814069"
x="43.430771"
y="125.19679">X</tspan></text>
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow1Lend)"
d="m 49.687416,75.46894 v 24.90482"
id="path1991" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow1Lend)"
d="M 7.4223058,117.73405 H 32.327126"
id="path2343" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow1Lend)"
d="m 67.047707,117.73405 h 24.90482"
id="path2345" />
<g
id="g2568"
transform="translate(-12.913234,2.7285187)">
<rect
style="fill:none;stroke:#000000;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stop-color:#000000"
id="rect2369"
width="37.064415"
height="18.921246"
x="104.86576"
y="105.54491"
rx="2.832391"
ry="2.832391" />
<path
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 110.38329,121.08177 h 13.4125 v -12.15249 h 12.61686"
id="path2484" />
</g>
<circle
style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stop-color:#000000"
id="circle2570"
cx="171.28206"
cy="117.73405"
r="17.360291" />
<text
xml:space="preserve"
style="font-weight:bold;font-size:21.5375px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;stroke-width:0.814069"
x="165.02541"
y="125.19679"
id="text2574"><tspan
sodipodi:role="line"
id="tspan2572"
style="stroke-width:0.814069"
x="165.02541"
y="125.19679">X</tspan></text>
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow1Lend)"
d="m 171.28205,75.46894 v 24.90482"
id="path2576" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow1Lend)"
d="m 129.01694,117.73405 h 24.90482"
id="path2578" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow1Lend)"
d="m 188.64234,117.73405 h 24.90482"
id="path2580" />
<g
id="g2586"
transform="translate(108.6814,2.7285187)">
<rect
style="fill:none;stroke:#000000;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stop-color:#000000"
id="rect2582"
width="37.064415"
height="18.921246"
x="104.86576"
y="105.54491"
rx="2.832391"
ry="2.832391" />
<path
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 110.38329,121.08177 h 13.4125 v -12.15249 h 12.61686"
id="path2584" />
</g>
<text
xml:space="preserve"
style="font-weight:bold;font-size:7px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;stroke-width:0.264583"
x="54.040134"
y="81.060326"
id="text6436"><tspan
sodipodi:role="line"
id="tspan6434"
style="stroke-width:0.264583"
x="54.040134"
y="81.060326">w<tspan
style="font-size:65%;baseline-shift:sub"
id="tspan6570">1</tspan></tspan></text>
<text
xml:space="preserve"
style="font-weight:bold;font-size:7px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;stroke-width:0.264583"
x="175.93098"
y="81.060326"
id="text7448"><tspan
sodipodi:role="line"
id="tspan7446"
style="stroke-width:0.264583"
x="175.93098"
y="81.060326">w<tspan
style="font-size:65%;baseline-shift:sub"
id="tspan7444">2</tspan></tspan></text>
<text
xml:space="preserve"
style="font-weight:bold;font-size:7px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;stroke-width:0.264583"
x="7.204855"
y="113.34935"
id="text8754"><tspan
sodipodi:role="line"
id="tspan8752"
style="stroke-width:0.264583"
x="7.204855"
y="113.34935">x<tspan
style="font-size:65%;baseline-shift:sub"
id="tspan10437">i</tspan></tspan></text>
<text
xml:space="preserve"
style="font-weight:bold;font-size:7.74105px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;baseline-shift:baseline;stroke-width:0.170679"
x="72.797882"
y="112.79423"
id="text11757"><tspan
sodipodi:role="line"
id="tspan11755"
style="baseline-shift:baseline;stroke-width:0.170679"
x="72.797882"
y="112.79423">P<tspan
style="font-size:5.03168px;baseline-shift:sub;stroke-width:0.170679"
id="tspan12309">1</tspan></tspan></text>
<text
xml:space="preserve"
style="font-weight:bold;font-size:7.74105px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;baseline-shift:baseline;stroke-width:0.170679"
x="137.06244"
y="112.79423"
id="text13824"><tspan
sodipodi:role="line"
id="tspan13822"
style="baseline-shift:baseline;stroke-width:0.170679"
x="137.06244"
y="112.79423">y</tspan></text>
<text
xml:space="preserve"
style="font-weight:bold;font-size:7.74105px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;baseline-shift:baseline;stroke-width:0.170679"
x="197.13297"
y="112.79423"
id="text14194"><tspan
sodipodi:role="line"
id="tspan14192"
style="baseline-shift:baseline;stroke-width:0.170679"
x="197.13297"
y="112.79423">P<tspan
style="font-size:65%;baseline-shift:sub"
id="tspan15142">2</tspan></tspan></text>
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow1Lend)"
d="M 250.61158,117.73405 H 275.5164"
id="path15972" />
<text
xml:space="preserve"
style="font-weight:bold;font-size:7.74105px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;baseline-shift:baseline;stroke-width:0.170679"
x="258.70328"
y="112.79423"
id="text15978"><tspan
sodipodi:role="line"
id="tspan15976"
style="baseline-shift:baseline;stroke-width:0.170679"
x="258.70328"
y="112.79423">O<tspan
style="font-size:65%;baseline-shift:sub"
id="tspan19102">i</tspan></tspan></text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

View file

@ -0,0 +1,151 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="343.16629mm"
height="91.644623mm"
viewBox="0 0 343.16629 91.644623"
version="1.1"
id="svg1523"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04, custom)"
sodipodi:docname="logreg_illustration.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1525"
pagecolor="#505050"
bordercolor="#eeeeee"
borderopacity="1"
inkscape:pageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:document-units="mm"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:zoom="0.41512267"
inkscape:cx="299.91135"
inkscape:cy="348.08988"
inkscape:window-width="1920"
inkscape:window-height="1029"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs1520" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(74.03746,-53.720131)">
<rect
style="fill:none;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="rect846"
width="343.16629"
height="91.644623"
x="-74.03746"
y="53.720131"
rx="2.832391"
ry="2.832391" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="path1037"
cx="107.89219"
cy="70.351852"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1783"
cx="121.04168"
cy="70.351852"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1785"
cx="135.37793"
cy="70.351852"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1787"
cx="157.09549"
cy="70.351852"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1789"
cx="186.31042"
cy="70.351852"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1791"
cx="209.26151"
cy="70.351852"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1793"
cx="218.95366"
cy="70.351852"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1795"
cx="232.58313"
cy="70.351852"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1797"
cx="78.513054"
cy="133.15918"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1799"
cx="55.333691"
cy="133.15918"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1801"
cx="22.605986"
cy="133.15918"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1803"
cx="15.722991"
cy="133.15918"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1805"
cx="10.800524"
cy="133.15918"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1807"
cx="-22.623907"
cy="133.15918"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1809"
cx="-42.128513"
cy="133.15918"
r="2.8585174" />
<path
style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m -41.982785,128.84168 c 51.2434976,0 117.586901,0 117.586901,0 43.054114,0 10.038709,-51.6509 47.523294,-51.6509 0,0 8.35958,0 111.2191,0"
id="path1924"
sodipodi:nodetypes="cssc" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.3 KiB

BIN
images/neuron_model.pdf Normal file

Binary file not shown.

239
images/neuron_model.svg Normal file
View file

@ -0,0 +1,239 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="157.24384mm"
height="85.380844mm"
viewBox="0 0 157.24384 85.380844"
version="1.1"
id="svg4192"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04, custom)"
sodipodi:docname="neuron_model.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview4194"
pagecolor="#505050"
bordercolor="#eeeeee"
borderopacity="1"
inkscape:pageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:document-units="mm"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:snap-midpoints="true"
inkscape:snap-smooth-nodes="true"
inkscape:zoom="1.6604907"
inkscape:cx="288.16783"
inkscape:cy="196.02639"
inkscape:window-width="1920"
inkscape:window-height="1029"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs4189">
<marker
style="overflow:visible;"
id="marker5083"
refX="0.0"
refY="0.0"
orient="auto"
inkscape:stockid="Arrow1Lend"
inkscape:isstock="true">
<path
transform="scale(0.8) rotate(180) translate(12.5,0)"
style="fill-rule:evenodd;fill:context-stroke;stroke:context-stroke;stroke-width:1.0pt;"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
id="path5081" />
</marker>
<marker
style="overflow:visible;"
id="Arrow1Lend"
refX="0.0"
refY="0.0"
orient="auto"
inkscape:stockid="Arrow1Lend"
inkscape:isstock="true">
<path
transform="scale(0.8) rotate(180) translate(12.5,0)"
style="fill-rule:evenodd;fill:context-stroke;stroke:context-stroke;stroke-width:1.0pt;"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
id="path4816" />
</marker>
</defs>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-44.226173,-73.81102)">
<rect
style="fill:none;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="rect4330"
width="157.24384"
height="85.380844"
x="44.226173"
y="73.81102"
rx="2.832391"
ry="2.832391" />
<circle
style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="path4488"
cx="111.13521"
cy="117.57929"
r="15.992062" />
<rect
style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="rect4614"
width="36.148979"
height="18.07449"
x="140.33875"
y="108.54205"
rx="2.832391"
ry="2.832391" />
<path
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend)"
d="m 127.12727,117.57929 13.21148,1e-5"
id="path4729" />
<path
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker5083)"
d="m 176.48773,117.5793 h 11.93258"
id="path4731" />
<text
xml:space="preserve"
style="font-weight:bold;font-size:5.31015px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;stroke-width:0.200711;text-anchor:middle;text-align:center"
x="158.95419"
y="115.79469"
id="text6875"><tspan
sodipodi:role="line"
id="tspan6873"
style="stroke-width:0.200711;text-anchor:middle;text-align:center"
x="146.69305"
y="115.79469">Activation </tspan><tspan
sodipodi:role="line"
style="stroke-width:0.200711;text-anchor:middle;text-align:center"
x="146.69305"
y="122.43238"
id="tspan6877">Function</tspan></text>
<path
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker5083)"
d="M 79.751046,81.681101 98.1323,103.32625"
id="path9880"
sodipodi:nodetypes="cc" />
<path
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker5083)"
d="M 64.424069,117.84799 H 92.219806"
id="path9882" />
<path
style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker5083)"
d="M 79.394695,145.49429 97.231644,130.86"
id="path9884" />
<text
xml:space="preserve"
style="font-weight:bold;font-size:7px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;stroke-width:0.264583;fill:#333333"
x="82.813385"
y="80.266747"
id="text11568"><tspan
sodipodi:role="line"
id="tspan11566"
style="stroke-width:0.264583;fill:#333333"
x="82.813385"
y="80.266747">x<tspan
style="font-size:65%;baseline-shift:sub;fill:#333333"
id="tspan11702">1</tspan></tspan></text>
<text
xml:space="preserve"
style="font-weight:bold;font-size:7px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;fill:#333333;stroke-width:0.264583"
x="65.432724"
y="113.95374"
id="text11824"><tspan
sodipodi:role="line"
id="tspan11822"
style="fill:#333333;stroke-width:0.264583"
x="65.432724"
y="113.95374">x<tspan
style="font-size:65%;baseline-shift:sub"
id="tspan17418">2</tspan></tspan></text>
<text
xml:space="preserve"
style="font-weight:bold;font-size:7px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;fill:#333333;stroke-width:0.264583"
x="82.143425"
y="148.99448"
id="text11830"><tspan
sodipodi:role="line"
id="tspan11828"
style="fill:#333333;stroke-width:0.264583"
x="82.143425"
y="148.99448">x<tspan
style="font-size:65%;baseline-shift:sub"
id="tspan14952">3</tspan></tspan></text>
<text
xml:space="preserve"
style="font-weight:bold;font-size:4.79477px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;fill:#000000;stroke-width:0.181231"
x="94.624268"
y="96.911461"
id="text18560"><tspan
sodipodi:role="line"
id="tspan18558"
style="fill:#000000;stroke-width:0.181231"
x="94.624268"
y="96.911461">w<tspan
style="font-size:3.1166px;baseline-shift:sub;stroke-width:0.181231"
id="tspan23014">1</tspan></tspan></text>
<text
xml:space="preserve"
style="font-weight:bold;font-size:4.79477px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;fill:#000000;stroke-width:0.181231"
x="85.977661"
y="114.5061"
id="text24104"><tspan
sodipodi:role="line"
id="tspan24102"
style="fill:#000000;stroke-width:0.181231"
x="85.977661"
y="114.5061">w<tspan
style="font-size:3.1166px;baseline-shift:sub;stroke-width:0.181231"
id="tspan24100">2</tspan></tspan></text>
<text
xml:space="preserve"
style="font-weight:bold;font-size:4.79477px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;fill:#000000;stroke-width:0.181231"
x="95.436737"
y="138.04387"
id="text27322"><tspan
sodipodi:role="line"
id="tspan27320"
style="fill:#000000;stroke-width:0.181231"
x="95.436737"
y="138.04387">w<tspan
style="font-size:3.1166px;baseline-shift:sub;stroke-width:0.181231"
id="tspan27318">3</tspan></tspan></text>
<text
xml:space="preserve"
style="font-weight:bold;font-size:7px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;fill:#000000;stroke-width:0.264583"
x="190.19286"
y="119.18709"
id="text28734"><tspan
sodipodi:role="line"
id="tspan28732"
style="fill:#000000;stroke-width:0.264583"
x="190.19286"
y="119.18709">y</tspan></text>
<text
xml:space="preserve"
style="font-weight:bold;font-size:15.2789px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;stroke-width:0.577506"
x="107.29256"
y="122.87343"
id="text31550"><tspan
sodipodi:role="line"
id="tspan31548"
style="stroke-width:0.577506"
x="107.29256"
y="122.87343">Σ</tspan></text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

View file

@ -0,0 +1,392 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="270.08405mm"
height="180.72713mm"
viewBox="0 0 270.08405 180.72713"
version="1.1"
id="svg32249"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04, custom)"
sodipodi:docname="percepton_problem.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview32251"
pagecolor="#505050"
bordercolor="#eeeeee"
borderopacity="1"
inkscape:pageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:document-units="mm"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:zoom="0.58707211"
inkscape:cx="540.81942"
inkscape:cy="244.43335"
inkscape:window-width="1920"
inkscape:window-height="1029"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs32246">
<marker
style="overflow:visible"
id="Arrow1Lstart"
refX="0.0"
refY="0.0"
orient="auto"
inkscape:stockid="Arrow1Lstart"
inkscape:isstock="true">
<path
transform="scale(0.8) translate(12.5,0)"
style="fill-rule:evenodd;fill:context-stroke;stroke:context-stroke;stroke-width:1.0pt"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
id="path4813" />
</marker>
<marker
style="overflow:visible;"
id="Arrow1Lend"
refX="0.0"
refY="0.0"
orient="auto"
inkscape:stockid="Arrow1Lend"
inkscape:isstock="true">
<path
transform="scale(0.8) rotate(180) translate(12.5,0)"
style="fill-rule:evenodd;fill:context-stroke;stroke:context-stroke;stroke-width:1.0pt;"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
id="path4816" />
</marker>
</defs>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(11.506795,-69.775261)">
<rect
style="fill:none;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="rect32344"
width="269.08405"
height="179.72713"
x="-11.006795"
y="70.275261"
rx="2.832391"
ry="2.832391" />
<path
style="fill:none;stroke:#000000;stroke-width:0.75;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;marker-start:url(#Arrow1Lstart)"
d="M 115.22572,79.942637 V 242.08715"
id="path32513" />
<path
style="fill:none;stroke:#000000;stroke-width:0.75;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;marker-start:url(#Arrow1Lstart)"
d="M 196.29798,161.01489 H 34.153464"
id="path32595" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 34.153462,161.01489 v 6.10427"
id="path32640" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 51.221308,161.01489 v 6.10427"
id="path32724" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 68.289157,161.01489 v 6.10427"
id="path32726" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 85.357011,161.01489 v 6.10427"
id="path32728" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 102.42486,161.01489 v 6.10427"
id="path32730" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 119.49272,161.01489 v 6.10427"
id="path32732" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 136.56057,161.01489 v 6.10427"
id="path32734" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 153.62842,161.01489 v 6.10427"
id="path32736" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 170.69628,161.01489 v 6.10427"
id="path32738" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 42.687385,161.01489 v 6.10427"
id="path32740" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 59.75523,161.01489 v 6.10427"
id="path32742" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 76.823084,161.01489 v 6.10427"
id="path32744" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 93.890937,161.01489 v 6.10427"
id="path32746" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 110.95879,161.01489 v 6.10427"
id="path32748" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 128.02664,161.01489 v 6.10427"
id="path32750" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 145.0945,161.01489 v 6.10427"
id="path32752" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 162.16235,161.01489 v 6.10427"
id="path32754" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 179.23021,161.01489 v 6.10427"
id="path32756" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 121.32999,97.010481 h -6.10427"
id="path32762" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 121.32999,114.07833 h -6.10427"
id="path32764" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 121.32999,131.14619 h -6.10427"
id="path32766" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 121.32999,148.21403 h -6.10427"
id="path32768" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 121.32999,165.28189 h -6.10427"
id="path32770" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 121.32999,182.34974 h -6.10427"
id="path32772" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 121.32999,199.41759 h -6.10427"
id="path32774" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 121.32999,216.48545 h -6.10427"
id="path32776" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 121.32999,233.5533 h -6.10427"
id="path32778" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 121.32999,105.5444 h -6.10427"
id="path32782" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 121.32999,122.61226 h -6.10427"
id="path32784" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 121.32999,139.68011 h -6.10427"
id="path32786" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 121.32999,156.74796 h -6.10427"
id="path32788" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 121.32999,173.81581 h -6.10427"
id="path32790" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 121.32999,190.88367 h -6.10427"
id="path32792" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 121.32999,207.95152 h -6.10427"
id="path32794" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 121.32999,225.01938 h -6.10427"
id="path32796" />
<path
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 121.32999,242.08723 h -6.10427"
id="path32798" />
<circle
style="fill:#666666;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stop-color:#000000"
id="path33348"
cx="179.23021"
cy="97.010483"
r="2.5016901" />
<circle
style="fill:#666666;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stop-color:#000000"
id="circle33430"
cx="179.23021"
cy="131.14619"
r="2.5016901" />
<path
sodipodi:type="star"
style="fill:#666666;stroke:none;stroke-width:1.88976;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stop-color:#000000"
id="path33552"
inkscape:flatsided="true"
sodipodi:sides="3"
sodipodi:cx="321.39938"
sodipodi:cy="211.70837"
sodipodi:r1="15.740541"
sodipodi:r2="7.8702703"
sodipodi:arg1="0.52359878"
sodipodi:arg2="1.5707963"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 335.03109,219.57864 -27.26342,0 13.63171,-23.61081 z"
transform="matrix(0.26458333,0,0,0.26458333,0.32009185,42.037146)"
inkscape:transform-center-x="1.0713313e-06"
inkscape:transform-center-y="-1.0411719" />
<path
sodipodi:type="star"
style="fill:#666666;stroke:none;stroke-width:1.88976;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stop-color:#000000"
id="path33634"
inkscape:flatsided="true"
sodipodi:sides="3"
sodipodi:cx="321.39938"
sodipodi:cy="211.70837"
sodipodi:r1="15.740541"
sodipodi:r2="7.8702703"
sodipodi:arg1="0.52359878"
sodipodi:arg2="1.5707963"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 335.03109,219.57864 -27.26342,0 13.63171,-23.61081 z"
transform="matrix(0.26458333,0,0,0.26458333,0.32009185,106.04155)"
inkscape:transform-center-x="1.0713313e-06"
inkscape:transform-center-y="-1.0411719" />
<path
sodipodi:type="star"
style="fill:#666666;stroke:none;stroke-width:1.88976;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stop-color:#000000"
id="path33636"
inkscape:flatsided="true"
sodipodi:sides="3"
sodipodi:cx="321.39938"
sodipodi:cy="211.70837"
sodipodi:r1="15.740541"
sodipodi:r2="7.8702703"
sodipodi:arg1="0.52359878"
sodipodi:arg2="1.5707963"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 335.03109,219.57864 -27.26342,0 13.63171,-23.61081 z"
transform="matrix(0.26458333,0,0,0.26458333,-33.815611,106.04155)"
inkscape:transform-center-x="1.0713313e-06"
inkscape:transform-center-y="-1.0411719" />
<path
style="fill:#999999;stroke:#999999;stroke-width:1.07655px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 191.5446,114.56478 70.012985,236.09641"
id="path33671" />
<path
style="fill:#666666;stroke:#666666;stroke-width:1.07655px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 88.933223,74.456459 139.11648,238.83867"
id="path33789" />
<text
xml:space="preserve"
style="font-weight:bold;font-size:7px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;stroke-width:0.264583"
x="177.03506"
y="91.513695"
id="text36205"><tspan
sodipodi:role="line"
id="tspan36203"
style="stroke-width:0.264583"
x="177.03506"
y="91.513695">-1</tspan></text>
<text
xml:space="preserve"
style="font-weight:bold;font-size:7px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;stroke-width:0.264583"
x="180.45572"
y="137.45357"
id="text36465"><tspan
sodipodi:role="line"
id="tspan36463"
style="stroke-width:0.264583"
x="180.45572"
y="137.45357">-1</tspan></text>
<text
xml:space="preserve"
style="font-weight:bold;font-size:7px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;stroke-width:0.264583"
x="74.261017"
y="98.05658"
id="text36469"><tspan
sodipodi:role="line"
id="tspan36467"
style="stroke-width:0.264583"
x="74.261017"
y="98.05658">+1</tspan></text>
<text
xml:space="preserve"
style="font-weight:bold;font-size:7px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;stroke-width:0.264583"
x="80.931465"
y="155.55367"
id="text36923"><tspan
sodipodi:role="line"
id="tspan36921"
style="stroke-width:0.264583"
x="80.931465"
y="155.55367">+1</tspan></text>
<text
xml:space="preserve"
style="font-weight:bold;font-size:7px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;stroke-width:0.264583"
x="48.016602"
y="155.5587"
id="text36927"><tspan
sodipodi:role="line"
id="tspan36925"
style="stroke-width:0.264583"
x="48.016602"
y="155.5587">+1</tspan></text>
<text
xml:space="preserve"
style="font-weight:bold;font-size:7px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;stroke-width:0.264583"
x="60.016983"
y="222.17969"
id="text36919"><tspan
sodipodi:role="line"
id="tspan36917"
style="stroke-width:0.264583"
x="60.016983"
y="222.17969">1<tspan
style="font-size:65%;baseline-shift:super"
id="tspan37369">st</tspan> line</tspan></text>
<text
xml:space="preserve"
style="font-weight:bold;font-size:7px;line-height:1.25;font-family:'Fira Sans';-inkscape-font-specification:'Fira Sans Bold';letter-spacing:0px;word-spacing:0px;stroke-width:0.264583"
x="135.97601"
y="212.48479"
id="text38335"><tspan
sodipodi:role="line"
id="tspan38333"
style="stroke-width:0.264583"
x="135.97601"
y="212.48479">2<tspan
style="font-size:65%;baseline-shift:super"
id="tspan44353">nd </tspan>line</tspan></text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 18 KiB

BIN
images/slr_illustration.pdf Normal file

Binary file not shown.

133
images/slr_illustration.svg Normal file
View file

@ -0,0 +1,133 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="343.66629mm"
height="92.144623mm"
viewBox="0 0 343.66629 92.144623"
version="1.1"
id="svg5"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04, custom)"
sodipodi:docname="slr_illustration.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview7"
pagecolor="#505050"
bordercolor="#eeeeee"
borderopacity="1"
inkscape:pageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:document-units="mm"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:zoom="0.58707211"
inkscape:cx="612.36089"
inkscape:cy="314.27144"
inkscape:window-width="1920"
inkscape:window-height="1029"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs2" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(57.374767,-65.438355)">
<rect
style="fill:none;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="rect846"
width="343.16629"
height="91.644623"
x="-57.124767"
y="65.688354"
rx="2.832391"
ry="2.832391" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="path1037"
cx="-3.8899388"
cy="99.784805"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1191"
cx="-27.643158"
cy="136.97643"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1193"
cx="12.776318"
cy="117.80414"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1195"
cx="24.994902"
cy="131.1936"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1197"
cx="47.482998"
cy="125.46027"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1199"
cx="95.932297"
cy="104.0139"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1201"
cx="133.06442"
cy="108.54108"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1203"
cx="169.94513"
cy="104.12238"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1205"
cx="188.71745"
cy="96.75238"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1207"
cx="229.33838"
cy="104.48634"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1209"
cx="252.30954"
cy="90.016098"
r="2.8585174" />
<circle
style="fill:#800000;stroke:none;stroke-width:0.499999;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000"
id="circle1163"
cx="89.877594"
cy="123.36918"
r="2.8585174" />
<path
style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M -48.304555,135.87184 280.33693,87.407631"
id="path1244"
sodipodi:nodetypes="cc" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.6 KiB

124
main.tex
View file

@ -74,7 +74,14 @@ Descriptive Models provide new information to describe the data in a new way. Cl
The difference between classification and regression is that classification provide a categorical output (one element of a pre-deternime finite set, for example a label) when regression provide a continuouse output as a real number. The difference between classification and regression is that classification provide a categorical output (one element of a pre-deternime finite set, for example a label) when regression provide a continuouse output as a real number.
\newpage
\section{Simple Linear Regression} \section{Simple Linear Regression}
\begin{figure}[h]
\centering
\includegraphics[width=\textwidth]{images/slr_illustration.pdf}
\end{figure}
We are interested in finding a function that represent best the non-functional relationship\footnote{Meaning that the output cannot be expressed as a mathematical function of the input.} between the input and the output. We suppose that we have a dataset of $n$ input/output points. We can first try to determine if there is a statistical relationship between input and output. For that we look at the covariance and the corelation. We are interested in finding a function that represent best the non-functional relationship\footnote{Meaning that the output cannot be expressed as a mathematical function of the input.} between the input and the output. We suppose that we have a dataset of $n$ input/output points. We can first try to determine if there is a statistical relationship between input and output. For that we look at the covariance and the corelation.
With $\bar{Y}$ the average of the outputs and $\bar{X}$ the average of the inputs and $S$ the standard deviation: With $\bar{Y}$ the average of the outputs and $\bar{X}$ the average of the inputs and $S$ the standard deviation:
@ -94,9 +101,16 @@ This is equivalent to using the Maximum Likelihood Estimator (MLE) with the (rea
This works well for monovariate problems. In the case of multivariate problems, you have to take each input individually and evaluate the linear regression from this input to the output and the problem becomes way more complex (not detailed here). This works well for monovariate problems. In the case of multivariate problems, you have to take each input individually and evaluate the linear regression from this input to the output and the problem becomes way more complex (not detailed here).
\newpage
\section{Logistic Regression} \section{Logistic Regression}
gistic regression is fundamentally different from Linear Regression in the sens that it returns the probability of an input belongign to one class. This probability can be compared to a threshold (usually $0.5$) to express the predicted class of the input. In this sense, the logistic regression does not return a real number but a categorical output. In this context, the "training" data consist of inputs that are real number and output that are binary (either 0 or 1). The logistic regression can be viewed as an extension of the linear regression where the affine curve is "bent" to be confined between 0 and 1. We start by expressing the logistic curve as the probability of the input $x$ belonging to the class 1. \begin{figure}[h]
\centering
\includegraphics[width=\textwidth]{images/logreg_illustration.pdf}
\end{figure}
The Loggistic regression is fundamentally different from Linear Regression in the sens that it returns the probability of an input belongign to one of two classes. This probability can be compared to a threshold (usually $0.5$) to express the predicted class of the input. In this sense, the logistic regression does not return a real number but a categorical output. In this context, the "training" data consist of inputs that are real number and output that are binary (either 0 or 1). The logistic regression can be viewed as an extension of the linear regression where the affine curve is "bent" to be confined between 0 and 1. We start by expressing the logistic curve as the probability of the input $x$ belonging to the class 1.
\begin{equation} \begin{equation}
p(x) = \dfrac{1}{1+e^{-y}} = \dfrac{1}{1+e^{-(\beta_1x+\beta_0)}} p(x) = \dfrac{1}{1+e^{-y}} = \dfrac{1}{1+e^{-(\beta_1x+\beta_0)}}
@ -114,4 +128,112 @@ L_k =
$$ $$
The issue now is that this function is non-linear so we cannot simply derive it and solve for 0 to get the optimum. Numerical methods such as gradient descent or NewtonRaphson need to be leverage to approximate the optimum $\beta$ value. The issue now is that this function is non-linear so we cannot simply derive it and solve for 0 to get the optimum. Numerical methods such as gradient descent or NewtonRaphson need to be leverage to approximate the optimum $\beta$ value.
\section{Fundamentals of Artificial Neural Networks}
\begin{definition}{Artificial Neural Network}{ann}
An Artificial Neural Network (ANN) is a systems that can acquire, store and utilize experimental knowledge. It is a set of parallelized and distributed computational elements characterisez by there architecture, learning paradigme, and activation functions.
\end{definition}
ANNs are based on \textit{what and how we think} brain's neurons look like and function. Each neurone is a computational element that receivs impulsion or signal from one or more other neurons and, based on a set of intrinsec parameters (the weights) and a threshold/bias (the activation function), transmit a signal to one or more subsequent neurons. The ANNs can be categorized using multiple criteria:
Topologies:
\begin{itemize}
\item Feed Forward: The information flow goes from the first to the last layer in only one direction.
\item Recurent: There is no main information flow direction. At some point the information goes out of the network.
\end{itemize}
Activations functions:
\begin{itemize}
\item Steps.
\item Sigmoid.
\item Sigmoid derivativ.
\item Linear.
\item $\dots$
\end{itemize}
Learning paradigmes:
\begin{itemize}
\item Supervised learning: The learning is guided by the error.
\item Unsupervised learning.
\item Reinforcement learning: Values or penalize sequences of steps based on the result.
\item $\dots$
\end{itemize}
\newpage
\subsection{McCulloch-Pitts Model}
The first model of a neurone was proposed to represent the computing process of a biological neurone with mathematical elements.
\begin{figure}[h]
\centering
\includegraphics[width=0.7\textwidth]{images/neuron_model.pdf}
\end{figure}
This model does not include any learning mechanism. The weights and activation function parameters need to be set manually in order to procude a meaningfull result. In itseft, this model is pretty but not very usefull. In order to make it learn, we turn it into a perceptron by updating the weights iteratively depending on the output generated by the neurone on our training set of datapoitns.
\subsection{Perceptron}
\begin{figure}[h]
\centering
\includegraphics[width=0.5\textwidth]{images/percepton_problem.pdf}
\label{fig:perceptron_problem}
\caption{Example of a problem solvable with the perceptron.}
\end{figure}
The perceptron can learn and adjust its parameter using trainig data. The aim of this problem is to find a hyperplan (a line in this case) that separates the $+1$ and $-1$ points. If each class is on one and only one side of the line then the problem is solved. There is no notion of \textit{best separation line} (like there would be for an SVM for example). To solve this problem, we use a one-neurone model. This neurone has weights $\omega = [\omega_1,\omega_2]^T$ and a threshold $\theta$. The equation of the output $o_i$ from the input $x_i = [x_1,x_2]$ is given by:
\begin{equation}
o_i = [\omega_1,\omega_2,\theta] \cdot [x_1,x_2,1]^T = \omega \cdot x_i + \theta
\end{equation}
Without any better idea of where to start, we initialize the parameters to random (but reasonable) values: $\omega_1=-1, \omega_2=1, \theta=-1$. This set of parameters give the first line presented in figure \ref{fig:perceptron_problem}.
The first line is not very good because the lower $-1$ point is missclassified. We can use this point to update the line. Let's define the the update function using $\eta$ the learning rate (used to reduce the variation between two iterations in order to stay in a stable state).
\begin{align*}
\Delta\omega &= 2\eta t x_i\\
\Delta\theta &= -2 \eta t \textrm{ if $t \neq o$, oterwise $\Delta\theta = 0$}
\end{align*}
With this update function and $\eta=0.1$, we can update the weights to $\omega = [-3,-1], \theta=0$. This produces the second line that perfectly.
The one-neurone perceptron can learn and solve linearily separable problems. There is one hyper parameter to tune but other than that it should converge to a solution if the learning rate is not to big. The stopping criteria is is either finding a solution or reaching a number of iterations.
\subsection{Multi-Layer Perceptron}
One neurone is good but it is very limited. For example, it is limited to linearily separable problems. The XOR problem where two classes are spread along the both diagonalsof the plan is an example of a very simple and yet non-linearily separable problem where a single-neurone perceptron will fail. We need to connect multiple neurones together now to tackle this kind of problems. We make a few changes to the neurone to prepare it to the use in a network.
\begin{itemize}
\item The neurone has now a trainable bias which is just a third parameter along with the weights.
\item The training function is now defined as $\Delta \omega = \eta \left( \dfrac{\partial P}{\partial \omega_1} + \dfrac{\partial P}{\partial \omega_2}\right)$
\item The performance function is define as $P = -\dfrac{1}{2} (t-o)^2$. The square is to make it smooth and derivable, the half is because we know we are going to derivate it at some point, and the negative sign is to make it a maximisation problem (no real use, maximizing performance is the same as minimizing loss or cost).
\end{itemize}
We can now conenct the two neurones and this minimal network will produce an output $O_i$ for each input $x_i$.
\begin{figure}[h]
\centering
\includegraphics[width=0.8\textwidth]{images/2neurones.pdf}
\label{fig:2neurones}
\caption{Minimal multi-layers perceptron with two neurones..}
\end{figure}
We want to maximise the performance value $P$ using the inputs $x_i$. This maximisation problem requires to determine the derivative of $P$ with respect to each parameter and use it to update the parameter (gradient descent method). In order to obtain the derivative of $P$ with respect to both $\omega_i$, we leverage the chain rule to get from the end of the network to the begining using the derivative at each step:
\[\arraycolsep=4pt\def\arraystretch{2.2}
\left\{
\begin{array}{ll}
\dfrac{\partial P}{\partial \omega_2} &= \dfrac{\partial P}{\partial O_i} \dfrac{\partial O_i}{\partial P_2} \dfrac{\partial P_2}{\partial \omega_2}\\
\dfrac{\partial P}{\partial \omega_1} &= \dfrac{\partial P}{\partial \omega_2} \dfrac{\partial \omega_2}{\partial y} \dfrac{\partial y}{\partial P_1} \dfrac{\partial P_1}{\partial \omega_1}\\
\end{array}
\right.
\]
Each derivative is fairly easy to get. We can express our deltas as:
\begin{align*}
\dfrac{\partial P}{\partial \omega_2} &= (t_i - O_i) \times (1-O_i)O_i \times y\\
\dfrac{\partial P}{\partial \omega_1} &= (t_i - O_i) \times (1-O_i)O_i \times \omega_2 \times(1-y)y\times x_i\\
\end{align*}
These derivatives can be used now to update the valeus of $\omega_1$ and $\omega_2$ according to the learning rate $\eta$. This chaining of derivative from the output all the way to the input of the network is the idea behind backtracking.
\end{document} \end{document}