TheAlgorithms-C/dd/d8c/adaline__learning_8c_a3f37b9f073f7e57fd0b39d70718af1b1_cgraph.svg

248 lines
12 KiB
XML
Raw Normal View History

<?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 8.0.5 (20230430.1635)
-->
<!-- Title: test3 Pages: 1 -->
<!--zoomable 178 -->
<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[
.node, .edge {opacity: 0.7;}
.node.selected, .edge.selected {opacity: 1;}
.edge:hover path { stroke: red; }
.edge:hover polygon { stroke: red; fill: red; }
]]></style>
<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="arrowUp" transform="translate(30 24)">
<use xlink:href="#rim"/>
<path pointer-events="none" 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" transform="rotate(90) translate(36 -43)">
<use xlink:href="#rim"/>
<path pointer-events="none" 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" transform="rotate(180) translate(-30 -48)">
<use xlink:href="#rim"/>
<path pointer-events="none" 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" transform="rotate(270) translate(-36 17)">
<use xlink:href="#rim"/>
<path pointer-events="none" 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="application/ecmascript">
var viewWidth = 564;
var viewHeight = 178;
var sectionId = 'dynsection-4';
</script>
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
<svg id="graph" class="graph">
<g id="viewport">
<title>test3</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="test function to predict points in a 3D coordinate system lying within the sphere of radius 1 and cen...">
<polygon fill="#999999" stroke="#666666" points="37.75,-94.25 0,-94.25 0,-75 37.75,-75 37.75,-94.25"/>
<text text-anchor="middle" x="18.88" y="-80.75" font-family="Helvetica,sans-Serif" font-size="10.00">test3</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><a xlink:href="../../da/d2a/group__adaline.html#gaa52120912e32d2893fe1c6d78da5befd" target="_top" xlink:title="Update the weights of the model using supervised learning for an array of vectors.">
<polygon fill="white" stroke="#666666" points="143,-170.25 82.75,-170.25 82.75,-151 143,-151 143,-170.25"/>
<text text-anchor="middle" x="112.88" y="-156.75" font-family="Helvetica,sans-Serif" font-size="10.00">adaline_fit</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M28.87,-94.45C39.16,-105.4 56.77,-123.31 73.75,-136.62 77.35,-139.45 81.3,-142.23 85.24,-144.85"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="82.97,-148.19 93.28,-150.6 86.72,-142.28 82.97,-148.19"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_Node000004"><a xlink:href="../../da/d2a/group__adaline.html#gac70b578aee679005fd336073969c3d94" target="_top" xlink:title="predict the output of the model for given set of features">
<polygon fill="white" stroke="#666666" points="426.25,-131.25 345,-131.25 345,-112 426.25,-112 426.25,-131.25"/>
<text text-anchor="middle" x="385.62" y="-117.75" font-family="Helvetica,sans-Serif" font-size="10.00">adaline_predict</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node4 -->
<g id="edge7_Node000001_Node000004" class="edge">
<title>Node1&#45;&gt;Node4</title>
<g id="a_edge7_Node000001_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M37.92,-84.76C83.57,-85.33 207.28,-88.29 309,-103.62 318.21,-105.01 327.95,-106.96 337.26,-109.07"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="336.41,-112.7 346.94,-111.58 338.01,-105.88 336.41,-112.7"/>
</a>
</g>
</g>
<!-- Node6 -->
<g id="Node000006" class="node">
<title>Node6</title>
<g id="a_Node000006"><a xlink:href="../../da/d2a/group__adaline.html#gadb1a7acb555ad62daaf3806bf2fed036" target="_top" xlink:title="Operator to print the weights of the model.">
<polygon fill="white" stroke="#666666" points="309,-132.25 188,-132.25 188,-113 309,-113 309,-132.25"/>
<text text-anchor="middle" x="248.5" y="-118.75" font-family="Helvetica,sans-Serif" font-size="10.00">adaline_get_weights_str</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node6 -->
<g id="edge6_Node000001_Node000006" class="edge">
<title>Node1&#45;&gt;Node6</title>
<g id="a_edge6_Node000001_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M38.2,-89.96C48.57,-92.83 61.81,-96.26 73.75,-98.62 107.56,-105.33 145.45,-110.8 177.19,-114.81"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="176.35,-118.36 186.7,-116.12 177.21,-111.41 176.35,-118.36"/>
</a>
</g>
</g>
<!-- Node7 -->
<g id="Node000007" class="node">
<title>Node7</title>
<g id="a_Node000007"><a xlink:href="../../da/d2a/group__adaline.html#ga6f35caa3084772cc126ac7b20f67f665" target="_top" xlink:title="delete dynamically allocated memory">
<polygon fill="white" stroke="#666666" points="152,-56.25 73.75,-56.25 73.75,-37 152,-37 152,-56.25"/>
<text text-anchor="middle" x="112.88" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">delete_adaline</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node7 -->
<g id="edge8_Node000001_Node000007" class="edge">
<title>Node1&#45;&gt;Node7</title>
<g id="a_edge8_Node000001_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M38.05,-77.12C49.32,-72.46 64.15,-66.34 77.57,-60.8"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="78.56,-63.76 86.46,-56.71 75.89,-57.29 78.56,-63.76"/>
</a>
</g>
</g>
<!-- Node8 -->
<g id="Node000008" class="node">
<title>Node8</title>
<g id="a_Node000008"><a xlink:href="../../da/d2a/group__adaline.html#gacd88962c5f6341e43cbc69b4a7d3485b" target="_top" xlink:title="Default constructor.">
<polygon fill="white" stroke="#666666" points="147.88,-19.25 77.88,-19.25 77.88,0 147.88,0 147.88,-19.25"/>
<text text-anchor="middle" x="112.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">new_adaline</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node8 -->
<g id="edge9_Node000001_Node000008" class="edge">
<title>Node1&#45;&gt;Node8</title>
<g id="a_edge9_Node000001_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M27.35,-74.68C36.99,-62.38 54.79,-41.37 73.75,-27.62 75.05,-26.69 76.4,-25.77 77.79,-24.89"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="79.3,-27.5 86.31,-19.56 75.88,-21.39 79.3,-27.5"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><a xlink:href="../../da/d2a/group__adaline.html#ga20d3642e0a87f36fdb7bf91b023cd166" target="_top" xlink:title="Update the weights of the model using supervised learning for one feature vector.">
<polygon fill="white" stroke="#666666" points="297,-169.25 200,-169.25 200,-150 297,-150 297,-169.25"/>
<text text-anchor="middle" x="248.5" y="-155.75" font-family="Helvetica,sans-Serif" font-size="10.00">adaline_fit_sample</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node3 -->
<g id="edge2_Node000002_Node000003" class="edge">
<title>Node2&#45;&gt;Node3</title>
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M143.2,-160.41C156.62,-160.31 173.02,-160.18 188.81,-160.06"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="188.63,-163.56 198.6,-159.98 188.58,-156.56 188.63,-163.56"/>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node6 -->
<g id="edge5_Node000002_Node000006" class="edge">
<title>Node2&#45;&gt;Node6</title>
<g id="a_edge5_Node000002_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M143.2,-152.29C160.31,-147.42 182.28,-141.17 201.63,-135.67"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="202.41,-138.8 211.07,-132.7 200.49,-132.07 202.41,-138.8"/>
</a>
</g>
</g>
<!-- Node3&#45;&gt;Node4 -->
<g id="edge3_Node000003_Node000004" class="edge">
<title>Node3&#45;&gt;Node4</title>
<g id="a_edge3_Node000003_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M285.36,-149.54C301.67,-144.95 321.18,-139.47 338.57,-134.58"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="339.39,-137.7 348.07,-131.62 337.5,-130.96 339.39,-137.7"/>
</a>
</g>
</g>
<!-- Node5 -->
<g id="Node000005" class="node">
<title>Node5</title>
<g id="a_Node000005"><a xlink:href="../../da/d2a/group__adaline.html#ga43576566b020c4157d4fb28f0dd45cfa" target="_top" xlink:title="Heaviside activation function">
<polygon fill="white" stroke="#666666" points="556.25,-131.25 462.25,-131.25 462.25,-112 556.25,-112 556.25,-131.25"/>
<text text-anchor="middle" x="509.25" y="-117.75" font-family="Helvetica,sans-Serif" font-size="10.00">adaline_activation</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node5 -->
<g id="edge4_Node000004_Node000005" class="edge">
<title>Node4&#45;&gt;Node5</title>
<g id="a_edge4_Node000004_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M426.45,-121.62C434.35,-121.62 442.79,-121.62 451.13,-121.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="451,-125.13 461,-121.62 451,-118.13 451,-125.13"/>
</a>
</g>
</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()"/>
<use id="arrowup" xlink:href="#arrowUp" x="0" y="0" onmousedown="handlePan(0,-1)"/>
<use id="arrowright" xlink:href="#arrowRight" x="0" y="0" onmousedown="handlePan(1,0)"/>
<use id="arrowdown" xlink:href="#arrowDown" x="0" y="0" onmousedown="handlePan(0,1)"/>
<use id="arrowleft" xlink:href="#arrowLeft" x="0" y="0" onmousedown="handlePan(-1,0)"/>
</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="adaline__learning_8c_a3f37b9f073f7e57fd0b39d70718af1b1_cgraph_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>
<style type='text/css'>
<![CDATA[
[data-mouse-over-selected='false'] { opacity: 0.7; }
[data-mouse-over-selected='true'] { opacity: 1.0; }
]]>
</style>
<script type="application/ecmascript"><![CDATA[
document.addEventListener('DOMContentLoaded', (event) => {
highlightEdges();
highlightAdjacentNodes();
});
]]></script>
</svg>