mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-03-25 22:32:24 +08:00
322 lines
16 KiB
XML
322 lines
16 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
|
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
<!-- Generated by graphviz version 2.46.0 (20210118.1747)
|
|
-->
|
|
<!-- Title: machine_learning/neural_network.cpp Pages: 1 -->
|
|
<!--zoomable 151 -->
|
|
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" onload="init(evt)">
|
|
<style type="text/css"><![CDATA[
|
|
.edge:hover path { stroke: red; }
|
|
.edge:hover polygon { stroke: red; fill: red; }
|
|
]]></style>
|
|
<script type="text/javascript"><![CDATA[
|
|
var edges = document.getElementsByTagName('g');
|
|
if (edges && edges.length) {
|
|
for (var i=0;i<edges.length;i++) {
|
|
if (edges[i].id.substr(0,4)=='edge') {
|
|
edges[i].setAttribute('class','edge');
|
|
}
|
|
}
|
|
}
|
|
]]></script>
|
|
<defs>
|
|
<circle id="rim" cx="0" cy="0" r="7"/>
|
|
<circle id="rim2" cx="0" cy="0" r="3.5"/>
|
|
<g id="zoomPlus">
|
|
<use xlink:href="#rim" fill="#404040">
|
|
<set attributeName="fill" to="#808080" begin="zoomplus.mouseover" end="zoomplus.mouseout"/>
|
|
</use>
|
|
<path d="M-4,0h8M0,-4v8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
|
|
</g>
|
|
<g id="zoomMin">
|
|
<use xlink:href="#rim" fill="#404040">
|
|
<set attributeName="fill" to="#808080" begin="zoomminus.mouseover" end="zoomminus.mouseout"/>
|
|
</use>
|
|
<path d="M-4,0h8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
|
|
</g>
|
|
<g id="dirArrow">
|
|
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
|
</g>
|
|
<g id="resetDef">
|
|
<use xlink:href="#rim2" fill="#404040">
|
|
<set attributeName="fill" to="#808080" begin="reset.mouseover" end="reset.mouseout"/>
|
|
</use>
|
|
</g>
|
|
</defs>
|
|
|
|
<script type="text/javascript">
|
|
var viewWidth = 687;
|
|
var viewHeight = 151;
|
|
var sectionId = 'dynsection-0';
|
|
</script>
|
|
<script xlink:href="../../svgpan.js"/>
|
|
<svg id="graph" class="graph">
|
|
<g id="viewport">
|
|
<title>machine_learning/neural_network.cpp</title>
|
|
<polygon fill="white" stroke="transparent" points="-4,4 -4,-147 682.5,-147 682.5,4 -4,4"/>
|
|
<!-- Node1 -->
|
|
<g id="node1" class="node">
|
|
<title>Node1</title>
|
|
<g id="a_node1"><a xlink:title="Implementation of Multilayer Perceptron.">
|
|
<polygon fill="#bfbfbf" stroke="black" points="280,-112.5 280,-142.5 402,-142.5 402,-112.5 280,-112.5"/>
|
|
<text text-anchor="start" x="288" y="-130.5" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning/neural</text>
|
|
<text text-anchor="middle" x="341" y="-119.5" font-family="Helvetica,sans-Serif" font-size="10.00">_network.cpp</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node2 -->
|
|
<g id="node2" class="node">
|
|
<title>Node2</title>
|
|
<g id="a_node2"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#bfbfbf" points="0,-0.5 0,-19.5 56,-19.5 56,-0.5 0,-0.5"/>
|
|
<text text-anchor="middle" x="28" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node2 -->
|
|
<g id="edge1" class="edge">
|
|
<title>Node1->Node2</title>
|
|
<path fill="none" stroke="midnightblue" d="M279.83,-116.42C238.27,-108.38 182.58,-95.24 136,-76 103.4,-62.54 69.05,-40.27 48.07,-25.61"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="49.86,-22.59 39.68,-19.66 45.81,-28.3 49.86,-22.59"/>
|
|
</g>
|
|
<!-- Node3 -->
|
|
<g id="node3" class="node">
|
|
<title>Node3</title>
|
|
<g id="a_node3"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#bfbfbf" points="369.5,-56.5 369.5,-75.5 418.5,-75.5 418.5,-56.5 369.5,-56.5"/>
|
|
<text text-anchor="middle" x="394" y="-63.5" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node3 -->
|
|
<g id="edge2" class="edge">
|
|
<title>Node1->Node3</title>
|
|
<path fill="none" stroke="midnightblue" d="M353.56,-112.4C361.34,-103.66 371.36,-92.41 379.48,-83.3"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="382.25,-85.45 386.29,-75.66 377.02,-80.8 382.25,-85.45"/>
|
|
</g>
|
|
<!-- Node4 -->
|
|
<g id="node4" class="node">
|
|
<title>Node4</title>
|
|
<g id="a_node4"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#bfbfbf" points="74,-0.5 74,-19.5 120,-19.5 120,-0.5 74,-0.5"/>
|
|
<text text-anchor="middle" x="97" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">chrono</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node4 -->
|
|
<g id="edge3" class="edge">
|
|
<title>Node1->Node4</title>
|
|
<path fill="none" stroke="midnightblue" d="M279.87,-116.04C245.19,-108.37 201.89,-95.77 167,-76 144.56,-63.29 123.56,-42.04 110.52,-27.31"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="112.99,-24.82 103.82,-19.51 107.68,-29.38 112.99,-24.82"/>
|
|
</g>
|
|
<!-- Node5 -->
|
|
<g id="node5" class="node">
|
|
<title>Node5</title>
|
|
<g id="a_node5"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#bfbfbf" points="437,-56.5 437,-75.5 481,-75.5 481,-56.5 437,-56.5"/>
|
|
<text text-anchor="middle" x="459" y="-63.5" font-family="Helvetica,sans-Serif" font-size="10.00">cmath</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node5 -->
|
|
<g id="edge4" class="edge">
|
|
<title>Node1->Node5</title>
|
|
<path fill="none" stroke="midnightblue" d="M368.96,-112.4C388.32,-102.64 413.91,-89.74 432.86,-80.18"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="434.48,-83.29 441.83,-75.66 431.33,-77.04 434.48,-83.29"/>
|
|
</g>
|
|
<!-- Node6 -->
|
|
<g id="node6" class="node">
|
|
<title>Node6</title>
|
|
<g id="a_node6"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#bfbfbf" points="499,-56.5 499,-75.5 549,-75.5 549,-56.5 499,-56.5"/>
|
|
<text text-anchor="middle" x="524" y="-63.5" font-family="Helvetica,sans-Serif" font-size="10.00">fstream</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node6 -->
|
|
<g id="edge5" class="edge">
|
|
<title>Node1->Node6</title>
|
|
<path fill="none" stroke="midnightblue" d="M384.37,-112.4C416.46,-101.96 459.61,-87.94 489.4,-78.25"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="490.53,-81.56 498.96,-75.14 488.37,-74.91 490.53,-81.56"/>
|
|
</g>
|
|
<!-- Node7 -->
|
|
<g id="node7" class="node">
|
|
<title>Node7</title>
|
|
<g id="a_node7"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#bfbfbf" points="138,-0.5 138,-19.5 192,-19.5 192,-0.5 138,-0.5"/>
|
|
<text text-anchor="middle" x="165" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node7 -->
|
|
<g id="edge6" class="edge">
|
|
<title>Node1->Node7</title>
|
|
<path fill="none" stroke="midnightblue" d="M279.86,-121.27C246.66,-115.31 207.33,-102.67 182,-76 170.34,-63.72 166.44,-44.46 165.24,-30.09"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="168.73,-29.67 164.77,-19.84 161.74,-29.99 168.73,-29.67"/>
|
|
</g>
|
|
<!-- Node8 -->
|
|
<g id="node8" class="node">
|
|
<title>Node8</title>
|
|
<g id="a_node8"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#bfbfbf" points="567,-56.5 567,-75.5 619,-75.5 619,-56.5 567,-56.5"/>
|
|
<text text-anchor="middle" x="593" y="-63.5" font-family="Helvetica,sans-Serif" font-size="10.00">sstream</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node8 -->
|
|
<g id="edge7" class="edge">
|
|
<title>Node1->Node8</title>
|
|
<path fill="none" stroke="midnightblue" d="M402.36,-112.62C443.48,-103.22 499.11,-90.34 556.64,-76.3"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="557.76,-79.62 566.64,-73.85 556.1,-72.82 557.76,-79.62"/>
|
|
</g>
|
|
<!-- Node9 -->
|
|
<g id="node9" class="node">
|
|
<title>Node9</title>
|
|
<g id="a_node9"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#bfbfbf" points="637.5,-56.5 637.5,-75.5 678.5,-75.5 678.5,-56.5 637.5,-56.5"/>
|
|
<text text-anchor="middle" x="658" y="-63.5" font-family="Helvetica,sans-Serif" font-size="10.00">string</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node9 -->
|
|
<g id="edge8" class="edge">
|
|
<title>Node1->Node9</title>
|
|
<path fill="none" stroke="midnightblue" d="M402.17,-117.86C458.34,-109.45 544.01,-95.42 627.52,-75.87"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="628.51,-79.23 637.43,-73.52 626.89,-72.42 628.51,-79.23"/>
|
|
</g>
|
|
<!-- Node10 -->
|
|
<g id="node10" class="node">
|
|
<title>Node10</title>
|
|
<g id="a_node10"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#bfbfbf" points="277.5,-0.5 277.5,-19.5 328.5,-19.5 328.5,-0.5 277.5,-0.5"/>
|
|
<text text-anchor="middle" x="303" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">valarray</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node10 -->
|
|
<g id="edge9" class="edge">
|
|
<title>Node1->Node10</title>
|
|
<path fill="none" stroke="midnightblue" d="M336.34,-112.34C329.46,-91.43 316.59,-52.31 309.01,-29.27"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="312.3,-28.07 305.85,-19.67 305.65,-30.26 312.3,-28.07"/>
|
|
</g>
|
|
<!-- Node11 -->
|
|
<g id="node11" class="node">
|
|
<title>Node11</title>
|
|
<g id="a_node11"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#bfbfbf" points="347,-0.5 347,-19.5 391,-19.5 391,-0.5 347,-0.5"/>
|
|
<text text-anchor="middle" x="369" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node11 -->
|
|
<g id="edge10" class="edge">
|
|
<title>Node1->Node11</title>
|
|
<path fill="none" stroke="midnightblue" d="M344.43,-112.34C349.48,-91.53 358.9,-52.66 364.49,-29.58"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="367.94,-30.21 366.9,-19.67 361.14,-28.56 367.94,-30.21"/>
|
|
</g>
|
|
<!-- Node12 -->
|
|
<g id="node12" class="node">
|
|
<title>Node12</title>
|
|
<g id="a_node12"><a xlink:href="../../d8/d95/vector__ops_8hpp.html" target="_top" xlink:title="Various functions for vectors associated with <a href="https://en.wikipedia.org/wiki/Multilayer_perce...">
|
|
<polygon fill="white" stroke="black" points="191.5,-56.5 191.5,-75.5 274.5,-75.5 274.5,-56.5 191.5,-56.5"/>
|
|
<text text-anchor="middle" x="233" y="-63.5" font-family="Helvetica,sans-Serif" font-size="10.00">vector_ops.hpp</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node12 -->
|
|
<g id="edge11" class="edge">
|
|
<title>Node1->Node12</title>
|
|
<path fill="none" stroke="midnightblue" d="M315.41,-112.4C297.93,-102.77 274.91,-90.09 257.64,-80.58"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="259.16,-77.42 248.71,-75.66 255.78,-83.55 259.16,-77.42"/>
|
|
</g>
|
|
<!-- Node12->Node2 -->
|
|
<g id="edge12" class="edge">
|
|
<title>Node12->Node2</title>
|
|
<path fill="none" stroke="midnightblue" d="M200.52,-56.44C163.93,-46.81 104.55,-31.17 65.89,-20.98"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="66.61,-17.55 56.05,-18.39 64.83,-24.32 66.61,-17.55"/>
|
|
</g>
|
|
<!-- Node12->Node4 -->
|
|
<g id="edge13" class="edge">
|
|
<title>Node12->Node4</title>
|
|
<path fill="none" stroke="midnightblue" d="M211.45,-56.44C188.97,-47.52 153.51,-33.44 128.02,-23.32"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="129.03,-19.95 118.45,-19.52 126.45,-26.46 129.03,-19.95"/>
|
|
</g>
|
|
<!-- Node12->Node7 -->
|
|
<g id="edge14" class="edge">
|
|
<title>Node12->Node7</title>
|
|
<path fill="none" stroke="midnightblue" d="M222.07,-56.32C211.83,-48.18 196.28,-35.84 184,-26.09"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="186.13,-23.31 176.12,-19.83 181.78,-28.79 186.13,-23.31"/>
|
|
</g>
|
|
<!-- Node12->Node10 -->
|
|
<g id="edge16" class="edge">
|
|
<title>Node12->Node10</title>
|
|
<path fill="none" stroke="midnightblue" d="M244.25,-56.32C254.8,-48.18 270.8,-35.84 283.44,-26.09"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="285.77,-28.71 291.55,-19.83 281.49,-23.17 285.77,-28.71"/>
|
|
</g>
|
|
<!-- Node12->Node11 -->
|
|
<g id="edge17" class="edge">
|
|
<title>Node12->Node11</title>
|
|
<path fill="none" stroke="midnightblue" d="M254.55,-56.44C277.03,-47.52 312.49,-33.44 337.98,-23.32"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="339.55,-26.46 347.55,-19.52 336.97,-19.95 339.55,-26.46"/>
|
|
</g>
|
|
<!-- Node13 -->
|
|
<g id="node13" class="node">
|
|
<title>Node13</title>
|
|
<g id="a_node13"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#bfbfbf" points="210.5,-0.5 210.5,-19.5 259.5,-19.5 259.5,-0.5 210.5,-0.5"/>
|
|
<text text-anchor="middle" x="235" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">random</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node12->Node13 -->
|
|
<g id="edge15" class="edge">
|
|
<title>Node12->Node13</title>
|
|
<path fill="none" stroke="midnightblue" d="M233.33,-56.08C233.59,-49.01 233.97,-38.86 234.3,-29.99"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="237.8,-29.87 234.68,-19.75 230.81,-29.61 237.8,-29.87"/>
|
|
</g>
|
|
</g>
|
|
</svg>
|
|
<g id="navigator" transform="translate(0 0)" fill="#404254">
|
|
<rect fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width=".5" x="0" y="0" width="60" height="60"/>
|
|
<use id="zoomplus" xlink:href="#zoomPlus" x="17" y="9" onmousedown="handleZoom(evt,'in')"/>
|
|
<use id="zoomminus" xlink:href="#zoomMin" x="42" y="9" onmousedown="handleZoom(evt,'out')"/>
|
|
<use id="reset" xlink:href="#resetDef" x="30" y="36" onmousedown="handleReset()"/>
|
|
<g id="arrowUp" xlink:href="#dirArrow" transform="translate(30 24)" onmousedown="handlePan(0,-1)">
|
|
<use xlink:href="#rim" fill="#404040">
|
|
<set attributeName="fill" to="#808080" begin="arrowUp.mouseover" end="arrowUp.mouseout"/>
|
|
</use>
|
|
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
|
</g>
|
|
<g id="arrowRight" xlink:href="#dirArrow" transform="rotate(90) translate(36 -43)" onmousedown="handlePan(1,0)">
|
|
<use xlink:href="#rim" fill="#404040">
|
|
<set attributeName="fill" to="#808080" begin="arrowRight.mouseover" end="arrowRight.mouseout"/>
|
|
</use>
|
|
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
|
</g>
|
|
<g id="arrowDown" xlink:href="#dirArrow" transform="rotate(180) translate(-30 -48)" onmousedown="handlePan(0,1)">
|
|
<use xlink:href="#rim" fill="#404040">
|
|
<set attributeName="fill" to="#808080" begin="arrowDown.mouseover" end="arrowDown.mouseout"/>
|
|
</use>
|
|
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
|
</g>
|
|
<g id="arrowLeft" xlink:href="#dirArrow" transform="rotate(270) translate(-36 17)" onmousedown="handlePan(-1,0)">
|
|
<use xlink:href="#rim" fill="#404040">
|
|
<set attributeName="fill" to="#808080" begin="arrowLeft.mouseover" end="arrowLeft.mouseout"/>
|
|
</use>
|
|
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
|
</g>
|
|
</g>
|
|
<svg viewBox="0 0 15 15" width="100%" height="30px" preserveAspectRatio="xMaxYMin meet">
|
|
<g id="arrow_out" transform="scale(0.3 0.3)">
|
|
<a xlink:href="neural__network_8cpp__incl_org.svg" target="_base">
|
|
<rect id="button" ry="5" rx="5" y="6" x="6" height="38" width="38"
|
|
fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width="1.0"/>
|
|
<path id="arrow"
|
|
d="M 11.500037,31.436501 C 11.940474,20.09759 22.043105,11.32322 32.158766,21.979434 L 37.068811,17.246167 C 37.068811,17.246167 37.088388,32 37.088388,32 L 22.160133,31.978069 C 22.160133,31.978069 26.997745,27.140456 26.997745,27.140456 C 18.528582,18.264221 13.291696,25.230495 11.500037,31.436501 z"
|
|
style="fill:#404040;"/>
|
|
</a>
|
|
</g>
|
|
</svg>
|
|
</svg>
|