Parcourir la source

Removed not needed files.

Kristian Schultz il y a 4 ans
Parent
commit
101b71df85
37 fichiers modifiés avec 1 ajouts et 3526 suppressions
  1. 0 575
      AutoencoderTest.ipynb
  2. 0 225
      Experimental.ipynb
  3. 1 5
      Makefile
  4. 0 343
      Statistics.ipynb
  5. 0 190
      SyntheticPointDistribution.ipynb
  6. 0 7
      documentation/paper/.obsidian/app.json
  7. 0 3
      documentation/paper/.obsidian/appearance.json
  8. 0 14
      documentation/paper/.obsidian/core-plugins.json
  9. 0 22
      documentation/paper/.obsidian/graph.json
  10. 0 1
      documentation/paper/.obsidian/hotkeys.json
  11. 0 3
      documentation/paper/.obsidian/page-preview.json
  12. 0 103
      documentation/paper/.obsidian/workspace
  13. 0 28
      documentation/paper/Makefile
  14. 0 12
      documentation/paper/images/Makefile
  15. BIN
      documentation/paper/images/SimpleGanGenerator.pdf
  16. 0 467
      documentation/paper/images/SimpleGanGenerator.svg
  17. BIN
      documentation/paper/images/benchmark.pdf
  18. 0 540
      documentation/paper/images/benchmark.svg
  19. 0 13
      documentation/paper/src/Benchmark.md
  20. 0 7
      documentation/paper/src/Benchmark/Algorithms.md
  21. 0 4
      documentation/paper/src/Benchmark/Algorithms/CTAB-GAN.md
  22. 0 4
      documentation/paper/src/Benchmark/Algorithms/CTGAN.md
  23. 0 5
      documentation/paper/src/Benchmark/Algorithms/ProWRAS.md
  24. 0 2
      documentation/paper/src/Benchmark/Algorithms/Repeater.md
  25. 0 10
      documentation/paper/src/Benchmark/Algorithms/SimpleGAN.md
  26. 0 9
      documentation/paper/src/Benchmark/Algorithms/convGAN.md
  27. 0 6
      documentation/paper/src/Benchmark/Classifier.md
  28. 0 29
      documentation/paper/src/Benchmark/Datasets.md
  29. 0 2
      documentation/paper/src/Benchmark/Results.md
  30. 0 18
      documentation/paper/src/Benchmark/Scores.md
  31. 0 2
      documentation/paper/src/Results.md
  32. 0 23
      documentation/paper/src/all.md
  33. 0 2
      documentation/paper/src/convGAN algotithm.md
  34. 0 498
      documentation/paper/template.tex
  35. 0 49
      run_all_exercises.ipynb
  36. 0 262
      statistics.py
  37. 0 43
      tools/mdImport.py

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 575
AutoencoderTest.ipynb


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 225
Experimental.ipynb


+ 1 - 5
Makefile

@@ -1,4 +1,4 @@
-all: benchmark statistics
+all: benchmark
 
 benchmark: docker/container.ok
 	docker container run --rm -it -v `(pwd)`:/benchmark/data convganbenchmark python3 /benchmark/data/run_all_exercises.py
@@ -9,10 +9,6 @@ benchmark-gpu: docker/container.ok
 	docker container run --rm -it -v `(pwd)`:/benchmark/data convganbenchmark chown -R `(./getMyUid)` /benchmark/data/data_result
 
 
-statistics: docker/container.ok
-	docker container run --rm -it -v `(pwd)`:/benchmark/data convganbenchmark python3 /benchmark/data/statistics.py
-	docker container run --rm -it -v `(pwd)`:/benchmark/data convganbenchmark chown -R `(./getMyUid)` /benchmark/data/data_result
-
 docker/container.ok: docker/Dockerfile docker/run.sh docker/requirements.txt
 	docker build -t convganbenchmark docker/.
 	date > $@

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 343
Statistics.ipynb


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 190
SyntheticPointDistribution.ipynb


+ 0 - 7
documentation/paper/.obsidian/app.json

@@ -1,7 +0,0 @@
-{
-  "legacyEditor": false,
-  "livePreview": false,
-  "autoPairBrackets": false,
-  "autoPairMarkdown": false,
-  "autoConvertHtml": false
-}

+ 0 - 3
documentation/paper/.obsidian/appearance.json

@@ -1,3 +0,0 @@
-{
-  "textFontFamily": "Courier New"
-}

+ 0 - 14
documentation/paper/.obsidian/core-plugins.json

@@ -1,14 +0,0 @@
-[
-  "file-explorer",
-  "global-search",
-  "switcher",
-  "graph",
-  "backlink",
-  "page-preview",
-  "note-composer",
-  "command-palette",
-  "editor-status",
-  "word-count",
-  "open-with-default-app",
-  "file-recovery"
-]

+ 0 - 22
documentation/paper/.obsidian/graph.json

@@ -1,22 +0,0 @@
-{
-  "collapse-filter": true,
-  "search": "",
-  "showTags": false,
-  "showAttachments": false,
-  "hideUnresolved": false,
-  "showOrphans": true,
-  "collapse-color-groups": true,
-  "colorGroups": [],
-  "collapse-display": true,
-  "showArrow": false,
-  "textFadeMultiplier": 0,
-  "nodeSizeMultiplier": 1,
-  "lineSizeMultiplier": 1.02136752136752,
-  "collapse-forces": true,
-  "centerStrength": 0.230769230769231,
-  "repelStrength": 10,
-  "linkStrength": 1,
-  "linkDistance": 250,
-  "scale": 1,
-  "close": false
-}

+ 0 - 1
documentation/paper/.obsidian/hotkeys.json

@@ -1 +0,0 @@
-{}

+ 0 - 3
documentation/paper/.obsidian/page-preview.json

@@ -1,3 +0,0 @@
-{
-  "editor": false
-}

+ 0 - 103
documentation/paper/.obsidian/workspace

@@ -1,103 +0,0 @@
-{
-  "main": {
-    "id": "4138b4a72deb772e",
-    "type": "split",
-    "children": [
-      {
-        "id": "ab1c8cd4d8e329f8",
-        "type": "leaf",
-        "state": {
-          "type": "markdown",
-          "state": {
-            "file": "Benchmark/Results.md",
-            "mode": "source",
-            "source": true
-          }
-        }
-      }
-    ],
-    "direction": "vertical"
-  },
-  "left": {
-    "id": "fcd194c05020ce0e",
-    "type": "split",
-    "children": [
-      {
-        "id": "324e719d5b4cb9a3",
-        "type": "tabs",
-        "children": [
-          {
-            "id": "c96a0994c9f1afeb",
-            "type": "leaf",
-            "state": {
-              "type": "file-explorer",
-              "state": {}
-            }
-          },
-          {
-            "id": "8204ccfb337d43c5",
-            "type": "leaf",
-            "state": {
-              "type": "search",
-              "state": {
-                "query": "",
-                "matchingCase": false,
-                "explainSearch": false,
-                "collapseAll": false,
-                "extraContext": false,
-                "sortOrder": "alphabetical"
-              }
-            }
-          }
-        ]
-      }
-    ],
-    "direction": "horizontal",
-    "width": 171
-  },
-  "right": {
-    "id": "c7b05898ea0989d2",
-    "type": "split",
-    "children": [
-      {
-        "id": "77e3a12dc1d1a2da",
-        "type": "tabs",
-        "children": [
-          {
-            "id": "920104c41ba00f95",
-            "type": "leaf",
-            "state": {
-              "type": "backlink",
-              "state": {
-                "file": "Benchmark/Results.md",
-                "collapseAll": false,
-                "extraContext": false,
-                "sortOrder": "alphabetical",
-                "showSearch": false,
-                "searchQuery": "",
-                "backlinkCollapsed": false,
-                "unlinkedCollapsed": true
-              }
-            }
-          }
-        ]
-      }
-    ],
-    "direction": "horizontal",
-    "width": 300,
-    "collapsed": true
-  },
-  "active": "ab1c8cd4d8e329f8",
-  "lastOpenFiles": [
-    "Benchmark/Results.md",
-    "Benchmark/Scores.md",
-    "Benchmark/Algorithms/convGAN.md",
-    "Benchmark/Algorithms/SimpleGAN.md",
-    "Benchmark/Algorithms/Repeater.md",
-    "Benchmark/Algorithms/ProWRAS.md",
-    "Benchmark/Algorithms.md",
-    "Benchmark/Classifier.md",
-    "Benchmark/Datasets.md",
-    "convGAN algotithm.md"
-  ]
-}

