mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-03-25 14:23:03 +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.44.1 (20200629.0846)
|
|
-->
|
|
<!-- 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 = 685;
|
|
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 680.5,-147 680.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="278,-112.5 278,-142.5 400,-142.5 400,-112.5 278,-112.5"/>
|
|
<text text-anchor="start" x="286" y="-130.5" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning/neural</text>
|
|
<text text-anchor="middle" x="339" 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:href="../../d8/d95/vector__ops_8hpp.html" target="_top" xlink:title="Various functions for vectors associated with NeuralNetwork (aka Multilayer Perceptron).">
|
|
<polygon fill="white" stroke="black" points="189.5,-56.5 189.5,-75.5 272.5,-75.5 272.5,-56.5 189.5,-56.5"/>
|
|
<text text-anchor="middle" x="231" y="-63.5" font-family="Helvetica,sans-Serif" font-size="10.00">vector_ops.hpp</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node2 -->
|
|
<g id="edge1" class="edge">
|
|
<title>Node1->Node2</title>
|
|
<path fill="none" stroke="midnightblue" d="M313.41,-112.4C295.93,-102.77 272.91,-90.09 255.64,-80.58"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="257.16,-77.42 246.71,-75.66 253.78,-83.55 257.16,-77.42"/>
|
|
</g>
|
|
<!-- Node3 -->
|
|
<g id="node3" class="node">
|
|
<title>Node3</title>
|
|
<g id="a_node3"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#bfbfbf" points="0,-0.5 0,-19.5 54,-19.5 54,-0.5 0,-0.5"/>
|
|
<text text-anchor="middle" x="27" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node3 -->
|
|
<g id="edge8" class="edge">
|
|
<title>Node1->Node3</title>
|
|
<path fill="none" stroke="midnightblue" d="M277.89,-116C237.05,-107.84 182.65,-94.73 137,-76 103.78,-62.37 68.59,-39.99 47.2,-25.37"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="49.14,-22.46 38.93,-19.63 45.15,-28.21 49.14,-22.46"/>
|
|
</g>
|
|
<!-- Node4 -->
|
|
<g id="node4" class="node">
|
|
<title>Node4</title>
|
|
<g id="a_node4"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#bfbfbf" points="72,-0.5 72,-19.5 128,-19.5 128,-0.5 72,-0.5"/>
|
|
<text text-anchor="middle" x="100" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node4 -->
|
|
<g id="edge12" class="edge">
|
|
<title>Node1->Node4</title>
|
|
<path fill="none" stroke="midnightblue" d="M277.6,-116.03C243.41,-108.39 201.01,-95.83 167,-76 145.23,-63.31 125.19,-42.05 112.81,-27.32"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="115.48,-25.06 106.45,-19.52 110.05,-29.48 115.48,-25.06"/>
|
|
</g>
|
|
<!-- Node5 -->
|
|
<g id="node5" class="node">
|
|
<title>Node5</title>
|
|
<g id="a_node5"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#bfbfbf" points="146,-0.5 146,-19.5 190,-19.5 190,-0.5 146,-0.5"/>
|
|
<text text-anchor="middle" x="168" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node5 -->
|
|
<g id="edge10" class="edge">
|
|
<title>Node1->Node5</title>
|
|
<path fill="none" stroke="midnightblue" d="M277.89,-122.1C244.28,-116.43 204.53,-103.8 180,-76 168.98,-63.51 166.6,-44.28 166.6,-29.97"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="170.11,-29.9 167,-19.78 163.11,-29.63 170.11,-29.9"/>
|
|
</g>
|
|
<!-- Node6 -->
|
|
<g id="node6" class="node">
|
|
<title>Node6</title>
|
|
<g id="a_node6"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#bfbfbf" points="275.5,-0.5 275.5,-19.5 326.5,-19.5 326.5,-0.5 275.5,-0.5"/>
|
|
<text text-anchor="middle" x="301" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">valarray</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node6 -->
|
|
<g id="edge9" class="edge">
|
|
<title>Node1->Node6</title>
|
|
<path fill="none" stroke="midnightblue" d="M334.34,-112.34C327.46,-91.43 314.59,-52.31 307.01,-29.27"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="310.3,-28.07 303.85,-19.67 303.65,-30.26 310.3,-28.07"/>
|
|
</g>
|
|
<!-- Node7 -->
|
|
<g id="node7" class="node">
|
|
<title>Node7</title>
|
|
<g id="a_node7"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#bfbfbf" points="345,-0.5 345,-19.5 391,-19.5 391,-0.5 345,-0.5"/>
|
|
<text text-anchor="middle" x="368" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">chrono</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node7 -->
|
|
<g id="edge13" class="edge">
|
|
<title>Node1->Node7</title>
|
|
<path fill="none" stroke="midnightblue" d="M342.56,-112.34C347.78,-91.53 357.54,-52.66 363.33,-29.58"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="366.78,-30.22 365.82,-19.67 359.99,-28.52 366.78,-30.22"/>
|
|
</g>
|
|
<!-- Node9 -->
|
|
<g id="node9" class="node">
|
|
<title>Node9</title>
|
|
<g id="a_node9"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#bfbfbf" points="367,-56.5 367,-75.5 411,-75.5 411,-56.5 367,-56.5"/>
|
|
<text text-anchor="middle" x="389" y="-63.5" font-family="Helvetica,sans-Serif" font-size="10.00">cmath</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node9 -->
|
|
<g id="edge11" class="edge">
|
|
<title>Node1->Node9</title>
|
|
<path fill="none" stroke="midnightblue" d="M350.85,-112.4C358.11,-103.75 367.45,-92.64 375.07,-83.58"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="377.97,-85.57 381.72,-75.66 372.61,-81.06 377.97,-85.57"/>
|
|
</g>
|
|
<!-- Node10 -->
|
|
<g id="node10" class="node">
|
|
<title>Node10</title>
|
|
<g id="a_node10"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#bfbfbf" points="429.5,-56.5 429.5,-75.5 470.5,-75.5 470.5,-56.5 429.5,-56.5"/>
|
|
<text text-anchor="middle" x="450" y="-63.5" font-family="Helvetica,sans-Serif" font-size="10.00">string</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node10 -->
|
|
<g id="edge14" class="edge">
|
|
<title>Node1->Node10</title>
|
|
<path fill="none" stroke="midnightblue" d="M365.31,-112.4C383.26,-102.77 406.92,-90.09 424.67,-80.58"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="426.69,-83.47 433.85,-75.66 423.38,-77.3 426.69,-83.47"/>
|
|
</g>
|
|
<!-- Node11 -->
|
|
<g id="node11" class="node">
|
|
<title>Node11</title>
|
|
<g id="a_node11"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#bfbfbf" points="489,-56.5 489,-75.5 539,-75.5 539,-56.5 489,-56.5"/>
|
|
<text text-anchor="middle" x="514" y="-63.5" font-family="Helvetica,sans-Serif" font-size="10.00">fstream</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node11 -->
|
|
<g id="edge15" class="edge">
|
|
<title>Node1->Node11</title>
|
|
<path fill="none" stroke="midnightblue" d="M380.47,-112.4C410.58,-102.16 450.85,-88.47 479.27,-78.81"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="480.45,-82.1 488.79,-75.57 478.2,-75.48 480.45,-82.1"/>
|
|
</g>
|
|
<!-- Node12 -->
|
|
<g id="node12" class="node">
|
|
<title>Node12</title>
|
|
<g id="a_node12"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#bfbfbf" points="557,-56.5 557,-75.5 609,-75.5 609,-56.5 557,-56.5"/>
|
|
<text text-anchor="middle" x="583" y="-63.5" font-family="Helvetica,sans-Serif" font-size="10.00">sstream</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node12 -->
|
|
<g id="edge16" class="edge">
|
|
<title>Node1->Node12</title>
|
|
<path fill="none" stroke="midnightblue" d="M398.06,-112.47C437.58,-103.03 491.01,-90.16 546.6,-76.32"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="547.78,-79.64 556.64,-73.82 546.09,-72.85 547.78,-79.64"/>
|
|
</g>
|
|
<!-- Node13 -->
|
|
<g id="node13" class="node">
|
|
<title>Node13</title>
|
|
<g id="a_node13"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#bfbfbf" points="627.5,-56.5 627.5,-75.5 676.5,-75.5 676.5,-56.5 627.5,-56.5"/>
|
|
<text text-anchor="middle" x="652" y="-63.5" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node13 -->
|
|
<g id="edge17" class="edge">
|
|
<title>Node1->Node13</title>
|
|
<path fill="none" stroke="midnightblue" d="M400.24,-116.86C454.74,-107.95 536.81,-93.73 617.36,-76"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="618.17,-79.4 627.17,-73.82 616.65,-72.57 618.17,-79.4"/>
|
|
</g>
|
|
<!-- Node2->Node3 -->
|
|
<g id="edge2" class="edge">
|
|
<title>Node2->Node3</title>
|
|
<path fill="none" stroke="midnightblue" d="M198.68,-56.44C162.06,-46.75 102.51,-30.99 64.05,-20.81"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="64.84,-17.4 54.28,-18.22 63.05,-24.16 64.84,-17.4"/>
|
|
</g>
|
|
<!-- Node2->Node4 -->
|
|
<g id="edge3" class="edge">
|
|
<title>Node2->Node4</title>
|
|
<path fill="none" stroke="midnightblue" d="M210.24,-56.44C188.68,-47.56 154.74,-33.56 130.21,-23.45"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="131.24,-20.09 120.66,-19.52 128.57,-26.56 131.24,-20.09"/>
|
|
</g>
|
|
<!-- Node2->Node5 -->
|
|
<g id="edge4" class="edge">
|
|
<title>Node2->Node5</title>
|
|
<path fill="none" stroke="midnightblue" d="M220.88,-56.32C211.47,-48.26 197.26,-36.08 185.93,-26.37"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="188.18,-23.68 178.31,-19.83 183.62,-29 188.18,-23.68"/>
|
|
</g>
|
|
<!-- Node2->Node6 -->
|
|
<g id="edge5" class="edge">
|
|
<title>Node2->Node6</title>
|
|
<path fill="none" stroke="midnightblue" d="M242.25,-56.32C252.8,-48.18 268.8,-35.84 281.44,-26.09"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="283.77,-28.71 289.55,-19.83 279.49,-23.17 283.77,-28.71"/>
|
|
</g>
|
|
<!-- Node2->Node7 -->
|
|
<g id="edge6" class="edge">
|
|
<title>Node2->Node7</title>
|
|
<path fill="none" stroke="midnightblue" d="M252.71,-56.44C275.35,-47.52 311.07,-33.44 336.75,-23.32"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="338.37,-26.44 346.39,-19.52 335.81,-19.93 338.37,-26.44"/>
|
|
</g>
|
|
<!-- Node8 -->
|
|
<g id="node8" class="node">
|
|
<title>Node8</title>
|
|
<g id="a_node8"><a xlink:title=" ">
|
|
<polygon fill="white" stroke="#bfbfbf" points="208.5,-0.5 208.5,-19.5 257.5,-19.5 257.5,-0.5 208.5,-0.5"/>
|
|
<text text-anchor="middle" x="233" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">random</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node2->Node8 -->
|
|
<g id="edge7" class="edge">
|
|
<title>Node2->Node8</title>
|
|
<path fill="none" stroke="midnightblue" d="M231.33,-56.08C231.59,-49.01 231.97,-38.86 232.3,-29.99"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="235.8,-29.87 232.68,-19.75 228.81,-29.61 235.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>
|