浏览代码

Added chart for data flow in the benchmark.

Kristian Schultz 3 年之前
父节点
当前提交
e2413e8561
共有 2 个文件被更改,包括 540 次插入0 次删除
  1. 二进制
      documentation/benchmark.pdf
  2. 540 0
      documentation/benchmark.svg

二进制
documentation/benchmark.pdf


+ 540 - 0
documentation/benchmark.svg

@@ -0,0 +1,540 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   width="133mm"
+   height="266mm"
+   viewBox="0 0 133 266"
+   version="1.1"
+   id="svg5"
+   inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
+   sodipodi:docname="benchmark.svg"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg">
+  <sodipodi:namedview
+     id="namedview7"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="0"
+     inkscape:document-units="mm"
+     showgrid="false"
+     inkscape:zoom="0.49890312"
+     inkscape:cx="57.125319"
+     inkscape:cy="317.69695"
+     inkscape:window-width="1920"
+     inkscape:window-height="964"
+     inkscape:window-x="0"
+     inkscape:window-y="27"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="layer1"
+     width="133mm" />
+  <defs
+     id="defs2">
+    <marker
+       style="overflow:visible"
+       id="Arrow1Mend"
+       refX="0"
+       refY="0"
+       orient="auto"
+       inkscape:stockid="Arrow1Mend"
+       inkscape:isstock="true">
+      <path
+         transform="matrix(-0.4,0,0,-0.4,-4,0)"
+         style="fill:context-stroke;fill-rule:evenodd;stroke:context-stroke;stroke-width:1pt"
+         d="M 0,0 5,-5 -12.5,0 5,5 Z"
+         id="path82505" />
+    </marker>
+    <marker
+       style="overflow:visible"
+       id="Arrow2Lend"
+       refX="0"
+       refY="0"
+       orient="auto"
+       inkscape:stockid="Arrow2Lend"
+       inkscape:isstock="true">
+      <path
+         transform="matrix(-1.1,0,0,-1.1,-1.1,0)"
+         d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
+         style="fill:context-stroke;fill-rule:evenodd;stroke:context-stroke;stroke-width:0.625;stroke-linejoin:round"
+         id="path82517" />
+    </marker>
+  </defs>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1">
+    <g
+       aria-label="}"
+       id="text57192"
+       style="font-size:10.5833px;line-height:1.25;stroke-width:0.264583"
+       transform="matrix(1,0,0,1.6179973,16.039995,-110.24564)" />
+    <g
+       id="g124645"
+       transform="translate(-29.560488,-18.215595)">
+      <path
+         id="path113430"
+         style="fill:#e6e6e6;stroke:none;stroke-width:0.260043;stroke-miterlimit:4;stroke-dasharray:none"
+         d="m 63.278988,194.57609 v 67.86145 h 63.890842 v -67.86145 z m 7.4998,14.9996 h 48.891242 v 47.86112 H 70.778788 Z"
+         sodipodi:nodetypes="cccccccccc" />
+      <path
+         id="rect112000"
+         style="fill:#e6e6e6;stroke:none;stroke-width:0.260043;stroke-miterlimit:4;stroke-dasharray:none"
+         d="M 29.925306,18.315 V 284.11619 H 162.19567 V 18.315 Z m 7.4998,14.999601 H 154.69586 V 279.11546 H 37.425106 Z"
+         sodipodi:nodetypes="cccccccccc" />
+      <text
+         xml:space="preserve"
+         style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
+         x="37.009777"
+         y="28.648975"
+         id="text19461"><tspan
+           sodipodi:role="line"
+           id="tspan19459"
+           style="font-size:4.23333px;stroke-width:0.264583"
+           x="37.009777"
+           y="28.648975">R times</tspan></text>
+      <path
+         id="path112526"
+         style="fill:#e6e6e6;stroke:none;stroke-width:0.260043;stroke-miterlimit:4;stroke-dasharray:none"
+         d="M 42.824254,99.875149 V 272.89191 H 149.29672 V 99.875149 Z m 7.4998,14.999601 H 141.79692 V 267.89118 H 50.324054 Z"
+         sodipodi:nodetypes="cccccccccc" />
+      <rect
+         style="fill:#e6e6e6;stroke:none;stroke-width:0.264583"
+         id="rect87315"
+         width="33.693069"
+         height="26.245163"
+         x="75.006592"
+         y="213.0112" />
+      <text
+         xml:space="preserve"
+         style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
+         x="80.753036"
+         y="219.20003"
+         id="text87319"><tspan
+           sodipodi:role="line"
+           id="tspan87317"
+           style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4.23333px;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';fill:#000000;stroke-width:0.264583"
+           x="80.753036"
+           y="219.20003">Classifier</tspan></text>
+      <text
+         xml:space="preserve"
+         style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
+         x="86.98558"
+         y="227.38644"
+         id="text87323"><tspan
+           sodipodi:role="line"
+           id="tspan87321"
+           style="font-size:4.23333px;fill:#000000;stroke-width:0.264583"
+           x="86.98558"
+           y="227.38644">train</tspan></text>
+      <text
+         xml:space="preserve"
+         style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
+         x="83.996246"
+         y="234.29065"
+         id="text87327"><tspan
+           sodipodi:role="line"
+           id="tspan87325"
+           style="font-size:4.23333px;fill:#000000;stroke-width:0.264583"
+           x="83.996246"
+           y="234.29065">classify</tspan></text>
+      <path
+         style="fill:none;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow2Lend)"
+         d="m 63.904569,119.75049 h -7.35073 v 42.5138 h 6.54869"
+         id="path81599" />
+      <text
+         xml:space="preserve"
+         style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
+         x="50.686836"
+         y="109.41011"
+         id="text53276"><tspan
+           sodipodi:role="line"
+           id="tspan53274"
+           style="font-size:4.23333px;stroke-width:0.264583"
+           x="50.686836"
+           y="109.41011">for each slice</tspan></text>
+      <rect
+         style="fill:#b3b3b3;stroke:none;stroke-width:0.132291"
+         id="rect54972"
+         width="34.086685"
+         height="24.46851"
+         x="63.351437"
+         y="117.32721" />
+      <rect
+         style="fill:#000080;stroke:none;stroke-width:0.132291"
+         id="rect54974"
+         width="25.293755"
+         height="3.7071705"
+         x="63.904568"
+         y="118.16003" />
+      <rect
+         style="fill:#800000;stroke:none;stroke-width:0.132291"
+         id="rect54976"
+         width="6.5635185"
+         height="3.7071705"
+         x="89.992096"
+         y="118.16003" />
+      <rect
+         style="fill:#000080;stroke:none;stroke-width:0.132291"
+         id="rect54978"
+         width="25.293755"
+         height="3.7071705"
+         x="63.904568"
+         y="125.57227" />
+      <rect
+         style="fill:#800000;stroke:none;stroke-width:0.132291"
+         id="rect54980"
+         width="6.5635185"
+         height="3.7071705"
+         x="89.992096"
+         y="125.57227" />
+      <rect
+         style="fill:#000080;stroke:none;stroke-width:0.132291"
+         id="rect54982"
+         width="25.293755"
+         height="3.7071705"
+         x="63.904568"
+         y="137.21304" />
+      <rect
+         style="fill:#800000;stroke:none;stroke-width:0.132291"
+         id="rect54984"
+         width="6.5635185"
+         height="3.7071705"
+         x="89.992096"
+         y="137.21304" />
+      <text
+         xml:space="preserve"
+         style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
+         x="79.680618"
+         y="134.34074"
+         id="text54988"><tspan
+           sodipodi:role="line"
+           id="tspan54986"
+           style="font-size:4.23333px;stroke-width:0.264583"
+           x="79.680618"
+           y="134.34074">:</tspan></text>
+      <rect
+         style="fill:#e6e6e6;stroke:none;stroke-width:0.264583"
+         id="rect58307"
+         width="33.693069"
+         height="26.245163"
+         x="63.278988"
+         y="148.82755" />
+      <text
+         xml:space="preserve"
+         style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
+         x="67.928864"
+         y="154.18832"
+         id="text74831"><tspan
+           sodipodi:role="line"
+           id="tspan74829"
+           style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4.23333px;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';fill:#000000;stroke-width:0.264583"
+           x="67.928864"
+           y="154.18832">Generator</tspan></text>
+      <text
+         xml:space="preserve"
+         style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
+         x="70.679077"
+         y="162.37474"
+         id="text77387"><tspan
+           sodipodi:role="line"
+           id="tspan77385"
+           style="font-size:4.23333px;fill:#000000;stroke-width:0.264583"
+           x="70.679077"
+           y="162.37474">train and</tspan></text>
+      <text
+         xml:space="preserve"
+         style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
+         x="70.532318"
+         y="169.27895"
+         id="text79713"><tspan
+           sodipodi:role="line"
+           id="tspan79711"
+           style="font-size:4.23333px;fill:#000000;stroke-width:0.264583"
+           x="70.532318"
+           y="169.27895">generate</tspan></text>
+      <g
+         id="g110079"
+         transform="translate(-6.8655732,19.134884)">
+        <rect
+           style="fill:#b3b3b3;stroke:none;stroke-width:0.264583;stroke-miterlimit:4;stroke-dasharray:none"
+           id="rect88921"
+           width="50.101166"
+           height="5.8200617"
+           x="70.144569"
+           y="164.89616" />
+        <g
+           id="g83149"
+           transform="translate(-65.672494,14.739486)">
+          <rect
+             style="fill:#666666;stroke:none;stroke-width:0.132291"
+             id="rect82905"
+             width="14.722073"
+             height="3.7071686"
+             x="170.23407"
+             y="151.24417" />
+          <rect
+             style="fill:#000080;stroke:none;stroke-width:0.132291"
+             id="rect83027"
+             width="25.293755"
+             height="3.7071705"
+             x="136.5247"
+             y="151.24417" />
+          <rect
+             style="fill:#800000;stroke:none;stroke-width:0.132291"
+             id="rect83029"
+             width="6.5635185"
+             height="3.7071705"
+             x="162.61223"
+             y="151.24417" />
+        </g>
+      </g>
+      <path
+         style="fill:none;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow2Lend)"
+         d="m 56.553839,162.26429 v 15.28231 h 16.95647 v 7.3147"
+         id="path83144"
+         sodipodi:nodetypes="cccc" />
+      <text
+         xml:space="preserve"
+         style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;text-align:center;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
+         x="91.226494"
+         y="203.78966"
+         id="text83467"><tspan
+           sodipodi:role="line"
+           style="font-size:4.23333px;text-align:center;text-anchor:middle;stroke-width:0.264583"
+           x="91.226494"
+           y="203.78966"
+           id="tspan84205">with each classifier</tspan></text>
+      <path
+         style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow2Lend)"
+         d="m 96.801136,161.95476 h 7.229934 v 22.84275"
+         id="path82815"
+         sodipodi:nodetypes="ccc" />
+      <path
+         style="fill:none;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow2Lend)"
+         d="m 73.510309,177.5466 h 19.652915 v 7.16327"
+         id="path89198"
+         sodipodi:nodetypes="ccc" />
+      <path
+         style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow2Lend)"
+         d="m 113.1591,187.01684 h 18.65872 v 39.15253 H 98.337307"
+         id="path88897"
+         sodipodi:nodetypes="cccc" />
+      <path
+         style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow2Lend)"
+         d="M 101.86736,133.48966 H 136.512 v 99.64739 h -35.52886"
+         id="path89663"
+         sodipodi:nodetypes="cccc" />
+      <path
+         style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow2Lend)"
+         d="m 91.848469,236.80081 v 9.08477"
+         id="path89878"
+         sodipodi:nodetypes="cc" />
+      <text
+         xml:space="preserve"
+         style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;text-align:center;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
+         x="91.944077"
+         y="250.7429"
+         id="text90082"><tspan
+           sodipodi:role="line"
+           style="font-size:4.23333px;text-align:center;text-anchor:middle;stroke-width:0.264583"
+           x="91.944077"
+           y="250.7429"
+           id="tspan90080">scores</tspan></text>
+      <g
+         id="g113428"
+         transform="translate(8.2088804,13.09568)">
+        <g
+           id="g8657"
+           transform="translate(-7.7028192,17.463699)">
+          <rect
+             style="fill:#b3b3b3;stroke:none;stroke-width:0.264583"
+             id="rect31"
+             width="68.17337"
+             height="10.74559"
+             x="50.527073"
+             y="8.0479803" />
+          <rect
+             style="fill:#000080;stroke:none;stroke-width:0.264583"
+             id="rect77"
+             width="50.587509"
+             height="7.414341"
+             x="51.633327"
+             y="9.7136049" />
+          <rect
+             style="fill:#800000;stroke:none;stroke-width:0.264583"
+             id="rect79"
+             width="13.127037"
+             height="7.414341"
+             x="103.80836"
+             y="9.7136049" />
+        </g>
+        <text
+           xml:space="preserve"
+           style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
+           x="82.269661"
+           y="44.22942"
+           id="text4084"><tspan
+             sodipodi:role="line"
+             id="tspan4082"
+             style="font-size:4.23333px;stroke-width:0.264583"
+             x="82.269661"
+             y="44.22942">shuffle and</tspan><tspan
+             sodipodi:role="line"
+             style="font-size:4.23333px;stroke-width:0.264583"
+             x="82.269661"
+             y="49.52108"
+             id="tspan108443">split to S slices</tspan></text>
+        <g
+           id="g109892"
+           transform="translate(-5.3377524,-18.354768)">
+          <rect
+             style="fill:#b3b3b3;stroke:none;stroke-width:0.132291"
+             id="rect8664"
+             width="34.086685"
+             height="24.46851"
+             x="67.440804"
+             y="73.51223" />
+          <rect
+             style="fill:#000080;stroke:none;stroke-width:0.132291"
+             id="rect8666"
+             width="25.293755"
+             height="3.7071705"
+             x="67.993935"
+             y="74.345039" />
+          <rect
+             style="fill:#800000;stroke:none;stroke-width:0.132291"
+             id="rect8668"
+             width="6.5635185"
+             height="3.7071705"
+             x="94.081451"
+             y="74.345039" />
+          <rect
+             style="fill:#000080;stroke:none;stroke-width:0.132291"
+             id="rect8674"
+             width="25.293755"
+             height="3.7071705"
+             x="67.993935"
+             y="81.757309" />
+          <rect
+             style="fill:#800000;stroke:none;stroke-width:0.132291"
+             id="rect8676"
+             width="6.5635185"
+             height="3.7071705"
+             x="94.081451"
+             y="81.757309" />
+          <rect
+             style="fill:#000080;stroke:none;stroke-width:0.132291"
+             id="rect8682"
+             width="25.293755"
+             height="3.7071705"
+             x="67.993935"
+             y="93.398048" />
+          <rect
+             style="fill:#800000;stroke:none;stroke-width:0.132291"
+             id="rect8684"
+             width="6.5635185"
+             height="3.7071705"
+             x="94.081451"
+             y="93.398048" />
+          <text
+             xml:space="preserve"
+             style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
+             x="83.769981"
+             y="90.525772"
+             id="text9900"><tspan
+               sodipodi:role="line"
+               id="tspan9898"
+               style="font-size:4.23333px;stroke-width:0.264583"
+               x="83.769981"
+               y="90.525772">:</tspan></text>
+          <text
+             xml:space="preserve"
+             style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
+             x="62.672237"
+             y="77.741684"
+             id="text94229"><tspan
+               sodipodi:role="line"
+               id="tspan94227"
+               style="font-size:4.23333px;stroke-width:0.264583"
+               x="62.672237"
+               y="77.741684">1</tspan></text>
+          <text
+             xml:space="preserve"
+             style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
+             x="62.766289"
+             y="85.181854"
+             id="text98459"><tspan
+               sodipodi:role="line"
+               id="tspan98457"
+               style="font-size:4.23333px;stroke-width:0.264583"
+               x="62.766289"
+               y="85.181854">2</tspan></text>
+          <text
+             xml:space="preserve"
+             style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
+             x="62.690842"
+             y="96.792625"
+             id="text98463"><tspan
+               sodipodi:role="line"
+               id="tspan98461"
+               style="font-size:4.23333px;stroke-width:0.264583"
+               x="62.690842"
+               y="96.792625">S</tspan></text>
+          <text
+             xml:space="preserve"
+             style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
+             x="63.341965"
+             y="90.525772"
+             id="text102025"><tspan
+               sodipodi:role="line"
+               id="tspan102023"
+               style="font-size:4.23333px;stroke-width:0.264583"
+               x="63.341965"
+               y="90.525772">:</tspan></text>
+        </g>
+        <text
+           xml:space="preserve"
+           style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
+           x="115.62938"
+           y="32.462669"
+           id="text102492"><tspan
+             sodipodi:role="line"
+             id="tspan102490"
+             style="font-size:4.23333px;stroke-width:0.264583"
+             x="115.62938"
+             y="32.462669">data set</tspan></text>
+        <path
+           style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow2Lend)"
+           d="M 76.906273,36.202048 V 54.715156"
+           id="path109694"
+           sodipodi:nodetypes="cc" />
+      </g>
+      <text
+         xml:space="preserve"
+         style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
+         x="105.90033"
+         y="164.57812"
+         id="text110296"><tspan
+           sodipodi:role="line"
+           id="tspan110294"
+           style="font-size:4.23333px;stroke-width:0.264583"
+           x="105.90033"
+           y="164.57812">synthetic</tspan><tspan
+           sodipodi:role="line"
+           style="font-size:4.23333px;stroke-width:0.264583"
+           x="105.90033"
+           y="169.86978"
+           id="tspan110686">points</tspan></text>
+      <path
+         style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+         d="m 99.001963,125.79102 h 2.665617 v 15.08513 h -2.589893"
+         id="path119290"
+         sodipodi:nodetypes="cccc" />
+    </g>
+  </g>
+</svg>