TheAlgorithms-C/dd/d8c/adaline__learning_8c_a05cc9a0acb524fde727a4d7b4a747ee6_cgraph.svg

227 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 6.0.1 (20220911.1526)
-->
<!-- Title: test2 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[
.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 = 568;
var viewHeight = 178;
var sectionId = 'dynsection-3';
</script>
<script xlink:href="../../svgpan.js"/>
<svg id="graph" class="graph">
<g id="viewport">
<title>test2</title>
<!-- Node1 -->
<g id="node1" class="node">
<title>Node1</title>
<g id="a_node1"><a xlink:title="test function to predict points in a 2D coordinate system above the line &#160;as +1 and others as &#45;1.">
<polygon fill="#999999" stroke="#666666" points="38,-94 0,-94 0,-75 38,-75 38,-94"/>
<text text-anchor="middle" x="19" y="-82" font-family="Helvetica,sans-Serif" font-size="10.00">test2</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="node2" class="node">
<title>Node2</title>
<g id="a_node2"><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="144,-170 83,-170 83,-151 144,-151 144,-170"/>
<text text-anchor="middle" x="113.5" y="-158" font-family="Helvetica,sans-Serif" font-size="10.00">adaline_fit</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<title>Node1&#45;&gt;Node2</title>
<path fill="none" stroke="#63b8ff" d="M29.01,-94.34C39.31,-105.3 56.96,-123.22 74,-136.5 77.98,-139.6 82.39,-142.66 86.75,-145.5"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="85.17,-148.63 95.5,-150.95 88.87,-142.69 85.17,-148.63"/>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<title>Node4</title>
<g id="a_node4"><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="429,-131 347,-131 347,-112 429,-112 429,-131"/>
<text text-anchor="middle" x="388" y="-119" font-family="Helvetica,sans-Serif" font-size="10.00">adaline_predict</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node4 -->
<g id="edge7" class="edge">
<title>Node1&#45;&gt;Node4</title>
<path fill="none" stroke="#63b8ff" d="M38.15,-84.79C84.07,-85.74 208.52,-89.6 311,-104.5 320.33,-105.86 330.23,-107.74 339.68,-109.75"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="339.19,-113.23 349.71,-111.98 340.71,-106.4 339.19,-113.23"/>
</g>
<!-- Node6 -->
<g id="node6" class="node">
<title>Node6</title>
<g id="a_node6"><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="311,-132 189,-132 189,-113 311,-113 311,-132"/>
<text text-anchor="middle" x="250" y="-120" font-family="Helvetica,sans-Serif" font-size="10.00">adaline_get_weights_str</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node6 -->
<g id="edge6" class="edge">
<title>Node1&#45;&gt;Node6</title>
<path fill="none" stroke="#63b8ff" d="M38.37,-89.83C48.76,-92.71 62.03,-96.14 74,-98.5 108.21,-105.26 146.55,-110.74 178.6,-114.76"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="178.42,-118.26 188.78,-116.01 179.28,-111.32 178.42,-118.26"/>
</g>
<!-- Node7 -->
<g id="node7" class="node">
<title>Node7</title>
<g id="a_node7"><a xlink:href="../../da/d2a/group__adaline.html#ga6f35caa3084772cc126ac7b20f67f665" target="_top" xlink:title="delete dynamically allocated memory">
<polygon fill="white" stroke="#666666" points="153,-56 74,-56 74,-37 153,-37 153,-56"/>
<text text-anchor="middle" x="113.5" y="-44" font-family="Helvetica,sans-Serif" font-size="10.00">delete_adaline</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node7 -->
<g id="edge8" class="edge">
<title>Node1&#45;&gt;Node7</title>
<path fill="none" stroke="#63b8ff" d="M38.28,-76.99C50.17,-72.11 66.01,-65.6 80.01,-59.85"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="81.41,-63.06 89.33,-56.02 78.75,-56.58 81.41,-63.06"/>
</g>
<!-- Node8 -->
<g id="node8" class="node">
<title>Node8</title>
<g id="a_node8"><a xlink:href="../../da/d2a/group__adaline.html#gacd88962c5f6341e43cbc69b4a7d3485b" target="_top" xlink:title="Default constructor.">
<polygon fill="white" stroke="#666666" points="149,-19 78,-19 78,0 149,0 149,-19"/>
<text text-anchor="middle" x="113.5" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">new_adaline</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node8 -->
<g id="edge9" class="edge">
<title>Node1&#45;&gt;Node8</title>
<path fill="none" stroke="#63b8ff" d="M27.15,-74.97C36.73,-62.72 54.76,-41.38 74,-27.5 75.8,-26.2 77.71,-24.96 79.67,-23.78"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="81.37,-26.84 88.51,-19.01 78.04,-20.68 81.37,-26.84"/>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><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="299,-169 201,-169 201,-150 299,-150 299,-169"/>
<text text-anchor="middle" x="250" y="-157" font-family="Helvetica,sans-Serif" font-size="10.00">adaline_fit_sample</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node3 -->
<g id="edge2" class="edge">
<title>Node2&#45;&gt;Node3</title>
<path fill="none" stroke="#63b8ff" d="M144.02,-160.28C157.65,-160.18 174.35,-160.05 190.39,-159.94"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="190.82,-163.43 200.79,-159.86 190.76,-156.43 190.82,-163.43"/>
</g>
<!-- Node2&#45;&gt;Node6 -->
<g id="edge5" class="edge">
<title>Node2&#45;&gt;Node6</title>
<path fill="none" stroke="#63b8ff" d="M144.02,-152.16C162.01,-147.08 185.33,-140.49 205.42,-134.81"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="206.62,-138.11 215.29,-132.02 204.71,-131.38 206.62,-138.11"/>
</g>
<!-- Node3&#45;&gt;Node4 -->
<g id="edge3" class="edge">
<title>Node3&#45;&gt;Node4</title>
<path fill="none" stroke="#63b8ff" d="M285.32,-149.91C302.79,-145.03 324.24,-139.04 342.93,-133.82"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="344,-137.15 352.69,-131.09 342.12,-130.41 344,-137.15"/>
</g>
<!-- Node5 -->
<g id="node5" class="node">
<title>Node5</title>
<g id="a_node5"><a xlink:href="../../da/d2a/group__adaline.html#ga43576566b020c4157d4fb28f0dd45cfa" target="_top" xlink:title="Heaviside activation function">
<polygon fill="white" stroke="#666666" points="560,-131 465,-131 465,-112 560,-112 560,-131"/>
<text text-anchor="middle" x="512.5" y="-119" font-family="Helvetica,sans-Serif" font-size="10.00">adaline_activation</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node5 -->
<g id="edge4" class="edge">
<title>Node4&#45;&gt;Node5</title>
<path fill="none" stroke="#63b8ff" d="M429.11,-121.5C437.34,-121.5 446.14,-121.5 454.82,-121.5"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="454.92,-125 464.92,-121.5 454.91,-118 454.92,-125"/>
</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="adaline__learning_8c_a05cc9a0acb524fde727a4d7b4a747ee6_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>
</svg>