+ 0 - 28
documentation/paper/Makefile

@@ -1,28 +0,0 @@
-srcFiles = src/*.md src/**/*.md src/**/**/*.md
-
-images = images/benchmark.pdf images/SimpleGanGenerator.pdf
-
-nothing:
-
-all: paper.pdf
-
-paper.md: $(srcFiles)
-	python ../../tools/mdImport.py src/all.md > $@
-
-
-%.tex: %.md template.tex
-	pandoc --standalone -f markdown -t latex --template=template.tex $< -o $@
-
-
-paper.pdf: paper.tex $(images)
-	xelatex paper.tex
-
-
-
-images/%.pdf:  images/%.svg
-	inkscape $< -o $@ -d 600
-
-
-
-images/%.svg:
-	test -e $@

+ 0 - 12
documentation/paper/images/Makefile

@@ -1,12 +0,0 @@
-
-all: benchmark.pdf SimpleGanGenerator.pdf
-
-
-
-%.pdf:  %.svg
-	inkscape $< -o $@ -d 600
-
-
-
-%.svg:
-	test -e $@

BIN
documentation/paper/images/SimpleGanGenerator.pdf


+ 0 - 467
documentation/paper/images/SimpleGanGenerator.svg

@@ -1,467 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg
-   xmlns:dc="http://purl.org/dc/elements/1.1/"
-   xmlns:cc="http://creativecommons.org/ns#"
-   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-   xmlns:svg="http://www.w3.org/2000/svg"
-   xmlns="http://www.w3.org/2000/svg"
-   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
-   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
-   width="250mm"
-   height="110mm"
-   viewBox="0 0 250 110"
-   version="1.1"
-   id="svg8"
-   inkscape:version="1.0.2 (e86c870879, 2021-01-15)"
-   sodipodi:docname="SimpleGanGenerator.svg">
-  <defs
-     id="defs2" />
-  <sodipodi:namedview
-     id="base"
-     pagecolor="#ffffff"
-     bordercolor="#666666"
-     borderopacity="1.0"
-     inkscape:pageopacity="0.0"
-     inkscape:pageshadow="2"
-     inkscape:zoom="0.98994949"
-     inkscape:cx="259.82699"
-     inkscape:cy="551.4784"
-     inkscape:document-units="mm"
-     inkscape:current-layer="g502"
-     inkscape:document-rotation="0"
-     showgrid="false"
-     inkscape:window-width="1280"
-     inkscape:window-height="1381"
-     inkscape:window-x="0"
-     inkscape:window-y="0"
-     inkscape:window-maximized="0" />
-  <metadata
-     id="metadata5">
-    <rdf:RDF>
-      <cc:Work
-         rdf:about="">
-        <dc:format>image/svg+xml</dc:format>
-        <dc:type
-           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
-        <dc:title></dc:title>
-      </cc:Work>
-    </rdf:RDF>
-  </metadata>
-  <g
-     inkscape:label="Ebene 1"
-     inkscape:groupmode="layer"
-     id="layer1">
-    <g
-       id="g502"
-       transform="translate(-2.6004356,-28.615706)">
-      <rect
-         style="fill:#e6e6e6;stroke-width:0.187874;stroke-linecap:round"
-         id="rect10"
-         width="30"
-         height="6.4662127"
-         x="53.819519"
-         y="34.423023" />
-      <text
-         xml:space="preserve"
-         style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
-         x="63.110313"
-         y="32.24844"
-         id="text14"><tspan
-           sodipodi:role="line"
-           id="tspan12"
-           x="63.110313"
-           y="32.24844"
-           style="font-size:4.23333px;stroke-width:0.264583">noise</tspan></text>
-      <path
-         style="font-variation-settings:normal;vector-effect:none;fill:#cccccc;fill-opacity:1;stroke:none;stroke-width:0.79375;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000"
-         d="M 53.81952,40.889236 40.895691,53.813065 h 55.94324 L 83.819519,40.889236 Z"
-         id="path18"
-         sodipodi:nodetypes="ccccc" />
-      <text
-         xml:space="preserve"
-         style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
-         x="47.600407"
-         y="48.929348"
-         id="text22"><tspan
-           sodipodi:role="line"
-           id="tspan20"
-           x="47.600407"
-           y="48.929348"
-           style="font-size:4.23333px;stroke-width:0.264583">Dense + LeakyReLU</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;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
-         x="64.687469"
-         y="39.197121"
-         id="text26"><tspan
-           sodipodi:role="line"
-           id="tspan24"
-           x="64.687469"
-           y="39.197121"
-           style="font-size:4.23333px;stroke-width:0.264583">100</tspan></text>
-      <path
-         style="font-variation-settings:normal;vector-effect:none;fill:#cccccc;fill-opacity:1;stroke:none;stroke-width:0.79375;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000"
-         d="M 40.895691,60.279278 28.011113,73.326659 H 109.89603 L 96.848656,60.279278 Z"
-         id="path39"
-         sodipodi:nodetypes="ccccc" />
-      <rect
-         style="fill:#e6e6e6;stroke-width:0.25837;stroke-linecap:round"
-         id="rect41"
-         width="55.952961"
-         height="6.4662132"
-         x="40.895691"
-         y="53.813065" />
-      <text
-         xml:space="preserve"
-         style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
-         x="65.132469"
-         y="58.587162"
-         id="text45"><tspan
-           sodipodi:role="line"
-           id="tspan43"
-           x="65.132469"
-           y="58.587162"
-           style="font-size:4.23333px;stroke-width:0.264583">256</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;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
-         x="47.686668"
-         y="68.381165"
-         id="text49"><tspan
-           sodipodi:role="line"
-           id="tspan47"
-           x="47.686668"
-           y="68.381165"
-           style="font-size:4.23333px;stroke-width:0.264583">Dense + LeakyReLU</tspan></text>
-      <path
-         style="font-variation-settings:normal;vector-effect:none;fill:#cccccc;fill-opacity:1;stroke:none;stroke-width:0.79375;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000"
-         d="M 28.011113,79.79287 15.087284,92.716699 122.71911,92.754861 109.82207,79.79287 Z"
-         id="path51"
-         sodipodi:nodetypes="ccccc" />
-      <rect
-         style="fill:#e6e6e6;stroke-width:0.289137;stroke-linecap:round"
-         id="rect53"
-         width="81.810959"
-         height="6.4662094"
-         x="28.011112"
-         y="73.32666" />
-      <text
-         xml:space="preserve"
-         style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
-         x="65.132469"
-         y="78.015366"
-         id="text57"><tspan
-           sodipodi:role="line"
-           id="tspan55"
-           x="65.132469"
-           y="78.015366"
-           style="font-size:4.23333px;stroke-width:0.264583">512</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;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
-         x="47.636292"
-         y="87.809364"
-         id="text61"><tspan
-           sodipodi:role="line"
-           id="tspan59"
-           x="47.636292"
-           y="87.809364"
-           style="font-size:4.23333px;stroke-width:0.264583">Dense + LeakyReLU</tspan></text>
-      <rect
-         style="fill:#e6e6e6;stroke-width:0.331568;stroke-linecap:round"
-         id="rect63"
-         width="107.5839"
-         height="6.4662094"
-         x="15.087284"
-         y="92.716698" />
-      <path
-         style="font-variation-settings:normal;vector-effect:none;fill:#cccccc;fill-opacity:1;stroke:none;stroke-width:0.79375;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000"
-         d="M 27.963195,112.14494 15.039367,99.221107 122.67119,99.182907 109.77416,112.14491 Z"
-         id="path65"
-         sodipodi:nodetypes="ccccc" />
-      <rect
-         style="fill:#e6e6e6;stroke-width:0.289137;stroke-linecap:round"
-         id="rect67"
-         width="81.810959"
-         height="6.4662094"
-         x="27.963196"
-         y="112.14494" />
-      <text
-         xml:space="preserve"
-         style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
-         x="63.378799"
-         y="97.490791"
-         id="text71"><tspan
-           sodipodi:role="line"
-           id="tspan69"
-           x="63.378799"
-           y="97.490791"
-           style="font-size:4.23333px;stroke-width:0.264583">1024</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;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
-         x="51.859909"
-         y="116.95625"
-         id="text75"><tspan
-           sodipodi:role="line"
-           id="tspan73"
-           x="51.859909"
-           y="116.95625"
-           style="font-size:4.23333px;stroke-width:0.264583">num of features</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;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
-         x="50.478119"
-         y="106.83181"
-         id="text79"><tspan
-           sodipodi:role="line"
-           id="tspan77"
-           x="50.478119"
-           y="106.83181"
-           style="font-size:4.23333px;stroke-width:0.264583">Dense + Sigmoid</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;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
-         x="53.75333"
-         y="125.21317"
-         id="text83"><tspan
-           sodipodi:role="line"
-           id="tspan81"
-           x="53.75333"
-           y="125.21317"
-           style="font-size:4.23333px;stroke-width:0.264583">synthetic point P</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;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
-         x="-84.921417"
-         y="6.3721371"
-         id="text155"
-         transform="rotate(-90)"><tspan
-           sodipodi:role="line"
-           id="tspan153"
-           x="-84.921417"
-           y="6.3721371"
-           style="font-size:4.23333px;stroke-width:0.264583">generator</tspan></text>
-      <path
-         style="font-variation-settings:normal;vector-effect:none;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.79375;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000"
-         d="M 20.514205,119.89977 H 9.7473978 V 33.970182 H 46.42373"
-         id="path157" />
-      <g
-         id="g427"
-         transform="translate(131.8457,-108.75234)">
-        <rect
-           style="fill:#e6e6e6;stroke-width:0.187874;stroke-linecap:round"
-           id="rect85"
-           width="30"
-           height="6.4662127"
-           x="51.05587"
-           y="-229.45517"
-           transform="scale(1,-1)" />
-        <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;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
-           x="66.015045"
-           y="235.48776"
-           id="text89"><tspan
-             sodipodi:role="line"
-             id="tspan87"
-             x="66.015045"
-             y="235.48776"
-             style="font-size:4.23333px;text-align:center;text-anchor:middle;stroke-width:0.264583">&quot;∈ majority class&quot; = 0</tspan><tspan
-             sodipodi:role="line"
-             x="66.015045"
-             y="240.77942"
-             style="font-size:4.23333px;text-align:center;text-anchor:middle;stroke-width:0.264583"
-             id="tspan149">...</tspan><tspan
-             sodipodi:role="line"
-             x="66.015045"
-             y="246.07109"
-             style="font-size:4.23333px;text-align:center;text-anchor:middle;stroke-width:0.264583"
-             id="tspan151">&quot;∈ minority class&quot; = 1</tspan></text>
-        <path
-           style="font-variation-settings:normal;vector-effect:none;fill:#cccccc;fill-opacity:1;stroke:none;stroke-width:0.79375;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000"
-           d="M 51.055872,222.98894 38.132043,210.06511 h 55.94324 l -13.019412,12.92383 z"
-           id="path91"
-           sodipodi:nodetypes="ccccc" />
-        <text
-           xml:space="preserve"
-           style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
-           x="47.726505"
-           y="217.69492"
-           id="text95"><tspan
-             sodipodi:role="line"
-             id="tspan93"
-             x="47.726505"
-             y="217.69492"
-             style="font-size:4.23333px;stroke-width:0.264583">Dense + Sigmoid</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;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
-           x="64.671974"
-           y="227.76305"
-           id="text99"><tspan
-             sodipodi:role="line"
-             id="tspan97"
-             x="64.671974"
-             y="227.76305"
-             style="font-size:4.23333px;stroke-width:0.264583">1</tspan></text>
-        <path
-           style="font-variation-settings:normal;vector-effect:none;fill:#cccccc;fill-opacity:1;stroke:none;stroke-width:0.79375;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000"
-           d="M 38.132043,203.5989 25.247465,190.55152 H 107.13238 L 94.085008,203.5989 Z"
-           id="path101"
-           sodipodi:nodetypes="ccccc" />
-        <rect
-           style="fill:#e6e6e6;stroke-width:0.25837;stroke-linecap:round"
-           id="rect103"
-           width="55.952961"
-           height="6.4662132"
-           x="38.132042"
-           y="-210.06512"
-           transform="scale(1,-1)" />
-        <text
-           xml:space="preserve"
-           style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
-           x="62.36882"
-           y="208.37302"
-           id="text107"><tspan
-             sodipodi:role="line"
-             id="tspan105"
-             x="62.36882"
-             y="208.37302"
-             style="font-size:4.23333px;stroke-width:0.264583">256</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;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
-           x="66.166153"
-           y="195.59727"
-           id="text111"><tspan
-             sodipodi:role="line"
-             id="tspan109"
-             x="66.166153"
-             y="195.59727"
-             style="font-size:4.23333px;text-align:center;text-anchor:middle;stroke-width:0.264583">Dense + LeakyReLU</tspan><tspan
-             sodipodi:role="line"
-             x="66.166153"
-             y="200.88893"
-             style="font-size:4.23333px;text-align:center;text-anchor:middle;stroke-width:0.264583"
-             id="tspan147">+ Dropout(0.3)</tspan></text>
-        <path
-           style="font-variation-settings:normal;vector-effect:none;fill:#cccccc;fill-opacity:1;stroke:none;stroke-width:0.79375;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000"
-           d="m 25.247465,184.08531 -12.923828,-12.92383 107.631823,-0.0382 -12.89703,12.96199 z"
-           id="path113"
-           sodipodi:nodetypes="ccccc" />
-        <rect
-           style="fill:#e6e6e6;stroke-width:0.289137;stroke-linecap:round"
-           id="rect115"
-           width="81.810959"
-           height="6.4662094"
-           x="25.247465"
-           y="-190.55153"
-           transform="scale(1,-1)" />
-        <text
-           xml:space="preserve"
-           style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
-           x="62.36882"
-           y="188.94481"
-           id="text119"><tspan
-             sodipodi:role="line"
-             id="tspan117"
-             x="62.36882"
-             y="188.94481"
-             style="font-size:4.23333px;stroke-width:0.264583">512</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;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
-           x="28.12705"
-           y="178.7722"
-           id="text123"><tspan
-             sodipodi:role="line"
-             id="tspan121"
-             x="28.12705"
-             y="178.7722"
-             style="font-size:4.23333px;stroke-width:0.264583">Dense + LeakyReLU + Dropout(0.3)</tspan></text>
-        <rect
-           style="fill:#e6e6e6;stroke-width:0.331568;stroke-linecap:round"
-           id="rect125"
-           width="107.5839"
-           height="6.4662094"
-           x="12.323637"
-           y="-171.16148"
-           transform="scale(1,-1)" />
-        <path
-           style="font-variation-settings:normal;vector-effect:none;fill:#cccccc;fill-opacity:1;stroke:none;stroke-width:0.79375;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000"
-           d="m 25.199548,151.73324 -12.923829,12.92383 107.631821,0.0382 -12.89703,-12.962 z"
-           id="path127"
-           sodipodi:nodetypes="ccccc" />
-        <rect
-           style="fill:#e6e6e6;stroke-width:0.289137;stroke-linecap:round"
-           id="rect129"
-           width="81.810959"
-           height="6.4662094"
-           x="25.199549"
-           y="-151.73325"
-           transform="scale(1,-1)" />
-        <text
-           xml:space="preserve"
-           style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
-           x="60.61515"
-           y="169.46938"
-           id="text133"><tspan
-             sodipodi:role="line"
-             id="tspan131"
-             x="60.61515"
-             y="169.46938"
-             style="font-size:4.23333px;stroke-width:0.264583">1024</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;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
-           x="49.09626"
-           y="150.07832"
-           id="text137"><tspan
-             sodipodi:role="line"
-             id="tspan135"
-             x="49.09626"
-             y="150.07832"
-             style="font-size:4.23333px;stroke-width:0.264583">num of features</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;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
-           x="28.12705"
-           y="159.38214"
-           id="text141"><tspan
-             sodipodi:role="line"
-             id="tspan139"
-             x="28.12705"
-             y="159.38214"
-             style="font-size:4.23333px;stroke-width:0.264583">Dense + LeakyReLU + Dropout(0.3)</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;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
-           x="55.200275"
-           y="141.00078"
-           id="text145"><tspan
-             sodipodi:role="line"
-             id="tspan143"
-             x="55.200275"
-             y="141.00078"
-             style="font-size:4.23333px;stroke-width:0.264583">data point</tspan></text>
-        <path
-           style="font-variation-settings:normal;vector-effect:none;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.79375;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000"
-           d="M 20.514205,144.41741 H 9.7473978 V 230.347 H 46.42373"
-           id="path159" />
-        <text
-           xml:space="preserve"
-           style="font-style:normal;font-weight:normal;font-size:4.23333px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
-           x="-201.43921"
-           y="6.3721371"
-           id="text163"
-           transform="rotate(-90)"><tspan
-             sodipodi:role="line"
-             id="tspan161"
-             x="-201.43921"
-             y="6.3721371"
-             style="font-size:4.23333px;stroke-width:0.264583">discriminator</tspan></text>
-      </g>
-    </g>
-  </g>
-</svg>

BIN
documentation/paper/images/benchmark.pdf


+ 0 - 540
documentation/paper/images/benchmark.svg

@@ -1,540 +0,0 @@
-<?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>

+ 0 - 13
documentation/paper/src/Benchmark.md

@@ -1,13 +0,0 @@
-# Benchmark
-[[Benchmark/Algorithms]]
-[[Benchmark/Classifier]]
-[[Benchmark/Scores]]
-[[Benchmark/Datasets]]
-
-
-## RxS Fold
-\includegraphics[height=0.5\textheight]{images/benchmark.pdf}
-
-## Doing the benchmark
-The benchmark is done by using a 5x5 fold.
-The scores was averaged over all folds.

+ 0 - 7
documentation/paper/src/Benchmark/Algorithms.md

@@ -1,7 +0,0 @@
-## Compared algorithms
-[[Benchmark/Algorithms/convGAN]]
-[[Benchmark/Algorithms/Repeater]]
-[[Benchmark/Algorithms/SimpleGAN]]
-[[Benchmark/Algorithms/ProWRAS]]
-[[Benchmark/Algorithms/CTGAN]]
-[[Benchmark/Algorithms/CTAB-GAN]]

+ 0 - 4
documentation/paper/src/Benchmark/Algorithms/CTAB-GAN.md

@@ -1,4 +0,0 @@
-### CTAB-GAN
-Is a syntetic point generation library using a generative neuronal network.
-
-(GIT link: [https://github.com/Team-TUD/CTAB-GAN])

+ 0 - 4
documentation/paper/src/Benchmark/Algorithms/CTGAN.md

@@ -1,4 +0,0 @@
-### CTGAN
-Is a syntetic point generation library using a generative neuronal network.
-
-(GIT link: [https://github.com/sdv-dev/CTGAN])

+ 0 - 5
documentation/paper/src/Benchmark/Algorithms/ProWRAS.md

@@ -1,5 +0,0 @@
-### ProWRAS
-ProWRAS is a point syntesither using affine projection.
-
-(GIT link: [https://github.com/COSPOV/ProWRAS.git])
- 

+ 0 - 2
documentation/paper/src/Benchmark/Algorithms/Repeater.md

@@ -1,2 +0,0 @@
-### Repeater
-This generator copies the minority dataset as often as needed.

+ 0 - 10
documentation/paper/src/Benchmark/Algorithms/SimpleGAN.md

@@ -1,10 +0,0 @@
-### SimpleGAN
-This generator is an implementation of the basic GAN principe.
-
-Before training the data is scaled by $1 / \alpha$ where 
-$$\alpha =\max( 1.0, 1.1 \cdot \max_{x \in data} \|x\|_\infty )$$
-The generated points are scaled back by multiplying with $\alpha$.
-
-The scaling is needed as the sibmoid function give value between -1 and 1.
-
-\includegraphics[height=16em]{images/SimpleGanGenerator.pdf}

+ 0 - 9
documentation/paper/src/Benchmark/Algorithms/convGAN.md

@@ -1,9 +0,0 @@
-### convGAN
-Is our approach for systetic point generation for imbalanced datasets.
-
-In our benchmark we use the following settings:
-
-- proximary in majority to minority / full majority class
-- Neighborhood size: 5 / all points in the majority data set
-
-(GIT link: [https://github.com/kristian10007/convGAN])

+ 0 - 6
documentation/paper/src/Benchmark/Classifier.md

@@ -1,6 +0,0 @@
-## Used classifiers
-- LR: Logistic regression
-- GB: Gradient boosting
-- KNN: k-next-neighbourhood
-- Discriminator: Uses the discriminator of the trained GAN.
-  This classifier was only user for convGAN. As this algoritm is the only one that trains its discriminator to be able to classify between the majority and the minority dataset.

+ 0 - 29
documentation/paper/src/Benchmark/Datasets.md

@@ -1,29 +0,0 @@
-## Used datasets
-
-The column "feat." is the number of values for each point in the dataset. The value "points total" is the sum of number of points in the minority set and the number of points in the majority set. The column "minority" contains the numer of points in the minority set. The value "common" gives the sum of number of points in the majority set that are also in the minority set and the number of points in the minority set that are also in the majority set. If the value "common" is not zero then even a perfect classifier will have false positive or false negative predictions.
-
- dataset            | feat. | points total | minority | common 
---------------------|------:|-------------:|---------:|-------:|
- **folding**                         |     |          |      |
- $~$ abalone (17 vs. 7, 8, 9, 10)    | 8   | 2338     | 58   | 0      
- $~$ abalone (9-18)                  | 8   | 731      | 42   | 0      
- $~$ car good                        | 6   | 1728     | 69   | 0      
- $~$ car vgood                       | 6   | 1728     | 65   | 0      
- $~$ flare-F                         | 11  | 1066     | 43   | 93     
- $~$ hypothyroid                     | 25  | 3163     | 151  | 2      
- $~$ kddcup (guess passwd vs. satan) | 38  | 1642     | 53   | 0      
- $~$ kr-vs-k (3 vs. 11)              | 6   | 2935     | 81   | 0      
- $~$ kr-vs-k (zero-one vs. draw)     | 6   | 2901     | 105  | 0      
- $~$ shuttle (2 vs. 5)               | 9   | 3316     | 49   | 0      
- $~$ winequality (red 4)             | 11  | 1599     | 53   | 0      
- $~$ yeast4                          | 10  | 1484     | 51   | 0      
- $~$ yeast5                          | 10  | 1484     | 44   | 0      
- $~$ yeast6                          | 10  | 1484     | 35   | 0      
- **imblearn**                        |     |          |      |
- $~$ webpage                         | 300 | 34780    | 981  | 152    
- $~$ mammography                     | 6   | 11183    | 260  | 3329   
- $~$ protein homo                    | 74  | 145751   | 1296 | 0      
- $~$ ozone level                     | 72  | 2536     | 73   | 0      
- **kaggle**                          |     |          |      |
- $~$ creditcard                      | 30  | 284807   | 492  | 0  
-

+ 0 - 2
documentation/paper/src/Benchmark/Results.md

@@ -1,2 +0,0 @@
-## Results
-...

+ 0 - 18
documentation/paper/src/Benchmark/Scores.md

@@ -1,18 +0,0 @@
-## Used scores
-- $F_1$ score: is the harmonic mean of precision and recall. Where Precosion is the quotiont of true positives with all positives and recall is the quotient of true positives and all elements to recognize as positive.
-
-  $F_1 = 2 {P R \over P + R}$
-  \hfill $P = {TP \over TP + FP}$
-  \hfill $R = {TP \over TP + FN}$
-- Cohens kappa score:
-
-  $\kappa = {p_0 - p_c \over 1 - p_c}$
-  \hfill $p_0 = TP + TN$
-  \hfill $p_c = {1 \over 4} \sum_{x \in \{TP, TN\}} (x + FN)(x + FP)$
-
-Where
-
-- TP is the number of correct predicted positive values.
-- TN is the number of correct predicted negative values.
-- FN is the number of negative predicted values that should be positive.
-- FP is the number of positive predicted values that should be negative.

+ 0 - 2
documentation/paper/src/Results.md

@@ -1,2 +0,0 @@
-## Results
-...

+ 0 - 23
documentation/paper/src/all.md

@@ -1,23 +0,0 @@
----
-title: convGAN
-author:
-- Kristian
-- Saptarshi
-keywords: [GAN]
-abstract: |
-	benchmark about synthetic point generation with GANs
-date: April 2022
-graphics: yes
-geometry:
-  - left=2cm
-  - right=2cm
-  - top=2cm
-  - bottom=2cm
-papersize: a4
-...
-
-[[convGAN algotithm]]
-
-[[Benchmark]]
-
-[[Results]]

+ 0 - 2
documentation/paper/src/convGAN algotithm.md

@@ -1,2 +0,0 @@
-# The convGAN algorithm
-TODO: details on the convGAN algorithm.

+ 0 - 498
documentation/paper/template.tex

@@ -1,498 +0,0 @@
-% Options for packages loaded elsewhere
-\PassOptionsToPackage{unicode$for(hyperrefoptions)$,$hyperrefoptions$$endfor$}{hyperref}
-\PassOptionsToPackage{hyphens}{url}
-$if(colorlinks)$
-\PassOptionsToPackage{dvipsnames,svgnames*,x11names*}{xcolor}
-$endif$
-$if(dir)$
-$if(latex-dir-rtl)$
-\PassOptionsToPackage{RTLdocument}{bidi}
-$endif$
-$endif$
-$if(CJKmainfont)$
-\PassOptionsToPackage{space}{xeCJK}
-$endif$
-%
-\documentclass[
-$if(fontsize)$
-  $fontsize$,
-$endif$
-$if(lang)$
-  $babel-lang$,
-$endif$
-$if(papersize)$
-  $papersize$paper,
-$endif$
-$if(beamer)$
-  ignorenonframetext,
-$if(handout)$
-  handout,
-$endif$
-$if(aspectratio)$
-  aspectratio=$aspectratio$,
-$endif$
-$endif$
-$for(classoption)$
-  $classoption$$sep$,
-$endfor$
-]{$documentclass$}
-$if(beamer)$
-$if(background-image)$
-\usebackgroundtemplate{%
-  \includegraphics[width=\paperwidth]{$background-image$}%
-}
-$endif$
-\usepackage{pgfpages}
-\setbeamertemplate{caption}[numbered]
-\setbeamertemplate{caption label separator}{: }
-\setbeamercolor{caption name}{fg=normal text.fg}
-\beamertemplatenavigationsymbols$if(navigation)$$navigation$$else$empty$endif$
-$for(beameroption)$
-\setbeameroption{$beameroption$}
-$endfor$
-% Prevent slide breaks in the middle of a paragraph
-\widowpenalties 1 10000
-\raggedbottom
-$if(section-titles)$
-\setbeamertemplate{part page}{
-  \centering
-  \begin{beamercolorbox}[sep=16pt,center]{part title}
-    \usebeamerfont{part title}\insertpart\par
-  \end{beamercolorbox}
-}
-\setbeamertemplate{section page}{
-  \centering
-  \begin{beamercolorbox}[sep=12pt,center]{part title}
-    \usebeamerfont{section title}\insertsection\par
-  \end{beamercolorbox}
-}
-\setbeamertemplate{subsection page}{
-  \centering
-  \begin{beamercolorbox}[sep=8pt,center]{part title}
-    \usebeamerfont{subsection title}\insertsubsection\par
-  \end{beamercolorbox}
-}
-\AtBeginPart{
-  \frame{\partpage}
-}
-\AtBeginSection{
-  \ifbibliography
-  \else
-    \frame{\sectionpage}
-  \fi
-}
-\AtBeginSubsection{
-  \frame{\subsectionpage}
-}
-$endif$
-$endif$
-$if(beamerarticle)$
-\usepackage{beamerarticle} % needs to be loaded first
-$endif$
-$if(fontfamily)$
-\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
-$else$
-\usepackage{lmodern}
-$endif$
-$if(linestretch)$
-\usepackage{setspace}
-$endif$
-\usepackage{amssymb,amsmath}
-\usepackage{ifxetex,ifluatex}
-\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
-  \usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc}
-  \usepackage[utf8]{inputenc}
-  \usepackage{textcomp} % provide euro and other symbols
-\else % if luatex or xetex
-$if(mathspec)$
-  \ifxetex
-    \usepackage{mathspec}
-  \else
-    \usepackage{unicode-math}
-  \fi
-$else$
-  \usepackage{unicode-math}
-$endif$
-  \defaultfontfeatures{Scale=MatchLowercase}
-  \defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
-$if(mainfont)$
-  \setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
-$endif$
-$if(sansfont)$
-  \setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$]{$sansfont$}
-$endif$
-$if(monofont)$
-  \setmonofont[$for(monofontoptions)$$monofontoptions$$sep$,$endfor$]{$monofont$}
-$endif$
-$for(fontfamilies)$
-  \newfontfamily{$fontfamilies.name$}[$for(fontfamilies.options)$$fontfamilies.options$$sep$,$endfor$]{$fontfamilies.font$}
-$endfor$
-$if(mathfont)$
-$if(mathspec)$
-  \ifxetex
-    \setmathfont(Digits,Latin,Greek)[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
-  \else
-    \setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
-  \fi
-$else$
-  \setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$}
-$endif$
-$endif$
-$if(CJKmainfont)$
-  \ifxetex
-    \usepackage{xeCJK}
-    \setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$}
-  \fi
-$endif$
-$if(luatexjapresetoptions)$
-  \ifluatex
-    \usepackage[$for(luatexjapresetoptions)$$luatexjapresetoptions$$sep$,$endfor$]{luatexja-preset}
-  \fi
-$endif$
-$if(CJKmainfont)$
-  \ifluatex
-    \usepackage[$for(luatexjafontspecoptions)$$luatexjafontspecoptions$$sep$,$endfor$]{luatexja-fontspec}
-    \setmainjfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$}
-  \fi
-$endif$
-\fi
-$if(beamer)$
-$if(theme)$
-\usetheme[$for(themeoptions)$$themeoptions$$sep$,$endfor$]{$theme$}
-$endif$
-$if(colortheme)$
-\usecolortheme{$colortheme$}
-$endif$
-$if(fonttheme)$
-\usefonttheme{$fonttheme$}
-$endif$
-$if(mainfont)$
-\usefonttheme{serif} % use mainfont rather than sansfont for slide text
-$endif$
-$if(innertheme)$
-\useinnertheme{$innertheme$}
-$endif$
-$if(outertheme)$
-\useoutertheme{$outertheme$}
-$endif$
-$endif$
-% Use upquote if available, for straight quotes in verbatim environments
-\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
-\IfFileExists{microtype.sty}{% use microtype if available
-  \usepackage[$for(microtypeoptions)$$microtypeoptions$$sep$,$endfor$]{microtype}
-  \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
-}{}
-$if(indent)$
-$else$
-\makeatletter
-\@ifundefined{KOMAClassName}{% if non-KOMA class
-  \IfFileExists{parskip.sty}{%
-    \usepackage{parskip}
-  }{% else
-    \setlength{\parindent}{0pt}
-    \setlength{\parskip}{6pt plus 2pt minus 1pt}}
-}{% if KOMA class
-  \KOMAoptions{parskip=half}}
-\makeatother
-$endif$
-$if(verbatim-in-note)$
-\usepackage{fancyvrb}
-$endif$
-\usepackage{xcolor}
-\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
-\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
-\hypersetup{
-$if(title-meta)$
-  pdftitle={$title-meta$},
-$endif$
-$if(author-meta)$
-  pdfauthor={$author-meta$},
-$endif$
-$if(lang)$
-  pdflang={$lang$},
-$endif$
-$if(subject)$
-  pdfsubject={$subject$},
-$endif$
-$if(keywords)$
-  pdfkeywords={$for(keywords)$$keywords$$sep$, $endfor$},
-$endif$
-$if(colorlinks)$
-  colorlinks=true,
-  linkcolor=$if(linkcolor)$$linkcolor$$else$Maroon$endif$,
-  filecolor=$if(filecolor)$$filecolor$$else$Maroon$endif$,
-  citecolor=$if(citecolor)$$citecolor$$else$Blue$endif$,
-  urlcolor=$if(urlcolor)$$urlcolor$$else$Blue$endif$,
-$else$
-  hidelinks,
-$endif$
-  pdfcreator={LaTeX via pandoc}}
-\urlstyle{same} % disable monospaced font for URLs
-$if(verbatim-in-note)$
-\VerbatimFootnotes % allow verbatim text in footnotes
-$endif$
-$if(geometry)$
-$if(beamer)$
-\geometry{$for(geometry)$$geometry$$sep$,$endfor$}
-$else$
-\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
-$endif$
-$endif$
-$if(beamer)$
-\newif\ifbibliography
-$endif$
-$if(listings)$
-\usepackage{listings}
-\newcommand{\passthrough}[1]{#1}
-\lstset{defaultdialect=[5.3]Lua}
-\lstset{defaultdialect=[x86masm]Assembler}
-$endif$
-$if(lhs)$
-\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
-$endif$
-$if(highlighting-macros)$
-$highlighting-macros$
-$endif$
-$if(tables)$
-\usepackage{longtable,booktabs}
-$if(beamer)$
-\usepackage{caption}
-% Make caption package work with longtable
-\makeatletter
-\def\fnum@table{\tablename~\thetable}
-\makeatother
-$else$
-% Correct order of tables after \paragraph or \subparagraph
-\usepackage{etoolbox}
-\makeatletter
-\patchcmd\longtable{\par}{\if@noskipsec\mbox{}\fi\par}{}{}
-\makeatother
-% Allow footnotes in longtable head/foot
-\IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}}
-\makesavenoteenv{longtable}
-$endif$
-$endif$
-$if(graphics)$
-\usepackage{graphicx}
-\makeatletter
-\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
-\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
-\makeatother
-% Scale images if necessary, so that they will not overflow the page
-% margins by default, and it is still possible to overwrite the defaults
-% using explicit options in \includegraphics[width, height, ...]{}
-\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
-% Set default figure placement to htbp
-\makeatletter
-\def\fps@figure{htbp}
-\makeatother
-$endif$
-$if(links-as-notes)$
-% Make links footnotes instead of hotlinks:
-\DeclareRobustCommand{\href}[2]{#2\footnote{\url{#1}}}
-$endif$
-$if(strikeout)$
-\usepackage[normalem]{ulem}
-% Avoid problems with \sout in headers with hyperref
-\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
-$endif$
-\setlength{\emergencystretch}{3em} % prevent overfull lines
-\providecommand{\tightlist}{%
-  \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
-$if(numbersections)$
-\setcounter{secnumdepth}{$if(secnumdepth)$$secnumdepth$$else$5$endif$}
-$else$
-\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
-$endif$
-$if(beamer)$
-$else$
-$if(block-headings)$
-% Make \paragraph and \subparagraph free-standing
-\ifx\paragraph\undefined\else
-  \let\oldparagraph\paragraph
-  \renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
-\fi
-\ifx\subparagraph\undefined\else
-  \let\oldsubparagraph\subparagraph
-  \renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
-\fi
-$endif$
-$endif$
-$if(pagestyle)$
-\pagestyle{$pagestyle$}
-$endif$
-$for(header-includes)$
-$header-includes$
-$endfor$
-$if(lang)$
-\ifxetex
-  % Load polyglossia as late as possible: uses bidi with RTL langages (e.g. Hebrew, Arabic)
-  \usepackage{polyglossia}
-  \setmainlanguage[$polyglossia-lang.options$]{$polyglossia-lang.name$}
-$for(polyglossia-otherlangs)$
-  \setotherlanguage[$polyglossia-otherlangs.options$]{$polyglossia-otherlangs.name$}
-$endfor$
-\else
-  \usepackage[shorthands=off,$for(babel-otherlangs)$$babel-otherlangs$,$endfor$main=$babel-lang$]{babel}
-$if(babel-newcommands)$
-  $babel-newcommands$
-$endif$
-\fi
-$endif$
-$if(dir)$
-\ifxetex
-  % Load bidi as late as possible as it modifies e.g. graphicx
-  \usepackage{bidi}
-\fi
-\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
-  \TeXXeTstate=1
-  \newcommand{\RL}[1]{\beginR #1\endR}
-  \newcommand{\LR}[1]{\beginL #1\endL}
-  \newenvironment{RTL}{\beginR}{\endR}
-  \newenvironment{LTR}{\beginL}{\endL}
-\fi
-$endif$
-$if(natbib)$
-\usepackage[$natbiboptions$]{natbib}
-\bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$}
-$endif$
-$if(biblatex)$
-\usepackage[$if(biblio-style)$style=$biblio-style$,$endif$$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$]{biblatex}
-$for(bibliography)$
-\addbibresource{$bibliography$}
-$endfor$
-$endif$
-$if(csl-refs)$
-\newlength{\cslhangindent}
-\setlength{\cslhangindent}{1.5em}
-\newenvironment{cslreferences}%
-  {$if(csl-hanging-indent)$\setlength{\parindent}{0pt}%
-  \everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces$endif$}%
-  {\par}
-$endif$
-
-$if(title)$
-\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
-$endif$
-$if(subtitle)$
-$if(beamer)$
-$else$
-\usepackage{etoolbox}
-\makeatletter
-\providecommand{\subtitle}[1]{% add subtitle to \maketitle
-  \apptocmd{\@title}{\par {\large #1 \par}}{}{}
-}
-\makeatother
-$endif$
-\subtitle{$subtitle$}
-$endif$
-\author{$for(author)$$author$$sep$ \and $endfor$}
-\date{$date$}
-$if(beamer)$
-$if(institute)$
-\institute{$for(institute)$$institute$$sep$ \and $endfor$}
-$endif$
-$if(titlegraphic)$
-\titlegraphic{\includegraphics{$titlegraphic$}}
-$endif$
-$if(logo)$
-\logo{\includegraphics{$logo$}}
-$endif$
-$endif$
-
-\begin{document}
-$if(has-frontmatter)$
-\frontmatter
-$endif$
-$if(title)$
-$if(beamer)$
-\frame{\titlepage}
-$else$
-\maketitle
-$endif$
-$if(abstract)$
-\begin{abstract}
-$abstract$
-\end{abstract}
-$endif$
-$endif$
-
-$for(include-before)$
-$include-before$
-
-$endfor$
-$if(toc)$
-$if(toc-title)$
-\renewcommand*\contentsname{$toc-title$}
-$endif$
-$if(beamer)$
-\begin{frame}[allowframebreaks]
-$if(toc-title)$
-  \frametitle{$toc-title$}
-$endif$
-  \tableofcontents[hideallsubsections]
-\end{frame}
-$else$
-{
-$if(colorlinks)$
-\hypersetup{linkcolor=$if(toccolor)$$toccolor$$else$$endif$}
-$endif$
-\setcounter{tocdepth}{$toc-depth$}
-\tableofcontents
-}
-$endif$
-$endif$
-$if(lot)$
-\listoftables
-$endif$
-$if(lof)$
-\listoffigures
-$endif$
-$if(linestretch)$
-\setstretch{$linestretch$}
-$endif$
-$if(has-frontmatter)$
-\mainmatter
-$endif$
-$body$
-
-$if(has-frontmatter)$
-\backmatter
-$endif$
-$if(natbib)$
-$if(bibliography)$
-$if(biblio-title)$
-$if(has-chapters)$
-\renewcommand\bibname{$biblio-title$}
-$else$
-\renewcommand\refname{$biblio-title$}
-$endif$
-$endif$
-$if(beamer)$
-\begin{frame}[allowframebreaks]{$biblio-title$}
-  \bibliographytrue
-$endif$
-  \bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
-$if(beamer)$
-\end{frame}
-$endif$
-
-$endif$
-$endif$
-$if(biblatex)$
-$if(beamer)$
-\begin{frame}[allowframebreaks]{$biblio-title$}
-  \bibliographytrue
-  \printbibliography[heading=none]
-\end{frame}
-$else$
-\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$
-$endif$
-
-$endif$
-$for(include-after)$
-$include-after$
-
-$endfor$
-
-\end{document}

+ 0 - 49
run_all_exercises.ipynb

@@ -1,49 +0,0 @@
-{
- "cells": [
-  {
-   "cell_type": "code",
-   "execution_count": null,
-   "id": "funded-double",
-   "metadata": {},
-   "outputs": [],
-   "source": [
-    "from library.analysis import *"
-   ]
-  },
-  {
-   "cell_type": "code",
-   "execution_count": null,
-   "id": "pediatric-chemistry",
-   "metadata": {
-    "scrolled": false
-   },
-   "outputs": [],
-   "source": [
-    "for dataset in testSets:\n",
-    "    for name in generators.keys():\n",
-    "        runExercise(dataset, None, name, generators[name])"
-   ]
-  }
- ],
- "metadata": {
-  "kernelspec": {
-   "display_name": "Python 3 (ipykernel)",
-   "language": "python",
-   "name": "python3"
-  },
-  "language_info": {
-   "codemirror_mode": {
-    "name": "ipython",
-    "version": 3
-   },
-   "file_extension": ".py",
-   "mimetype": "text/x-python",
-   "name": "python",
-   "nbconvert_exporter": "python",
-   "pygments_lexer": "ipython3",
-   "version": "3.9.7"
-  }
- },
- "nbformat": 4,
- "nbformat_minor": 5
-}

+ 0 - 262
statistics.py

@@ -1,262 +0,0 @@
-import numpy as np
-import matplotlib.pyplot as plt
-from library.analysis import testSets, generators
-
-
-testSets.append("Average")
-
-kScore = "cohens kappa score"
-f1Score = "f1 score"
-
-ignoreSet = ["yeast_me2"]
-
-gans = generators.keys()
-algs = {"LR", "GB", "KNN", "GAN"}
-
-dataset  = [
-    "folding_abalone9-18",
-    "folding_abalone_17_vs_7_8_9_10",
-    "folding_car-vgood",
-    "folding_car_good",
-    "folding_flare-F",
-    "folding_hypothyroid",
-    "folding_kddcup-guess_passwd_vs_satan",
-    "folding_kr-vs-k-three_vs_eleven",
-    "folding_kr-vs-k-zero-one_vs_draw",
-    "folding_shuttle-2_vs_5",
-    "folding_winequality-red-4",
-    "folding_yeast4",
-    "folding_yeast5",
-    "folding_yeast6",
-    "folding_ozone_level",
-    "folding_yeast_me2",
-    "Average"
-    ]
-
-knn_ProWRAS_f1 = [0.384,0.347,0.818,0.641,0.301,0.553,1.0,0.94,0.9,1.0,0.141,0.308,0.714,0.545,0.556,0.339,0.538]
-knn_ProWRAS_k = [0.35,0.328,0.81,0.622,0.263,0.528,1.0,0.938,0.896,1.0,0.093,0.268,0.704,0.531,0.526,0.305,0.515]
-
-lr_ProWRAS_f1 = [0.488,0.315,0.407,0.103,0.341,0.446,0.99,0.928,0.853,1.0,0.158,0.308,0.591,0.326,0.347,0.295,0.472]
-lr_ProWRAS_k = [0.446,0.287,0.371,0.033,0.3,0.407,0.99,0.926,0.847,1.0,0.119,0.268,0.574,0.3,0.319,0.254,0.441]
-
-gb_ProWRAS_f1 = [0.385,0.335,0.959,0.863,0.320,0.803,0.998,0.995,0.969,1.0,0.156,0.335,0.735,0.514,0.329,0.225,0.600]
-gb_ProWRAS_k = [0.341,0.310,0.957,0.857,0.291,0.794,0.998,0.995,0.967,1.0,0.115,0.303,0.726,0.501,0.303,0.328,0.589]
-
-
-ProWrasPaper = "ProWRAS-paper"
-
-statistic = { ProWrasPaper: {} }
-for (n, f1, k) in zip(dataset, lr_ProWRAS_f1, lr_ProWRAS_k):
-    if n in ignoreSet:
-        continue
-    
-    if n not in statistic[ProWrasPaper]:
-        statistic[ProWrasPaper][n] = {}
-    
-    statistic[ProWrasPaper][n]["LR"] = { kScore: k, f1Score: f1 }
-
-
-for (n, f1, k) in zip(dataset, gb_ProWRAS_f1, gb_ProWRAS_k):
-    if n in ignoreSet:
-        continue
-    
-    if n not in statistic[ProWrasPaper]:
-        statistic[ProWrasPaper][n] = {}
-    
-    statistic[ProWrasPaper][n]["GB"] = { kScore: k, f1Score: f1 }
-
-    
-for (n, f1, k) in zip(dataset, knn_ProWRAS_f1, knn_ProWRAS_k):
-    if n in ignoreSet:
-        continue
-    
-    if n not in statistic[ProWrasPaper]:
-        statistic[ProWrasPaper][n] = {}
-    
-    statistic[ProWrasPaper][n]["KNN"] = { kScore: k, f1Score: f1 }
-    
-
-dataset = list(filter(lambda n: n not in ignoreSet, dataset))
-
-
-def loadDiagnoseData(ganType, datasetName):
-    fileName = f"data_result/{ganType}/{datasetName}.csv"
-    r = {}
-    try:
-        with open(fileName) as f:
-            newBlock = True
-            n = ""
-            for line in f:
-                line = line.strip()
-                if newBlock:
-                    n = line
-                    newBlock = False
-                elif line == "---":
-                    newBlock = True
-                else:
-                    parts = line.split(";")
-                    if parts[0] == "avg":
-                        r[n] = { f1Score: float(parts[5]), kScore: float(parts[6]) }
-    except FileNotFoundError as e:
-        print(f"Missing file: {fileName}")
-    return r
-
-
-
-for gan in gans:
-    if gan not in statistic:
-        statistic[gan] = {}
-    
-    for ds in testSets:
-        if ds != "Average":
-            statistic[gan][ds] = loadDiagnoseData(gan, ds)
-
-
-ks = set()
-
-for gan in statistic.keys():
-    f1 = { n: 0.0 for n in algs }
-    k =  { n: 0.0 for n in algs }
-    c = 0
-
-    for ds in statistic[gan].keys():
-        ks.add(ds)
-        if ds != "Average":
-            c += 1
-            for n in algs:
-                if n in statistic[gan][ds].keys():
-                    f1[n] += statistic[gan][ds][n][f1Score]
-                    k[n] += statistic[gan][ds][n][kScore]
-
-    avg = {}
-    for n in algs:
-        avg[n] = { f1Score: f1[n] / c, kScore: k[n] / c }
-    statistic[gan]["Average"] = avg
-
-print(ks)
-
-
-def cleanupName(name):
-    return name.replace("folding_", "").replace("imblearn_", "").replace("kaggle_", "")
-
-
-
-def showDiagnose(algo, score):
-    def gr(n):
-        if n in resultList:
-            return resultList[n][algo].data[score]
-        else:
-            return 0.0
-    
-    print(f"{algo}: {score}")
-    
-    gans = list(statistic.keys())
-
-    w = 0.8 / len(gans)
-    bar = list(range(len(testSets)))
-    plt.figure(figsize=(20, 18))
-    for g in gans:
-        values = [
-                 (statistic[g][d][algo][score] if algo in statistic[g][d].keys() else 0.0) if d in statistic[g] else 0.0
-                 for d in testSets
-                 ]
-        plt.barh(bar, values, w, label=g)
-        
-        
-        bar = [i - w for i in bar]
-
-    plt.ylabel("Dataset")
-    plt.xlabel(score)
-    plt.yticks(range(len(testSets)), [cleanupName(name) for name in testSets])
-    #plt.yticks(rotation="vertical")
-    plt.legend()
-    plt.savefig(f"data_result/statistics/byAlgorithm/statistic-{algo}-{score}.pdf")
-    plt.show()
-
-
-def showDiagnoseAverage(score, onlyOneBar=False):
-    def gr(n):
-        if n in resultList:
-            return resultList[n][algo].data[score]
-        else:
-            return 0.0
-    
-    print(f"Average: {score}")
-    
-    gans = list(statistic.keys())
-
-    w = 0.8 / len(gans)
-    if onlyOneBar:
-        barType = "O"
-        bar = range(len(algs))
-    else:
-        barType = "M"
-        bar = [0.8 + i - w for i in range(len(algs)) ]
-    plt.figure(figsize=(20, 18))
-    for g in gans:
-        values = [
-                 (statistic[g]["Average"][algo][score] if algo in statistic[g]["Average"].keys() else 0.0)
-                 for algo in algs
-                 ]
-        plt.barh(bar, values, w, label=g)
-        
-        if not onlyOneBar:
-            bar = [i - w for i in bar]
-
-    plt.ylabel("Dataset")
-    plt.xlabel(score)
-    plt.yticks(range(len(algs)), algs)
-    plt.legend()
-    plt.savefig(f"data_result/statistics/average/statistic-Average-{score}-{barType}.pdf")
-    plt.show()
-
-
-
-def showDiagnoseDataset(dataset):
-    def gr(n):
-        if n in resultList:
-            return resultList[n][algo].data[score]
-        else:
-            return 0.0
-    
-    print(f"{dataset}")
-    
-    gans = list(statistic.keys())
-    scores = [(a, s) for a in algs for s in (f1Score, kScore)]
-
-    w = 0.8 / len(scores)
-    bar = list(range(len(gans)))
-    plt.figure(figsize=(20, 18))
-    for (algo, score) in scores:
-        values = [
-                 (statistic[g][dataset][algo][score] if algo in statistic[g][dataset] else 0.0) if dataset in statistic[g] else 0.0
-                 for g in gans
-                 ]
-        plt.barh(bar, values, w, label=f"{algo}: {score}")
-        
-        
-        bar = [i - w for i in bar]
-
-    plt.xlabel("score")
-    plt.ylabel("Generator")
-    plt.yticks(range(len(gans)), gans)
-    #plt.yticks(rotation="vertical")
-    plt.legend()
-    plt.savefig(f"data_result/statistics/byDataset/statistic-{dataset}.pdf")
-    plt.show()
-
-
-
-for a in algs:
-    showDiagnose(a, f1Score)
-    showDiagnose(a, kScore)
-    
-showDiagnoseAverage(f1Score)
-showDiagnoseAverage(kScore)
-showDiagnoseAverage(kScore, True)
-
-for t in testSets:
-    showDiagnoseDataset(t)
-
-showDiagnoseDataset("Average")
-

+ 0 - 43
tools/mdImport.py

@@ -1,43 +0,0 @@
-import sys
-import os
-import re
-
-global fileData
-fileData = {}
-
-def readFile(name):
-    text = ""
-    with open(name) as f:
-        for l in f:
-            text += l
-    return text
-
-def basePath(name):
-    p = os.path.dirname(name)
-    if p != "":
-        p = p + "/"
-    return p
-
-def getFile(name, path=None):
-    global fileData
-    if path is None:
-        path = basePath(name)
-    if name not in fileData:
-        fileData[name] = readFile(name)
-        fileData[name] = parse(fileData[name], path)
-    return fileData[name]
-
-def parse(text, path=None):
-    c = re.compile("!\[\[([^]]*)]]")
-    tPath = path or ""
-    for m in c.findall(text):
-       text = text.replace(f"![[{m}]]", "\n" + getFile(tPath + m + ".md", path)) 
-    c = re.compile("\[\[([^]]*)]]")
-    for m in c.findall(text):
-       text = text.replace(f"[[{m}]]", "\n" + getFile(tPath + m + ".md", path)) 
-    return text
-
-if __name__ == "__main__":
-    fileData = {}
-    for arg in sys.argv[1:]:
-        print(getFile(arg, basePath(arg)))

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff