-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathb7fff368.4c61eafe.js
1 lines (1 loc) · 61.8 KB
/
b7fff368.4c61eafe.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{166:function(e,a,t){"use strict";t.r(a),a.default=t.p+"assets/files/a-09-mlp-6f0fa4e7b538d3660bba61dc22a84668.pdf"},167:function(e,a,t){"use strict";t.r(a),a.default=t.p+"assets/images/backprop-31e1cb589b9bf6523c61a872e06d05a6.png"},168:function(e,a,t){"use strict";t.r(a),a.default=t.p+"assets/images/complexity-4321e7b9e1c574e09ebb9ee34ffd6f57.png"},169:function(e,a,t){"use strict";t.r(a),a.default=t.p+"assets/images/jason_1-962c4a51d7c1918a52739ee28faac0d9.png"},170:function(e,a,t){"use strict";t.r(a),a.default=t.p+"assets/images/jason_2-e7462b96325adfc2a88021c798dc0e5d.png"},171:function(e,a,t){"use strict";t.r(a),a.default=t.p+"assets/images/jason_3-43c33aee04b14b963b0bc9a9121e3081.png"},172:function(e,a,t){"use strict";t.r(a),a.default=t.p+"assets/images/jason_4-f4a978dfdba7809ba4b58ef6637607f9.png"},173:function(e,a,t){"use strict";t.r(a),a.default=t.p+"assets/images/jordan_1-8b63ee756288f37ffd3b77880a2b0da0.png"},174:function(e,a,t){"use strict";t.r(a),a.default=t.p+"assets/images/jordan_2-7613250f7ee020c760a19eb55742347c.png"},82:function(e,a,t){"use strict";t.r(a),t.d(a,"frontMatter",(function(){return c})),t.d(a,"metadata",(function(){return b})),t.d(a,"rightToc",(function(){return p})),t.d(a,"default",(function(){return l}));var s=t(2),n=t(6),m=(t(0),t(94)),c={title:"Multi-Layered Perceptron"},b={unversionedId:"sec-a/a-09-mlp",id:"sec-a/a-09-mlp",isDocsHomePage:!1,title:"Multi-Layered Perceptron",description:"Authors: Jason Petri, Jordan Pflum, Immanuel Ponminissery. (PDF)",source:"@site/docs\\sec-a\\a-09-mlp.md",slug:"/sec-a/a-09-mlp",permalink:"/APM-2020/docs/sec-a/a-09-mlp",version:"current",lastUpdatedAt:1603328123,sidebar:"docs",previous:{title:"Neural Networks",permalink:"/APM-2020/docs/sec-a/a-08-nn"},next:{title:"Data Preprocessing",permalink:"/APM-2020/docs/sec-a/a-10-dp"}},p=[{value:"Overview of Lecture",id:"overview-of-lecture",children:[]},{value:"Backpropogation Algorithm",id:"backpropogation-algorithm",children:[]},{value:"Complexity discussion of MLPs",id:"complexity-discussion-of-mlps",children:[{value:"Model Complexity for MLP",id:"model-complexity-for-mlp",children:[]}]},{value:"Choosing Machine Learning Method",id:"choosing-machine-learning-method",children:[]},{value:"Issues with Modeling Inverse Problems",id:"issues-with-modeling-inverse-problems",children:[]},{value:"Sources",id:"sources",children:[]}],r={rightToc:p};function l(e){var a=e.components,c=Object(n.a)(e,["components"]);return Object(m.b)("wrapper",Object(s.a)({},r,c,{components:a,mdxType:"MDXLayout"}),Object(m.b)("p",null,"Authors: Jason Petri, Jordan Pflum, Immanuel Ponminissery. (",Object(m.b)("a",{target:"_blank",href:t(166).default},"PDF"),")"),Object(m.b)("h2",{id:"overview-of-lecture"},"Overview of Lecture"),Object(m.b)("p",null,"During lecture, we first went over the backpropogation algorithm. This discussion followed the discussion of the intuition behind backpropogation from the previous class. Next, there was a discussion about model complexity and adjusting comlexity for MLPs. We then discussed Deep Learning and went over Facebook's Deepface paper on a high level. The class concluded with a discussion about choosing methods to solve problems and the issues of modeling inverse problems."),Object(m.b)("p",null,"These notes will go over the following topics:"),Object(m.b)("ul",null,Object(m.b)("li",{parentName:"ul"},"Backpropogation algorithm"),Object(m.b)("li",{parentName:"ul"},"Complexity discussion of MLPs"),Object(m.b)("li",{parentName:"ul"},"Deep Learning"),Object(m.b)("li",{parentName:"ul"},"Choosing Machine Learning method"),Object(m.b)("li",{parentName:"ul"},"Issues with modeling inverse problems")),Object(m.b)("h2",{id:"backpropogation-algorithm"},"Backpropogation Algorithm"),Object(m.b)("p",null,"The backpropogation algorithm is split into two parts: the forward pass and the backward pass. One of the most tricky aspects of explaining the algorithm is the notation itself. The discussion below is a general outline of the algorithm:"),Object(m.b)("p",null,"For each input vector x, the activation of the hidden units is calculated as shown:"),Object(m.b)("div",{className:"math math-display"},Object(m.b)("span",Object(s.a)({parentName:"div"},{className:"katex-display"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex-mathml"}),Object(m.b)("math",Object(s.a)({parentName:"span"},{xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"}),Object(m.b)("semantics",{parentName:"math"},Object(m.b)("mtable",Object(s.a)({parentName:"semantics"},{rowspacing:"0.24999999999999992em",columnalign:"right",columnspacing:""}),Object(m.b)("mtr",{parentName:"mtable"},Object(m.b)("mtd",{parentName:"mtr"},Object(m.b)("mstyle",Object(s.a)({parentName:"mtd"},{scriptlevel:"0",displaystyle:"true"}),Object(m.b)("mrow",{parentName:"mstyle"},Object(m.b)("mi",{parentName:"mrow"},"h"),Object(m.b)("mo",{parentName:"mrow"},"="),Object(m.b)("mi",{parentName:"mrow"},"\u03c3"),Object(m.b)("mo",Object(s.a)({parentName:"mrow"},{stretchy:"false"}),"("),Object(m.b)("mi",{parentName:"mrow"},"x"),Object(m.b)("mo",{parentName:"mrow"},"\xd7"),Object(m.b)("msup",{parentName:"mrow"},Object(m.b)("mi",{parentName:"msup"},"w"),Object(m.b)("mn",{parentName:"msup"},"1")),Object(m.b)("mo",Object(s.a)({parentName:"mrow"},{stretchy:"false"}),")")))))),Object(m.b)("annotation",Object(s.a)({parentName:"semantics"},{encoding:"application/x-tex"}),"\\begin{aligned} h = \\sigma(x\\times w^1) \\end{aligned}")))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex-html","aria-hidden":"true"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"base"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"strut",style:{height:"1.524108em",verticalAlign:"-0.512054em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mtable"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"col-align-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-t vlist-t2"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"1.012054em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{style:{top:"-3.147946em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"pstrut",style:{height:"3em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal"}),"h"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2777777777777778em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mrel"}),"="),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2777777777777778em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal",style:{marginRight:"0.03588em"}}),"\u03c3"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mopen"}),"("),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal"}),"x"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2222222222222222em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mbin"}),"\xd7"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2222222222222222em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal",style:{marginRight:"0.02691em"}}),"w"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"msupsub"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-t"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"0.8641079999999999em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{style:{top:"-3.113em",marginRight:"0.05em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"pstrut",style:{height:"2.7em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"sizing reset-size6 size3 mtight"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mtight"}),"1")))))))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mclose"}),")")))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-s"}),"\u200b")),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"0.512054em"}}),Object(m.b)("span",{parentName:"span"})))))))))))),Object(m.b)("p",null,"The activation of the output units is calculated as shown:"),Object(m.b)("div",{className:"math math-display"},Object(m.b)("span",Object(s.a)({parentName:"div"},{className:"katex-display"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex-mathml"}),Object(m.b)("math",Object(s.a)({parentName:"span"},{xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"}),Object(m.b)("semantics",{parentName:"math"},Object(m.b)("mtable",Object(s.a)({parentName:"semantics"},{rowspacing:"0.24999999999999992em",columnalign:"right",columnspacing:""}),Object(m.b)("mtr",{parentName:"mtable"},Object(m.b)("mtd",{parentName:"mtr"},Object(m.b)("mstyle",Object(s.a)({parentName:"mtd"},{scriptlevel:"0",displaystyle:"true"}),Object(m.b)("mrow",{parentName:"mstyle"},Object(m.b)("mi",{parentName:"mrow"},"a"),Object(m.b)("mo",{parentName:"mrow"},"="),Object(m.b)("mi",{parentName:"mrow"},"\u03c3"),Object(m.b)("mo",Object(s.a)({parentName:"mrow"},{stretchy:"false"}),"("),Object(m.b)("mi",{parentName:"mrow"},"h"),Object(m.b)("mo",{parentName:"mrow"},"\xd7"),Object(m.b)("msup",{parentName:"mrow"},Object(m.b)("mi",{parentName:"msup"},"w"),Object(m.b)("mn",{parentName:"msup"},"2")),Object(m.b)("mo",Object(s.a)({parentName:"mrow"},{stretchy:"false"}),")")))))),Object(m.b)("annotation",Object(s.a)({parentName:"semantics"},{encoding:"application/x-tex"}),"\\begin{aligned} a = \\sigma(h\\times w^2) \\end{aligned}")))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex-html","aria-hidden":"true"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"base"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"strut",style:{height:"1.524108em",verticalAlign:"-0.512054em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mtable"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"col-align-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-t vlist-t2"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"1.012054em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{style:{top:"-3.147946em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"pstrut",style:{height:"3em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal"}),"a"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2777777777777778em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mrel"}),"="),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2777777777777778em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal",style:{marginRight:"0.03588em"}}),"\u03c3"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mopen"}),"("),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal"}),"h"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2222222222222222em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mbin"}),"\xd7"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2222222222222222em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal",style:{marginRight:"0.02691em"}}),"w"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"msupsub"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-t"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"0.8641079999999999em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{style:{top:"-3.113em",marginRight:"0.05em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"pstrut",style:{height:"2.7em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"sizing reset-size6 size3 mtight"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mtight"}),"2")))))))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mclose"}),")")))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-s"}),"\u200b")),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"0.512054em"}}),Object(m.b)("span",{parentName:"span"})))))))))))),Object(m.b)("p",null,"The error at each output and the deriatives of the activations are then calculated:"),Object(m.b)("div",{className:"math math-display"},Object(m.b)("span",Object(s.a)({parentName:"div"},{className:"katex-display"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex-mathml"}),Object(m.b)("math",Object(s.a)({parentName:"span"},{xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"}),Object(m.b)("semantics",{parentName:"math"},Object(m.b)("mtable",Object(s.a)({parentName:"semantics"},{rowspacing:"0.24999999999999992em",columnalign:"right",columnspacing:""}),Object(m.b)("mtr",{parentName:"mtable"},Object(m.b)("mtd",{parentName:"mtr"},Object(m.b)("mstyle",Object(s.a)({parentName:"mtd"},{scriptlevel:"0",displaystyle:"true"}),Object(m.b)("mrow",{parentName:"mstyle"},Object(m.b)("msup",{parentName:"mrow"},Object(m.b)("mi",{parentName:"msup"},"e"),Object(m.b)("mn",{parentName:"msup"},"2")),Object(m.b)("mo",{parentName:"mrow"},"="),Object(m.b)("mi",{parentName:"mrow"},"a"),Object(m.b)("mo",{parentName:"mrow"},"\u2212"),Object(m.b)("mi",{parentName:"mrow"},"t")))))),Object(m.b)("annotation",Object(s.a)({parentName:"semantics"},{encoding:"application/x-tex"}),"\\begin{aligned} e^2 = a-t \\end{aligned}")))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex-html","aria-hidden":"true"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"base"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"strut",style:{height:"1.524108em",verticalAlign:"-0.512054em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mtable"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"col-align-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-t vlist-t2"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"1.012054em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{style:{top:"-3.147946em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"pstrut",style:{height:"3em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal"}),"e"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"msupsub"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-t"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"0.8641079999999999em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{style:{top:"-3.113em",marginRight:"0.05em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"pstrut",style:{height:"2.7em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"sizing reset-size6 size3 mtight"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mtight"}),"2")))))))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2777777777777778em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mrel"}),"="),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2777777777777778em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal"}),"a"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2222222222222222em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mbin"}),"\u2212"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2222222222222222em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal"}),"t")))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-s"}),"\u200b")),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"0.512054em"}}),Object(m.b)("span",{parentName:"span"})))))))))))),Object(m.b)("div",{className:"math math-display"},Object(m.b)("span",Object(s.a)({parentName:"div"},{className:"katex-display"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex-mathml"}),Object(m.b)("math",Object(s.a)({parentName:"span"},{xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"}),Object(m.b)("semantics",{parentName:"math"},Object(m.b)("mtable",Object(s.a)({parentName:"semantics"},{rowspacing:"0.24999999999999992em",columnalign:"right",columnspacing:""}),Object(m.b)("mtr",{parentName:"mtable"},Object(m.b)("mtd",{parentName:"mtr"},Object(m.b)("mstyle",Object(s.a)({parentName:"mtd"},{scriptlevel:"0",displaystyle:"true"}),Object(m.b)("mrow",{parentName:"mstyle"},Object(m.b)("msup",{parentName:"mrow"},Object(m.b)("mi",{parentName:"msup"},"d"),Object(m.b)("mn",{parentName:"msup"},"2")),Object(m.b)("mo",{parentName:"mrow"},"="),Object(m.b)("mi",{parentName:"mrow"},"a"),Object(m.b)("mo",Object(s.a)({parentName:"mrow"},{stretchy:"false"}),"("),Object(m.b)("mn",{parentName:"mrow"},"1"),Object(m.b)("mo",{parentName:"mrow"},"\u2212"),Object(m.b)("mi",{parentName:"mrow"},"a"),Object(m.b)("mo",Object(s.a)({parentName:"mrow"},{stretchy:"false"}),")"),Object(m.b)("msup",{parentName:"mrow"},Object(m.b)("mi",{parentName:"msup"},"e"),Object(m.b)("mn",{parentName:"msup"},"2")),Object(m.b)("mi",{parentName:"mrow"},"\u03b7")))))),Object(m.b)("annotation",Object(s.a)({parentName:"semantics"},{encoding:"application/x-tex"}),"\\begin{aligned} d^2 = a(1-a) e^2 \\eta \\end{aligned}")))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex-html","aria-hidden":"true"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"base"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"strut",style:{height:"1.524108em",verticalAlign:"-0.512054em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mtable"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"col-align-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-t vlist-t2"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"1.012054em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{style:{top:"-3.147946em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"pstrut",style:{height:"3em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal"}),"d"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"msupsub"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-t"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"0.8641079999999999em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{style:{top:"-3.113em",marginRight:"0.05em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"pstrut",style:{height:"2.7em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"sizing reset-size6 size3 mtight"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mtight"}),"2")))))))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2777777777777778em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mrel"}),"="),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2777777777777778em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal"}),"a"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mopen"}),"("),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),"1"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2222222222222222em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mbin"}),"\u2212"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2222222222222222em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal"}),"a"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mclose"}),")"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal"}),"e"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"msupsub"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-t"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"0.8641079999999999em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{style:{top:"-3.113em",marginRight:"0.05em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"pstrut",style:{height:"2.7em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"sizing reset-size6 size3 mtight"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mtight"}),"2")))))))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal",style:{marginRight:"0.03588em"}}),"\u03b7")))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-s"}),"\u200b")),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"0.512054em"}}),Object(m.b)("span",{parentName:"span"})))))))))))),Object(m.b)("p",null,"The error from the output is passed back to the hidden layer and the weights are adjusted as shown below:"),Object(m.b)("div",{className:"math math-display"},Object(m.b)("span",Object(s.a)({parentName:"div"},{className:"katex-display"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex-mathml"}),Object(m.b)("math",Object(s.a)({parentName:"span"},{xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"}),Object(m.b)("semantics",{parentName:"math"},Object(m.b)("mtable",Object(s.a)({parentName:"semantics"},{rowspacing:"0.24999999999999992em",columnalign:"right",columnspacing:""}),Object(m.b)("mtr",{parentName:"mtable"},Object(m.b)("mtd",{parentName:"mtr"},Object(m.b)("mstyle",Object(s.a)({parentName:"mtd"},{scriptlevel:"0",displaystyle:"true"}),Object(m.b)("mrow",{parentName:"mstyle"},Object(m.b)("msup",{parentName:"mrow"},Object(m.b)("mi",{parentName:"msup"},"d"),Object(m.b)("mn",{parentName:"msup"},"1")),Object(m.b)("mo",{parentName:"mrow"},"="),Object(m.b)("mi",{parentName:"mrow"},"h"),Object(m.b)("mo",Object(s.a)({parentName:"mrow"},{stretchy:"false"}),"("),Object(m.b)("mn",{parentName:"mrow"},"1"),Object(m.b)("mo",{parentName:"mrow"},"\u2212"),Object(m.b)("mi",{parentName:"mrow"},"h"),Object(m.b)("mo",Object(s.a)({parentName:"mrow"},{stretchy:"false"}),")"),Object(m.b)("msup",{parentName:"mrow"},Object(m.b)("mi",{parentName:"msup"},"w"),Object(m.b)("mn",{parentName:"msup"},"2")),Object(m.b)("msup",{parentName:"mrow"},Object(m.b)("mi",{parentName:"msup"},"d"),Object(m.b)("mn",{parentName:"msup"},"2")),Object(m.b)("mi",{parentName:"mrow"},"\u03b7")))))),Object(m.b)("annotation",Object(s.a)({parentName:"semantics"},{encoding:"application/x-tex"}),"\\begin{aligned} d^1 = h(1-h) w^2 d^2 \\eta \\end{aligned}")))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex-html","aria-hidden":"true"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"base"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"strut",style:{height:"1.524108em",verticalAlign:"-0.512054em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mtable"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"col-align-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-t vlist-t2"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"1.012054em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{style:{top:"-3.147946em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"pstrut",style:{height:"3em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal"}),"d"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"msupsub"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-t"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"0.8641079999999999em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{style:{top:"-3.113em",marginRight:"0.05em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"pstrut",style:{height:"2.7em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"sizing reset-size6 size3 mtight"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mtight"}),"1")))))))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2777777777777778em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mrel"}),"="),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2777777777777778em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal"}),"h"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mopen"}),"("),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),"1"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2222222222222222em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mbin"}),"\u2212"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2222222222222222em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal"}),"h"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mclose"}),")"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal",style:{marginRight:"0.02691em"}}),"w"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"msupsub"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-t"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"0.8641079999999999em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{style:{top:"-3.113em",marginRight:"0.05em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"pstrut",style:{height:"2.7em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"sizing reset-size6 size3 mtight"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mtight"}),"2")))))))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal"}),"d"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"msupsub"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-t"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"0.8641079999999999em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{style:{top:"-3.113em",marginRight:"0.05em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"pstrut",style:{height:"2.7em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"sizing reset-size6 size3 mtight"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mtight"}),"2")))))))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal",style:{marginRight:"0.03588em"}}),"\u03b7")))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-s"}),"\u200b")),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"0.512054em"}}),Object(m.b)("span",{parentName:"span"})))))))))))),Object(m.b)("div",{className:"math math-display"},Object(m.b)("span",Object(s.a)({parentName:"div"},{className:"katex-display"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex-mathml"}),Object(m.b)("math",Object(s.a)({parentName:"span"},{xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"}),Object(m.b)("semantics",{parentName:"math"},Object(m.b)("mtable",Object(s.a)({parentName:"semantics"},{rowspacing:"0.24999999999999992em",columnalign:"right",columnspacing:""}),Object(m.b)("mtr",{parentName:"mtable"},Object(m.b)("mtd",{parentName:"mtr"},Object(m.b)("mstyle",Object(s.a)({parentName:"mtd"},{scriptlevel:"0",displaystyle:"true"}),Object(m.b)("mrow",{parentName:"mstyle"},Object(m.b)("msup",{parentName:"mrow"},Object(m.b)("mi",{parentName:"msup"},"w"),Object(m.b)("mn",{parentName:"msup"},"2")),Object(m.b)("mo",{parentName:"mrow"},"="),Object(m.b)("msup",{parentName:"mrow"},Object(m.b)("mi",{parentName:"msup"},"w"),Object(m.b)("mn",{parentName:"msup"},"2")),Object(m.b)("mo",{parentName:"mrow"},"+"),Object(m.b)("mo",Object(s.a)({parentName:"mrow"},{stretchy:"false"}),"("),Object(m.b)("mi",{parentName:"mrow"},"h"),Object(m.b)("mo",{parentName:"mrow"},"\xd7"),Object(m.b)("msup",{parentName:"mrow"},Object(m.b)("mi",{parentName:"msup"},"d"),Object(m.b)("mn",{parentName:"msup"},"2")),Object(m.b)("mo",Object(s.a)({parentName:"mrow"},{stretchy:"false"}),")")))))),Object(m.b)("annotation",Object(s.a)({parentName:"semantics"},{encoding:"application/x-tex"}),"\\begin{aligned} w^2 = w^2 + (h \\times d^2) \\end{aligned}")))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex-html","aria-hidden":"true"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"base"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"strut",style:{height:"1.524108em",verticalAlign:"-0.512054em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mtable"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"col-align-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-t vlist-t2"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"1.012054em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{style:{top:"-3.147946em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"pstrut",style:{height:"3em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal",style:{marginRight:"0.02691em"}}),"w"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"msupsub"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-t"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"0.8641079999999999em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{style:{top:"-3.113em",marginRight:"0.05em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"pstrut",style:{height:"2.7em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"sizing reset-size6 size3 mtight"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mtight"}),"2")))))))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2777777777777778em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mrel"}),"="),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2777777777777778em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal",style:{marginRight:"0.02691em"}}),"w"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"msupsub"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-t"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"0.8641079999999999em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{style:{top:"-3.113em",marginRight:"0.05em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"pstrut",style:{height:"2.7em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"sizing reset-size6 size3 mtight"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mtight"}),"2")))))))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2222222222222222em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mbin"}),"+"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2222222222222222em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mopen"}),"("),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal"}),"h"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2222222222222222em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mbin"}),"\xd7"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2222222222222222em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal"}),"d"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"msupsub"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-t"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"0.8641079999999999em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{style:{top:"-3.113em",marginRight:"0.05em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"pstrut",style:{height:"2.7em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"sizing reset-size6 size3 mtight"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mtight"}),"2")))))))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mclose"}),")")))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-s"}),"\u200b")),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"0.512054em"}}),Object(m.b)("span",{parentName:"span"})))))))))))),Object(m.b)("div",{className:"math math-display"},Object(m.b)("span",Object(s.a)({parentName:"div"},{className:"katex-display"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex-mathml"}),Object(m.b)("math",Object(s.a)({parentName:"span"},{xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"}),Object(m.b)("semantics",{parentName:"math"},Object(m.b)("mtable",Object(s.a)({parentName:"semantics"},{rowspacing:"0.24999999999999992em",columnalign:"right",columnspacing:""}),Object(m.b)("mtr",{parentName:"mtable"},Object(m.b)("mtd",{parentName:"mtr"},Object(m.b)("mstyle",Object(s.a)({parentName:"mtd"},{scriptlevel:"0",displaystyle:"true"}),Object(m.b)("mrow",{parentName:"mstyle"},Object(m.b)("msup",{parentName:"mrow"},Object(m.b)("mi",{parentName:"msup"},"w"),Object(m.b)("mn",{parentName:"msup"},"1")),Object(m.b)("mo",{parentName:"mrow"},"="),Object(m.b)("msup",{parentName:"mrow"},Object(m.b)("mi",{parentName:"msup"},"w"),Object(m.b)("mn",{parentName:"msup"},"1")),Object(m.b)("mo",{parentName:"mrow"},"+"),Object(m.b)("mo",Object(s.a)({parentName:"mrow"},{stretchy:"false"}),"("),Object(m.b)("mi",{parentName:"mrow"},"x"),Object(m.b)("mo",{parentName:"mrow"},"\xd7"),Object(m.b)("msup",{parentName:"mrow"},Object(m.b)("mi",{parentName:"msup"},"d"),Object(m.b)("mn",{parentName:"msup"},"1")),Object(m.b)("mo",Object(s.a)({parentName:"mrow"},{stretchy:"false"}),")")))))),Object(m.b)("annotation",Object(s.a)({parentName:"semantics"},{encoding:"application/x-tex"}),"\\begin{aligned} w^1 = w^1 + (x \\times d^1) \\end{aligned}")))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex-html","aria-hidden":"true"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"base"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"strut",style:{height:"1.524108em",verticalAlign:"-0.512054em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mtable"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"col-align-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-t vlist-t2"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"1.012054em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{style:{top:"-3.147946em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"pstrut",style:{height:"3em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal",style:{marginRight:"0.02691em"}}),"w"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"msupsub"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-t"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"0.8641079999999999em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{style:{top:"-3.113em",marginRight:"0.05em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"pstrut",style:{height:"2.7em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"sizing reset-size6 size3 mtight"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mtight"}),"1")))))))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2777777777777778em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mrel"}),"="),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2777777777777778em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal",style:{marginRight:"0.02691em"}}),"w"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"msupsub"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-t"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"0.8641079999999999em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{style:{top:"-3.113em",marginRight:"0.05em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"pstrut",style:{height:"2.7em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"sizing reset-size6 size3 mtight"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mtight"}),"1")))))))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2222222222222222em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mbin"}),"+"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2222222222222222em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mopen"}),"("),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal"}),"x"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2222222222222222em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mbin"}),"\xd7"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2222222222222222em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal"}),"d"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"msupsub"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-t"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"0.8641079999999999em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{style:{top:"-3.113em",marginRight:"0.05em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"pstrut",style:{height:"2.7em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"sizing reset-size6 size3 mtight"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mtight"}),"1")))))))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mclose"}),")")))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-s"}),"\u200b")),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"0.512054em"}}),Object(m.b)("span",{parentName:"span"})))))))))))),Object(m.b)("p",null,"An illustration of neural network with the backpropogation algorithm is shown below:"),Object(m.b)("p",null,Object(m.b)("img",{src:t(167).default})),Object(m.b)("h2",{id:"complexity-discussion-of-mlps"},"Complexity discussion of MLPs"),Object(m.b)("h3",{id:"model-complexity-for-mlp"},"Model Complexity for MLP"),Object(m.b)("p",null,"The complexity of a neural network is dependent upon:"),Object(m.b)("ul",null,Object(m.b)("li",{parentName:"ul"},"number of hidden units"),Object(m.b)("li",{parentName:"ul"},"amount of training")),Object(m.b)("p",null,"The above point is best explained using the image seen in lecture:\n",Object(m.b)("img",{src:t(168).default})),Object(m.b)("p",null,"Essentially, it is possible to achieve the fit in M = 3 using M = 10 but with fewer epochs."),Object(m.b)("p",null,"Consider complex classification problem in the following image. Where the orange dots represent a target outcome of -1 and blue dots represent a target outcome of +1. If we must classify all of these dots, we will need a complex model!"),Object(m.b)("p",null,Object(m.b)("img",{src:t(169).default})),Object(m.b)("p",null,"As we have stated earlier, model complexity is a result of hidden features and the amount of training. Consider the following model on this classification problem."),Object(m.b)("p",null,Object(m.b)("img",{src:t(170).default})),Object(m.b)("p",null,"We can view the input nodes on the left, the weights to the output. Notice how there are no hidden layers! To interpret the output of the trained model, look at the background color."),Object(m.b)("p",null,"After 300 epochs, the model obtained a test loss of 0.592. Above, the background colors do not correspond well with the training data in that spiral. We have not achieved an appropriate level of complexity from hidden layers. However, consider the same model with less training. The model is significantly less complex. This is the output of the model after only 100 epochs of training."),Object(m.b)("p",null,Object(m.b)("img",{src:t(171).default})),Object(m.b)("p",null,"Not very complex and relatively similar in complexity to the model after 300 epochs of training."),Object(m.b)("p",null,"Consider this model with one hidden layer with six nodes."),Object(m.b)("p",null,Object(m.b)("img",{src:t(172).default})),Object(m.b)("p",null,"This model is considerably more complex as the model has been able to fit the data after training for 200 epochs. The test loss is now 0.001 and we have achieved a more complex model."),Object(m.b)("h2",{id:"choosing-machine-learning-method"},"Choosing Machine Learning Method"),Object(m.b)("p",null,"When choosing a machine learning method, it is important to rember that every model's benifits always comes with an associated cost (ie there's no such thing as a free lunch). While there is no single method for choosing which machine learning algorithm to employ, a good starting point is to ask yourself questions about the project. What am I trying to accomplish with the algorithm? What type of data am I feeding in? Is the data noisy? Do I care about interpreblity at the end, or will I be satisfied with a high accurarcy model? Questions such as these can help narrow down which algorithm to utilize."),Object(m.b)("p",null,Object(m.b)("img",{src:t(173).default})),Object(m.b)("p",null,"Once you have answer a few of these questions, you can begin to move onto selecting a few models to test out. It is always useful to reference documentation that lists the strengths and weakness of every algorith (see Sources). Say we have have a realtivley small dataset (50000,20) and would like to that we know to be very noisy. Additionally, the data is medical data, with every column being numeric except for the prediction column, which is binary. Given this information we could conclude that logistic regression would be a prime canidate to model the data. We can conclude this because a. We require a prediction model, b. Logistic regression is robust to noise, c. The size of the data set would not be computationally expensive for logistic regression."),Object(m.b)("h2",{id:"issues-with-modeling-inverse-problems"},"Issues with Modeling Inverse Problems"),Object(m.b)("p",null,"The importance of checking whether the erros are normally distributed is clearly seen when attempting to model Inverse Problems. Inverse Problems occur when attempting to calculate factors from a set of obeservations produced them. An example of such a problem is attempting to determine speed and path of a planet through its distance from earth. Through previous experiments, scientists knew that to determine the speed ",Object(m.b)("span",Object(s.a)({parentName:"p"},{className:"math math-inline"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex-mathml"}),Object(m.b)("math",Object(s.a)({parentName:"span"},{xmlns:"http://www.w3.org/1998/Math/MathML"}),Object(m.b)("semantics",{parentName:"math"},Object(m.b)("mrow",{parentName:"semantics"},Object(m.b)("mi",{parentName:"mrow"},"f"),Object(m.b)("mo",Object(s.a)({parentName:"mrow"},{stretchy:"false"}),"("),Object(m.b)("mi",{parentName:"mrow"},"t"),Object(m.b)("mo",Object(s.a)({parentName:"mrow"},{stretchy:"false"}),")")),Object(m.b)("annotation",Object(s.a)({parentName:"semantics"},{encoding:"application/x-tex"}),"f(t)")))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex-html","aria-hidden":"true"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"base"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal",style:{marginRight:"0.10764em"}}),"f"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mopen"}),"("),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal"}),"t"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mclose"}),")")))))," from measured positions ",Object(m.b)("span",Object(s.a)({parentName:"p"},{className:"math math-inline"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex-mathml"}),Object(m.b)("math",Object(s.a)({parentName:"span"},{xmlns:"http://www.w3.org/1998/Math/MathML"}),Object(m.b)("semantics",{parentName:"math"},Object(m.b)("mrow",{parentName:"semantics"},Object(m.b)("mi",{parentName:"mrow"},"g"),Object(m.b)("mo",Object(s.a)({parentName:"mrow"},{stretchy:"false"}),"("),Object(m.b)("mi",{parentName:"mrow"},"t"),Object(m.b)("mo",Object(s.a)({parentName:"mrow"},{stretchy:"false"}),")")),Object(m.b)("annotation",Object(s.a)({parentName:"semantics"},{encoding:"application/x-tex"}),"g(t)")))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex-html","aria-hidden":"true"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"base"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal",style:{marginRight:"0.03588em"}}),"g"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mopen"}),"("),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal"}),"t"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mclose"}),")")))))," you could employ the following formula:\n",Object(m.b)("span",Object(s.a)({parentName:"p"},{className:"math math-inline"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex-mathml"}),Object(m.b)("math",Object(s.a)({parentName:"span"},{xmlns:"http://www.w3.org/1998/Math/MathML"}),Object(m.b)("semantics",{parentName:"math"},Object(m.b)("mrow",{parentName:"semantics"},Object(m.b)("mi",{parentName:"mrow"},"g"),Object(m.b)("mo",Object(s.a)({parentName:"mrow"},{stretchy:"false"}),"("),Object(m.b)("mi",{parentName:"mrow"},"t"),Object(m.b)("mo",Object(s.a)({parentName:"mrow"},{stretchy:"false"}),")"),Object(m.b)("mo",{parentName:"mrow"},"="),Object(m.b)("msub",{parentName:"mrow"},Object(m.b)("mi",{parentName:"msub"},"f"),Object(m.b)("mn",{parentName:"msub"},"0")),Object(m.b)("mo",{parentName:"mrow"},"+"),Object(m.b)("msubsup",{parentName:"mrow"},Object(m.b)("mo",{parentName:"msubsup"},"\u222b"),Object(m.b)("mn",{parentName:"msubsup"},"0"),Object(m.b)("mn",{parentName:"msubsup"},"0")),Object(m.b)("mi",{parentName:"mrow"},"f"),Object(m.b)("mo",Object(s.a)({parentName:"mrow"},{stretchy:"false"}),"("),Object(m.b)("mi",{parentName:"mrow"},"\u03c4"),Object(m.b)("mo",Object(s.a)({parentName:"mrow"},{stretchy:"false"}),")"),Object(m.b)("mi",{parentName:"mrow"},"d"),Object(m.b)("mi",{parentName:"mrow"},"\u03c4")),Object(m.b)("annotation",Object(s.a)({parentName:"semantics"},{encoding:"application/x-tex"}),"g(t) = f_{0} + \\int^{0}_{0} f(\\tau)d\\tau")))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"katex-html","aria-hidden":"true"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"base"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"strut",style:{height:"1em",verticalAlign:"-0.25em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal",style:{marginRight:"0.03588em"}}),"g"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mopen"}),"("),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal"}),"t"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mclose"}),")"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2777777777777778em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mrel"}),"="),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2777777777777778em"}}))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"base"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"strut",style:{height:"0.8888799999999999em",verticalAlign:"-0.19444em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal",style:{marginRight:"0.10764em"}}),"f"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"msupsub"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-t vlist-t2"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"0.30110799999999993em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{style:{top:"-2.5500000000000003em",marginLeft:"-0.10764em",marginRight:"0.05em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"pstrut",style:{height:"2.7em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"sizing reset-size6 size3 mtight"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mtight"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mtight"}),"0"))))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-s"}),"\u200b")),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"0.15em"}}),Object(m.b)("span",{parentName:"span"})))))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2222222222222222em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mbin"}),"+"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.2222222222222222em"}}))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"base"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"strut",style:{height:"1.3648280000000002em",verticalAlign:"-0.35582em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mop"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mop op-symbol small-op",style:{marginRight:"0.19445em",position:"relative",top:"-0.0005599999999999772em"}}),"\u222b"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"msupsub"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-t vlist-t2"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"1.0090080000000001em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{style:{top:"-2.34418em",marginLeft:"-0.19445em",marginRight:"0.05em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"pstrut",style:{height:"2.7em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"sizing reset-size6 size3 mtight"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mtight"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mtight"}),"0")))),Object(m.b)("span",Object(s.a)({parentName:"span"},{style:{top:"-3.2579000000000002em",marginRight:"0.05em"}}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"pstrut",style:{height:"2.7em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"sizing reset-size6 size3 mtight"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mtight"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mtight"}),"0"))))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-s"}),"\u200b")),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist-r"}),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"vlist",style:{height:"0.35582em"}}),Object(m.b)("span",{parentName:"span"})))))),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mspace",style:{marginRight:"0.16666666666666666em"}})),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal",style:{marginRight:"0.10764em"}}),"f"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mopen"}),"("),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal",style:{marginRight:"0.1132em"}}),"\u03c4"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mclose"}),")"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal"}),"d"),Object(m.b)("span",Object(s.a)({parentName:"span"},{className:"mord mathnormal",style:{marginRight:"0.1132em"}}),"\u03c4")))))),Object(m.b)("p",null,"However, it becomes an inverse problem as the speed of the planet directly impacts the distance from earth. A more general case can be seen in the following image:"),Object(m.b)("p",null,Object(m.b)("img",{src:t(174).default})),Object(m.b)("p",null,"Here you can see that the measure output of the physical system does not so much cause t and t causes/effecct x. Such problem can easily be identified by looking at the distribution of the error terms. If the error terms are grouped on either side of the mean, it can be a good indication that the data is suffering from an inverse problem and should be modeling with a joint pdf or piecewise models."),Object(m.b)("h2",{id:"sources"},"Sources"),Object(m.b)("ul",null,Object(m.b)("li",{parentName:"ul"},Object(m.b)("a",Object(s.a)({parentName:"li"},{href:"https://www.researchgate.net/figure/Illustration-of-an-ANN-structure-with-backpropagation-algorithm_fig2_323328341"}),"https://www.researchgate.net/figure/Illustration-of-an-ANN-structure-with-backpropagation-algorithm_fig2_323328341")),Object(m.b)("li",{parentName:"ul"},Object(m.b)("a",Object(s.a)({parentName:"li"},{href:"http://www.ai.mit.edu/courses/6.034b/backprops.pdf"}),"http://www.ai.mit.edu/courses/6.034b/backprops.pdf")),Object(m.b)("li",{parentName:"ul"},Object(m.b)("a",Object(s.a)({parentName:"li"},{href:"https://ieor.berkeley.edu/wp-content/uploads/2019/03/IJCNN2001.pdf"}),"https://ieor.berkeley.edu/wp-content/uploads/2019/03/IJCNN2001.pdf")),Object(m.b)("li",{parentName:"ul"},Object(m.b)("a",Object(s.a)({parentName:"li"},{href:"https://playground.tensorflow.org/"}),"https://playground.tensorflow.org/")),Object(m.b)("li",{parentName:"ul"},Object(m.b)("a",Object(s.a)({parentName:"li"},{href:"https://elitedatascience.com/machine-learning-algorithms"}),"https://elitedatascience.com/machine-learning-algorithms"))))}l.isMDXComponent=!0},94:function(e,a,t){"use strict";t.d(a,"a",(function(){return i})),t.d(a,"b",(function(){return N}));var s=t(0),n=t.n(s);function m(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function c(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);a&&(s=s.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,s)}return t}function b(e){for(var a=1;a<arguments.length;a++){var t=null!=arguments[a]?arguments[a]:{};a%2?c(Object(t),!0).forEach((function(a){m(e,a,t[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach((function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))}))}return e}function p(e,a){if(null==e)return{};var t,s,n=function(e,a){if(null==e)return{};var t,s,n={},m=Object.keys(e);for(s=0;s<m.length;s++)t=m[s],a.indexOf(t)>=0||(n[t]=e[t]);return n}(e,a);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(e);for(s=0;s<m.length;s++)t=m[s],a.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}var r=n.a.createContext({}),l=function(e){var a=n.a.useContext(r),t=a;return e&&(t="function"==typeof e?e(a):b(b({},a),e)),t},i=function(e){var a=l(e.components);return n.a.createElement(r.Provider,{value:a},e.children)},O={inlineCode:"code",wrapper:function(e){var a=e.children;return n.a.createElement(n.a.Fragment,{},a)}},j=n.a.forwardRef((function(e,a){var t=e.components,s=e.mdxType,m=e.originalType,c=e.parentName,r=p(e,["components","mdxType","originalType","parentName"]),i=l(t),j=s,N=i["".concat(c,".").concat(j)]||i[j]||O[j]||m;return t?n.a.createElement(N,b(b({ref:a},r),{},{components:t})):n.a.createElement(N,b({ref:a},r))}));function N(e,a){var t=arguments,s=a&&a.mdxType;if("string"==typeof e||s){var m=t.length,c=new Array(m);c[0]=j;var b={};for(var p in a)hasOwnProperty.call(a,p)&&(b[p]=a[p]);b.originalType=e,b.mdxType="string"==typeof e?e:s,c[1]=b;for(var r=2;r<m;r++)c[r]=t[r];return n.a.createElement.apply(null,c)}return n.a.createElement.apply(null,t)}j.displayName="MDXCreateElement"}}]);