@webwriter/deep-learning-model 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/README.md +3 -3
  2. package/components/model-editor.ts +22 -7
  3. package/custom-elements.json +24 -0
  4. package/dist/widgets/webwriter-feature-engineering.js +1381 -859
  5. package/dist/widgets/webwriter-model-designing.js +1500 -880
  6. package/dist/widgets/webwriter-model-evaluation.js +515 -524
  7. package/dist/widgets/webwriter-model-prediction.js +503 -512
  8. package/dist/widgets/webwriter-model-training.js +633 -559
  9. package/lib/layers/index.ts +77 -15
  10. package/lib/tflib.ts +9 -5
  11. package/localization/ar.xlf +28 -7
  12. package/localization/bg.xlf +28 -7
  13. package/localization/cs.xlf +28 -7
  14. package/localization/da.xlf +28 -7
  15. package/localization/de.xlf +28 -7
  16. package/localization/el.xlf +28 -7
  17. package/localization/es.xlf +28 -7
  18. package/localization/et.xlf +28 -7
  19. package/localization/fi.xlf +28 -7
  20. package/localization/fr.xlf +28 -7
  21. package/localization/generated/ar.ts +1 -0
  22. package/localization/generated/bg.ts +1 -0
  23. package/localization/generated/cs.ts +1 -0
  24. package/localization/generated/da.ts +1 -0
  25. package/localization/generated/de.ts +1 -0
  26. package/localization/generated/el.ts +1 -0
  27. package/localization/generated/es.ts +1 -0
  28. package/localization/generated/et.ts +1 -0
  29. package/localization/generated/fi.ts +1 -0
  30. package/localization/generated/fr.ts +1 -0
  31. package/localization/generated/hu.ts +1 -0
  32. package/localization/generated/id.ts +1 -0
  33. package/localization/generated/it.ts +1 -0
  34. package/localization/generated/ja.ts +1 -0
  35. package/localization/generated/ko.ts +1 -0
  36. package/localization/generated/lt.ts +1 -0
  37. package/localization/generated/lv.ts +1 -0
  38. package/localization/generated/nb.ts +1 -0
  39. package/localization/generated/nl.ts +1 -0
  40. package/localization/generated/pl.ts +1 -0
  41. package/localization/generated/pt-BR.ts +1 -0
  42. package/localization/generated/pt-PT.ts +1 -0
  43. package/localization/generated/ro.ts +1 -0
  44. package/localization/generated/ru.ts +1 -0
  45. package/localization/generated/sk.ts +1 -0
  46. package/localization/generated/sl.ts +1 -0
  47. package/localization/generated/sv.ts +1 -0
  48. package/localization/generated/tr.ts +1 -0
  49. package/localization/generated/uk.ts +1 -0
  50. package/localization/generated/zh-hans.ts +1 -0
  51. package/localization/generated/zh-hant.ts +1 -0
  52. package/localization/hu.xlf +28 -7
  53. package/localization/id.xlf +28 -7
  54. package/localization/it.xlf +28 -7
  55. package/localization/ja.xlf +28 -7
  56. package/localization/ko.xlf +28 -7
  57. package/localization/lt.xlf +28 -7
  58. package/localization/lv.xlf +28 -7
  59. package/localization/nb.xlf +28 -7
  60. package/localization/nl.xlf +28 -7
  61. package/localization/pkg/ar.xliff +1 -1
  62. package/localization/pkg/bg.xliff +1 -1
  63. package/localization/pkg/cs.xliff +1 -1
  64. package/localization/pkg/da.xliff +1 -1
  65. package/localization/pkg/de.xliff +1 -1
  66. package/localization/pkg/el.xliff +1 -1
  67. package/localization/pkg/es.xliff +1 -1
  68. package/localization/pkg/et.xliff +1 -1
  69. package/localization/pkg/fi.xliff +1 -1
  70. package/localization/pkg/fr.xliff +1 -1
  71. package/localization/pkg/hu.xliff +1 -1
  72. package/localization/pkg/id.xliff +1 -1
  73. package/localization/pkg/it.xliff +1 -1
  74. package/localization/pkg/ja.xliff +1 -1
  75. package/localization/pkg/ko.xliff +1 -1
  76. package/localization/pkg/lt.xliff +1 -1
  77. package/localization/pkg/lv.xliff +1 -1
  78. package/localization/pkg/nb.xliff +1 -1
  79. package/localization/pkg/nl.xliff +1 -1
  80. package/localization/pkg/pl.xliff +1 -1
  81. package/localization/pkg/pt-BR.xliff +1 -1
  82. package/localization/pkg/pt-PT.xliff +1 -1
  83. package/localization/pkg/ro.xliff +1 -1
  84. package/localization/pkg/ru.xliff +1 -1
  85. package/localization/pkg/sk.xliff +1 -1
  86. package/localization/pkg/sl.xliff +1 -1
  87. package/localization/pkg/sv.xliff +1 -1
  88. package/localization/pkg/tr.xliff +1 -1
  89. package/localization/pkg/uk.xliff +1 -1
  90. package/localization/pkg/zh-hans.xliff +2 -2
  91. package/localization/pkg/zh-hant.xliff +2 -2
  92. package/localization/pl.xlf +28 -7
  93. package/localization/pt-BR.xlf +28 -7
  94. package/localization/pt-PT.xlf +28 -7
  95. package/localization/ro.xlf +28 -7
  96. package/localization/ru.xlf +28 -7
  97. package/localization/sk.xlf +28 -7
  98. package/localization/sl.xlf +28 -7
  99. package/localization/snippets/ar.xliff +1 -1
  100. package/localization/snippets/bg.xliff +1 -1
  101. package/localization/snippets/cs.xliff +1 -1
  102. package/localization/snippets/da.xliff +1 -1
  103. package/localization/snippets/de.xliff +1 -1
  104. package/localization/snippets/el.xliff +1 -1
  105. package/localization/snippets/es.xliff +1 -1
  106. package/localization/snippets/et.xliff +1 -1
  107. package/localization/snippets/fi.xliff +1 -1
  108. package/localization/snippets/fr.xliff +1 -1
  109. package/localization/snippets/hu.xliff +1 -1
  110. package/localization/snippets/id.xliff +1 -1
  111. package/localization/snippets/it.xliff +1 -1
  112. package/localization/snippets/ja.xliff +1 -1
  113. package/localization/snippets/ko.xliff +1 -1
  114. package/localization/snippets/lt.xliff +1 -1
  115. package/localization/snippets/lv.xliff +1 -1
  116. package/localization/snippets/nb.xliff +1 -1
  117. package/localization/snippets/nl.xliff +1 -1
  118. package/localization/snippets/pl.xliff +1 -1
  119. package/localization/snippets/pt-BR.xliff +1 -1
  120. package/localization/snippets/pt-PT.xliff +1 -1
  121. package/localization/snippets/ro.xliff +1 -1
  122. package/localization/snippets/ru.xliff +1 -1
  123. package/localization/snippets/sk.xliff +1 -1
  124. package/localization/snippets/sl.xliff +1 -1
  125. package/localization/snippets/sv.xliff +1 -1
  126. package/localization/snippets/tr.xliff +1 -1
  127. package/localization/snippets/uk.xliff +1 -1
  128. package/localization/snippets/zh-hans.xliff +2 -2
  129. package/localization/snippets/zh-hant.xliff +2 -2
  130. package/localization/sv.xlf +28 -7
  131. package/localization/tr.xlf +28 -7
  132. package/localization/uk.xlf +28 -7
  133. package/localization/zh-hans.xlf +28 -7
  134. package/localization/zh-hant.xlf +28 -7
  135. package/package.json +2 -2
  136. package/snippets/MNIST.html +1 -1
  137. package/widgets/webwriter-model-designing.ts +25 -2
  138. package/widgets/webwriter-model-training.ts +45 -20
@@ -34,6 +34,9 @@ export class Editor {
34
34
  /** The max layer params from the model design widget. */
35
35
  public readonly maxLayerParams: number;
36
36
 
37
+ /** Called with the new selection state whenever a layer or connection is selected or unselected. */
38
+ public onSelectionChanged: ((selected: boolean) => void) | null = null;
39
+
37
40
  constructor(container: HTMLDivElement, editMode:string = "edit", maxModelParams:number, maxLayerParams:number) {
38
41
  let that = this;
39
42
  this.editMode = editMode;
@@ -75,6 +78,55 @@ export class Editor {
75
78
  this.editor.on("nodeRemoved", function (id) {
76
79
  delete that.layers[id];
77
80
  })
81
+
82
+ const notifySelectionChanged = function () {
83
+ setTimeout(function () {
84
+ if (that.onSelectionChanged)
85
+ that.onSelectionChanged(that.hasSelection());
86
+ });
87
+ };
88
+ this.editor.on("nodeSelected", notifySelectionChanged);
89
+ this.editor.on("nodeUnselected", notifySelectionChanged);
90
+ this.editor.on("connectionSelected", notifySelectionChanged);
91
+ this.editor.on("connectionUnselected", notifySelectionChanged);
92
+ this.editor.on("nodeRemoved", notifySelectionChanged);
93
+ this.editor.on("connectionRemoved", notifySelectionChanged);
94
+
95
+ // Workaround for the fact that Drawflow does not support shadow DOM.
96
+ // This allows touch events to work correctly in the model design widget.
97
+ const nativeElementFromPoint = document.elementFromPoint.bind(document);
98
+ container.addEventListener("touchend", function () {
99
+ const root = container.getRootNode() as any;
100
+ if (root === document || typeof root.elementFromPoint !== "function")
101
+ return;
102
+ (document as any).elementFromPoint = function (x: number, y: number): Element {
103
+ let el = root.elementFromPoint(x, y) as Element | null;
104
+ while (el && (el as any).shadowRoot && (el as any).shadowRoot.elementFromPoint) {
105
+ const inner = (el as any).shadowRoot.elementFromPoint(x, y) as Element | null;
106
+ if (inner == null || inner === el)
107
+ break;
108
+ el = inner;
109
+ }
110
+ return el ?? nativeElementFromPoint(x, y);
111
+ };
112
+ setTimeout(function () { (document as any).elementFromPoint = nativeElementFromPoint; });
113
+ }, true);
114
+ }
115
+
116
+ /**
117
+ * Removes the currently selected node (layer) or connection from the editor.
118
+ */
119
+ public removeSelectedNode() {
120
+ let editor = this.editor as any;
121
+ if (editor.node_selected != null)
122
+ editor.removeNodeId(editor.node_selected.id);
123
+ else if (editor.connection_selected != null)
124
+ editor.removeConnection();
125
+ }
126
+ /** Whether something is currently selected in the editor. */
127
+ public hasSelection(): boolean {
128
+ let editor = this.editor as any;
129
+ return editor.node_selected != null || editor.connection_selected != null;
78
130
  }
79
131
  /** Returns the average position of the layer nodes. Used to center the view. */
80
132
  getAveragePosition() {
@@ -436,7 +488,7 @@ export abstract class Layer {
436
488
  * @returns the html element that wraps the entire layer.
437
489
  */
438
490
  protected getNodeElement() {
439
- return this.elem.parentElement.parentElement;
491
+ return this.elem?.parentElement?.parentElement;
440
492
  }
441
493
  /**
442
494
  * @param input Typically named "input_1", "input_2", ...
@@ -549,26 +601,33 @@ export abstract class Layer {
549
601
  for (let i in inputs) {
550
602
  let input = inputs[i];
551
603
  let inputName = i;
552
- if (input.connections.length == 0 || this.getNodeInputElement(inputName).innerText == "") {
553
- if (this.getNodeInputElement(inputName) == null)
604
+ let inputElem = this.getNodeInputElement(inputName);
605
+ if (input.connections.length == 0 || inputElem == null || inputElem.innerText == "") {
606
+ if (inputElem == null)
554
607
  this.addInput();
555
608
  setTimeout(function() {
556
- that.getNodeInputElement(inputName).classList.remove("invalid");
557
- that.getNodeInputElement(inputName).classList.remove("valid");
609
+ let elem = that.getNodeInputElement(inputName);
610
+ if (elem == null)
611
+ return;
612
+ elem.classList.remove("invalid");
613
+ elem.classList.remove("valid");
558
614
  })
559
615
  continue;
560
616
  }
561
617
  let layer = this.editor.getLayerFromNodeId(parseInt(input.connections[0].node));
562
618
  let output = input.connections[0].input;
563
- if (layer.getNodeOutputElement(output).innerText != this.getNodeInputElement(i).innerText) {
564
- this.getNodeInputElement(i).classList.add("invalid");
565
- this.getNodeInputElement(i).classList.remove("valid");
566
- this.getNodeInputElement(i).title = "data has wrong dimensions";
619
+ let outputElem = layer?.getNodeOutputElement(output);
620
+ if (outputElem == null)
621
+ continue;
622
+ if (outputElem.innerText != inputElem.innerText) {
623
+ inputElem.classList.add("invalid");
624
+ inputElem.classList.remove("valid");
625
+ inputElem.title = "data has wrong dimensions";
567
626
  return false;
568
627
  } else {
569
- this.getNodeInputElement(i).classList.remove("invalid");
570
- this.getNodeInputElement(i).classList.add("valid");
571
- this.getNodeInputElement(i).title = "";
628
+ inputElem.classList.remove("invalid");
629
+ inputElem.classList.add("valid");
630
+ inputElem.title = "";
572
631
  }
573
632
  }
574
633
  return true;
@@ -615,12 +674,15 @@ export abstract class Layer {
615
674
  */
616
675
  protected showValid() {
617
676
  let valid = this.valid();
677
+ let elem = this.getNodeElement();
678
+ if (elem == null)
679
+ return;
618
680
  if (!valid) {
619
- this.getNodeElement().classList.add("invalid");
681
+ elem.classList.add("invalid");
620
682
  if (this.hasCyclicReference)
621
- this.getNodeElement().setAttribute("title", msg("Has a cyclic reference."));
683
+ elem.setAttribute("title", msg("Has a cyclic reference."));
622
684
  } else {
623
- this.getNodeElement().classList.remove("invalid");
685
+ elem.classList.remove("invalid");
624
686
  }
625
687
  }
626
688
  /**
package/lib/tflib.ts CHANGED
@@ -1,6 +1,10 @@
1
1
  /** Weird workaround with a dynamic import in order to only import tf once. */
2
- export default async function getTF() {
3
- if ((window as any).TF == null)
4
- (window as any).TF = await import("@tensorflow/tfjs");
5
- return (window as any).TF as typeof import("@tensorflow/tfjs");
6
- }
2
+ export default function getTF(): Promise<typeof import("@tensorflow/tfjs")> {
3
+ const w = window as any;
4
+ if (w.__TFPromise == null) {
5
+ w.__TFPromise = w.TF != null
6
+ ? Promise.resolve(w.TF)
7
+ : import("@tensorflow/tfjs").then(tf => (w.TF = tf));
8
+ }
9
+ return w.__TFPromise;
10
+ }
@@ -338,14 +338,19 @@
338
338
  <target>مجموعة البيانات المستخدمة</target>
339
339
  </trans-unit>
340
340
  <trans-unit id="sb03650788f41c135">
341
- <source>of <x id="0" equiv-text="${this.samples.length}"/> Samples</source>
341
+ <source>of
342
+ <x id="0" equiv-text="${this.samples.length}"/> Samples
343
+ </source>
342
344
  <target>من
343
345
  عينات
344
346
  <x id="0" equiv-text="${this.samples.length}"/>
345
347
  </target>
346
348
  </trans-unit>
347
349
  <trans-unit id="sc3727a4fc25d7500">
348
- <source>Prediction: <x id="0" equiv-text="${predClass} ${span}"/> Label: <x id="1" equiv-text="${labelClass}"/></source>
350
+ <source>Prediction:
351
+ <x id="0" equiv-text="${predClass} ${relation}"/> Label:
352
+ <x id="1" equiv-text="${labelClass}"/>
353
+ </source>
349
354
  <target>التنبؤ:
350
355
  <x id="0" equiv-text="${predClass} ${span}"/> التسمية:
351
356
  <x id="1" equiv-text="${labelClass}"/>
@@ -408,7 +413,11 @@
408
413
  <target>تدرج الرمادي</target>
409
414
  </trans-unit>
410
415
  <trans-unit id="se1c4d8107171ecb2">
411
- <source>Prediction: <x id="0" equiv-text="${predValue}"/> - Label: <x id="1" equiv-text="${labelValue}"/> = Delta: <x id="2" equiv-text="${parseFloat(predValue) - parseFloat(labelValue)}"/></source>
416
+ <source>Prediction:
417
+ <x id="0" equiv-text="${predValue}"/> - Label:
418
+ <x id="1" equiv-text="${labelValue}"/> = Delta:
419
+ <x id="2" equiv-text="${parseFloat(predValue) - parseFloat(labelValue)}"/>
420
+ </source>
412
421
  <target>التنبؤ:
413
422
  <x id="0" equiv-text="${predValue}"/> - التسمية:
414
423
  <x id="1" equiv-text="${labelValue}"/> = دلتا:
@@ -484,20 +493,28 @@
484
493
  <target>دالة الخسارة</target>
485
494
  </trans-unit>
486
495
  <trans-unit id="s38ddf839c081bbaf">
487
- <source><x id="0" equiv-text="${(i + 1)}"/>th dim</source>
496
+ <source>
497
+ <x id="0" equiv-text="${(i + 1)}"/>th dim
498
+ </source>
488
499
  <target>
489
500
  <x id="0" equiv-text="${(i + 1)}"/> الضباب
490
501
  </target>
491
502
  </trans-unit>
492
503
  <trans-unit id="s2c48e68704ff98c2">
493
- <source>Output shape invalid: <x id="0" equiv-text="${inDim}"/> != <x id="1" equiv-text="${outDim}"/></source>
504
+ <source>Output shape invalid:
505
+ <x id="0" equiv-text="${inDim}"/> !=
506
+ <x id="1" equiv-text="${outDim}"/>
507
+ </source>
494
508
  <target>شكل الإخراج غير صالح:
495
509
  <x id="0" equiv-text="${inDim}"/> !=
496
510
  <x id="1" equiv-text="${outDim}"/>
497
511
  </target>
498
512
  </trans-unit>
499
513
  <trans-unit id="sc0e01e8b4662bec2">
500
- <source>Prediction: <x id="0" equiv-text="${predValue}"/>, Label: <x id="1" equiv-text="${labelValue}"/></source>
514
+ <source>Prediction:
515
+ <x id="0" equiv-text="${predValue}"/>, Label:
516
+ <x id="1" equiv-text="${labelValue}"/>
517
+ </source>
501
518
  <target>التنبؤ:
502
519
  <x id="0" equiv-text="${predValue}"/> ، التصنيف:
503
520
  <x id="1" equiv-text="${labelValue}"/>
@@ -527,6 +544,10 @@
527
544
  <source>Continue Training</source>
528
545
  <target>مواصلة التدريب</target>
529
546
  </trans-unit>
547
+ <trans-unit id="s38c7b3d048d88c07">
548
+ <source>Delete selected</source>
549
+ <target>حذف المحدد</target>
550
+ </trans-unit>
530
551
  </body>
531
552
  </file>
532
- </xliff>
553
+ </xliff>
@@ -338,13 +338,18 @@
338
338
  <target>Използване на набор от данни</target>
339
339
  </trans-unit>
340
340
  <trans-unit id="sb03650788f41c135">
341
- <source>of <x id="0" equiv-text="${this.samples.length}"/> Samples</source>
341
+ <source>of
342
+ <x id="0" equiv-text="${this.samples.length}"/> Samples
343
+ </source>
342
344
  <target>от
343
345
  <x id="0" equiv-text="${this.samples.length}"/> -проби
344
346
  </target>
345
347
  </trans-unit>
346
348
  <trans-unit id="sc3727a4fc25d7500">
347
- <source>Prediction: <x id="0" equiv-text="${predClass} ${span}"/> Label: <x id="1" equiv-text="${labelClass}"/></source>
349
+ <source>Prediction:
350
+ <x id="0" equiv-text="${predClass} ${relation}"/> Label:
351
+ <x id="1" equiv-text="${labelClass}"/>
352
+ </source>
348
353
  <target>Прогноза:
349
354
  <x id="0" equiv-text="${predClass} ${span}"/> Етикет:
350
355
  <x id="1" equiv-text="${labelClass}"/>
@@ -407,7 +412,11 @@
407
412
  <target>Сива скала</target>
408
413
  </trans-unit>
409
414
  <trans-unit id="se1c4d8107171ecb2">
410
- <source>Prediction: <x id="0" equiv-text="${predValue}"/> - Label: <x id="1" equiv-text="${labelValue}"/> = Delta: <x id="2" equiv-text="${parseFloat(predValue) - parseFloat(labelValue)}"/></source>
415
+ <source>Prediction:
416
+ <x id="0" equiv-text="${predValue}"/> - Label:
417
+ <x id="1" equiv-text="${labelValue}"/> = Delta:
418
+ <x id="2" equiv-text="${parseFloat(predValue) - parseFloat(labelValue)}"/>
419
+ </source>
411
420
  <target>Прогноза:
412
421
  <x id="0" equiv-text="${predValue}"/> - Етикет:
413
422
  <x id="1" equiv-text="${labelValue}"/> = Делта:
@@ -483,20 +492,28 @@
483
492
  <target>Функция на загубата</target>
484
493
  </trans-unit>
485
494
  <trans-unit id="s38ddf839c081bbaf">
486
- <source><x id="0" equiv-text="${(i + 1)}"/>th dim</source>
495
+ <source>
496
+ <x id="0" equiv-text="${(i + 1)}"/>th dim
497
+ </source>
487
498
  <target>
488
499
  <x id="0" equiv-text="${(i + 1)}"/> th измерение
489
500
  </target>
490
501
  </trans-unit>
491
502
  <trans-unit id="s2c48e68704ff98c2">
492
- <source>Output shape invalid: <x id="0" equiv-text="${inDim}"/> != <x id="1" equiv-text="${outDim}"/></source>
503
+ <source>Output shape invalid:
504
+ <x id="0" equiv-text="${inDim}"/> !=
505
+ <x id="1" equiv-text="${outDim}"/>
506
+ </source>
493
507
  <target>Невалидна форма на изхода:
494
508
  <x id="0" equiv-text="${inDim}"/> !=
495
509
  <x id="1" equiv-text="${outDim}"/>
496
510
  </target>
497
511
  </trans-unit>
498
512
  <trans-unit id="sc0e01e8b4662bec2">
499
- <source>Prediction: <x id="0" equiv-text="${predValue}"/>, Label: <x id="1" equiv-text="${labelValue}"/></source>
513
+ <source>Prediction:
514
+ <x id="0" equiv-text="${predValue}"/>, Label:
515
+ <x id="1" equiv-text="${labelValue}"/>
516
+ </source>
500
517
  <target>Прогноза:
501
518
  <x id="0" equiv-text="${predValue}"/> , Етикет:
502
519
  <x id="1" equiv-text="${labelValue}"/>
@@ -526,6 +543,10 @@
526
543
  <source>Continue Training</source>
527
544
  <target>Продължи обучението</target>
528
545
  </trans-unit>
546
+ <trans-unit id="s38c7b3d048d88c07">
547
+ <source>Delete selected</source>
548
+ <target>Изтрий избраното</target>
549
+ </trans-unit>
529
550
  </body>
530
551
  </file>
531
- </xliff>
552
+ </xliff>
@@ -338,14 +338,19 @@
338
338
  <target>Dataset používající</target>
339
339
  </trans-unit>
340
340
  <trans-unit id="sb03650788f41c135">
341
- <source>of <x id="0" equiv-text="${this.samples.length}"/> Samples</source>
341
+ <source>of
342
+ <x id="0" equiv-text="${this.samples.length}"/> Samples
343
+ </source>
342
344
  <target>z
343
345
  vzorků
344
346
  <x id="0" equiv-text="${this.samples.length}"/>
345
347
  </target>
346
348
  </trans-unit>
347
349
  <trans-unit id="sc3727a4fc25d7500">
348
- <source>Prediction: <x id="0" equiv-text="${predClass} ${span}"/> Label: <x id="1" equiv-text="${labelClass}"/></source>
350
+ <source>Prediction:
351
+ <x id="0" equiv-text="${predClass} ${relation}"/> Label:
352
+ <x id="1" equiv-text="${labelClass}"/>
353
+ </source>
349
354
  <target>Předpověď:
350
355
  <x id="0" equiv-text="${predClass} ${span}"/> Štítek:
351
356
  <x id="1" equiv-text="${labelClass}"/>
@@ -408,7 +413,11 @@
408
413
  <target>Šedá stupnice</target>
409
414
  </trans-unit>
410
415
  <trans-unit id="se1c4d8107171ecb2">
411
- <source>Prediction: <x id="0" equiv-text="${predValue}"/> - Label: <x id="1" equiv-text="${labelValue}"/> = Delta: <x id="2" equiv-text="${parseFloat(predValue) - parseFloat(labelValue)}"/></source>
416
+ <source>Prediction:
417
+ <x id="0" equiv-text="${predValue}"/> - Label:
418
+ <x id="1" equiv-text="${labelValue}"/> = Delta:
419
+ <x id="2" equiv-text="${parseFloat(predValue) - parseFloat(labelValue)}"/>
420
+ </source>
412
421
  <target>Predikce:
413
422
  <x id="0" equiv-text="${predValue}"/> - Štítek:
414
423
  <x id="1" equiv-text="${labelValue}"/> = Delta:
@@ -484,20 +493,28 @@
484
493
  <target>Funkce ztráty</target>
485
494
  </trans-unit>
486
495
  <trans-unit id="s38ddf839c081bbaf">
487
- <source><x id="0" equiv-text="${(i + 1)}"/>th dim</source>
496
+ <source>
497
+ <x id="0" equiv-text="${(i + 1)}"/>th dim
498
+ </source>
488
499
  <target>
489
500
  <x id="0" equiv-text="${(i + 1)}"/> th dim
490
501
  </target>
491
502
  </trans-unit>
492
503
  <trans-unit id="s2c48e68704ff98c2">
493
- <source>Output shape invalid: <x id="0" equiv-text="${inDim}"/> != <x id="1" equiv-text="${outDim}"/></source>
504
+ <source>Output shape invalid:
505
+ <x id="0" equiv-text="${inDim}"/> !=
506
+ <x id="1" equiv-text="${outDim}"/>
507
+ </source>
494
508
  <target>Neplatný tvar výstupu:
495
509
  <x id="0" equiv-text="${inDim}"/> !=
496
510
  <x id="1" equiv-text="${outDim}"/>
497
511
  </target>
498
512
  </trans-unit>
499
513
  <trans-unit id="sc0e01e8b4662bec2">
500
- <source>Prediction: <x id="0" equiv-text="${predValue}"/>, Label: <x id="1" equiv-text="${labelValue}"/></source>
514
+ <source>Prediction:
515
+ <x id="0" equiv-text="${predValue}"/>, Label:
516
+ <x id="1" equiv-text="${labelValue}"/>
517
+ </source>
501
518
  <target>Předpověď:
502
519
  <x id="0" equiv-text="${predValue}"/> , Štítek:
503
520
  <x id="1" equiv-text="${labelValue}"/>
@@ -527,6 +544,10 @@
527
544
  <source>Continue Training</source>
528
545
  <target>Pokračovat ve výcviku</target>
529
546
  </trans-unit>
547
+ <trans-unit id="s38c7b3d048d88c07">
548
+ <source>Delete selected</source>
549
+ <target>Odstranit vybrané</target>
550
+ </trans-unit>
530
551
  </body>
531
552
  </file>
532
- </xliff>
553
+ </xliff>
@@ -338,13 +338,18 @@
338
338
  <target>Dataset ved hjælp af</target>
339
339
  </trans-unit>
340
340
  <trans-unit id="sb03650788f41c135">
341
- <source>of <x id="0" equiv-text="${this.samples.length}"/> Samples</source>
341
+ <source>of
342
+ <x id="0" equiv-text="${this.samples.length}"/> Samples
343
+ </source>
342
344
  <target>af
343
345
  <x id="0" equiv-text="${this.samples.length}"/> -prøver
344
346
  </target>
345
347
  </trans-unit>
346
348
  <trans-unit id="sc3727a4fc25d7500">
347
- <source>Prediction: <x id="0" equiv-text="${predClass} ${span}"/> Label: <x id="1" equiv-text="${labelClass}"/></source>
349
+ <source>Prediction:
350
+ <x id="0" equiv-text="${predClass} ${relation}"/> Label:
351
+ <x id="1" equiv-text="${labelClass}"/>
352
+ </source>
348
353
  <target>Forudsigelse:
349
354
  <x id="0" equiv-text="${predClass} ${span}"/> -mærke:
350
355
  <x id="1" equiv-text="${labelClass}"/>
@@ -407,7 +412,11 @@
407
412
  <target>Gråtoner</target>
408
413
  </trans-unit>
409
414
  <trans-unit id="se1c4d8107171ecb2">
410
- <source>Prediction: <x id="0" equiv-text="${predValue}"/> - Label: <x id="1" equiv-text="${labelValue}"/> = Delta: <x id="2" equiv-text="${parseFloat(predValue) - parseFloat(labelValue)}"/></source>
415
+ <source>Prediction:
416
+ <x id="0" equiv-text="${predValue}"/> - Label:
417
+ <x id="1" equiv-text="${labelValue}"/> = Delta:
418
+ <x id="2" equiv-text="${parseFloat(predValue) - parseFloat(labelValue)}"/>
419
+ </source>
411
420
  <target>Forudsigelse:
412
421
  <x id="0" equiv-text="${predValue}"/> - Etiket:
413
422
  <x id="1" equiv-text="${labelValue}"/> = Delta:
@@ -483,20 +492,28 @@
483
492
  <target>Tabsfunktion</target>
484
493
  </trans-unit>
485
494
  <trans-unit id="s38ddf839c081bbaf">
486
- <source><x id="0" equiv-text="${(i + 1)}"/>th dim</source>
495
+ <source>
496
+ <x id="0" equiv-text="${(i + 1)}"/>th dim
497
+ </source>
487
498
  <target>
488
499
  <x id="0" equiv-text="${(i + 1)}"/> th dim
489
500
  </target>
490
501
  </trans-unit>
491
502
  <trans-unit id="s2c48e68704ff98c2">
492
- <source>Output shape invalid: <x id="0" equiv-text="${inDim}"/> != <x id="1" equiv-text="${outDim}"/></source>
503
+ <source>Output shape invalid:
504
+ <x id="0" equiv-text="${inDim}"/> !=
505
+ <x id="1" equiv-text="${outDim}"/>
506
+ </source>
493
507
  <target>Outputform ugyldig:
494
508
  <x id="0" equiv-text="${inDim}"/> !=
495
509
  <x id="1" equiv-text="${outDim}"/>
496
510
  </target>
497
511
  </trans-unit>
498
512
  <trans-unit id="sc0e01e8b4662bec2">
499
- <source>Prediction: <x id="0" equiv-text="${predValue}"/>, Label: <x id="1" equiv-text="${labelValue}"/></source>
513
+ <source>Prediction:
514
+ <x id="0" equiv-text="${predValue}"/>, Label:
515
+ <x id="1" equiv-text="${labelValue}"/>
516
+ </source>
500
517
  <target>Forudsigelse:
501
518
  <x id="0" equiv-text="${predValue}"/> , Etikette:
502
519
  <x id="1" equiv-text="${labelValue}"/>
@@ -526,6 +543,10 @@
526
543
  <source>Continue Training</source>
527
544
  <target>Fortsæt træningen</target>
528
545
  </trans-unit>
546
+ <trans-unit id="s38c7b3d048d88c07">
547
+ <source>Delete selected</source>
548
+ <target>Slet det valgte</target>
549
+ </trans-unit>
529
550
  </body>
530
551
  </file>
531
- </xliff>
552
+ </xliff>
@@ -338,13 +338,18 @@
338
338
  <target>Datensatz unter Verwendung von</target>
339
339
  </trans-unit>
340
340
  <trans-unit id="sb03650788f41c135">
341
- <source>of <x id="0" equiv-text="${this.samples.length}"/> Samples</source>
341
+ <source>of
342
+ <x id="0" equiv-text="${this.samples.length}"/> Samples
343
+ </source>
342
344
  <target>von
343
345
  <x id="0" equiv-text="${this.samples.length}"/> Proben
344
346
  </target>
345
347
  </trans-unit>
346
348
  <trans-unit id="sc3727a4fc25d7500">
347
- <source>Prediction: <x id="0" equiv-text="${predClass} ${span}"/> Label: <x id="1" equiv-text="${labelClass}"/></source>
349
+ <source>Prediction:
350
+ <x id="0" equiv-text="${predClass} ${relation}"/> Label:
351
+ <x id="1" equiv-text="${labelClass}"/>
352
+ </source>
348
353
  <target>Vorhersage:
349
354
  <x id="0" equiv-text="${predClass} ${span}"/> Bezeichnung:
350
355
  <x id="1" equiv-text="${labelClass}"/>
@@ -407,7 +412,11 @@
407
412
  <target>Graustufen</target>
408
413
  </trans-unit>
409
414
  <trans-unit id="se1c4d8107171ecb2">
410
- <source>Prediction: <x id="0" equiv-text="${predValue}"/> - Label: <x id="1" equiv-text="${labelValue}"/> = Delta: <x id="2" equiv-text="${parseFloat(predValue) - parseFloat(labelValue)}"/></source>
415
+ <source>Prediction:
416
+ <x id="0" equiv-text="${predValue}"/> - Label:
417
+ <x id="1" equiv-text="${labelValue}"/> = Delta:
418
+ <x id="2" equiv-text="${parseFloat(predValue) - parseFloat(labelValue)}"/>
419
+ </source>
411
420
  <target>Vorhersage:
412
421
  <x id="0" equiv-text="${predValue}"/> - Bezeichnung:
413
422
  <x id="1" equiv-text="${labelValue}"/> = Delta:
@@ -483,20 +492,28 @@
483
492
  <target>Verlustfunktion</target>
484
493
  </trans-unit>
485
494
  <trans-unit id="s38ddf839c081bbaf">
486
- <source><x id="0" equiv-text="${(i + 1)}"/>th dim</source>
495
+ <source>
496
+ <x id="0" equiv-text="${(i + 1)}"/>th dim
497
+ </source>
487
498
  <target>
488
499
  <x id="0" equiv-text="${(i + 1)}"/> Dim.
489
500
  </target>
490
501
  </trans-unit>
491
502
  <trans-unit id="s2c48e68704ff98c2">
492
- <source>Output shape invalid: <x id="0" equiv-text="${inDim}"/> != <x id="1" equiv-text="${outDim}"/></source>
503
+ <source>Output shape invalid:
504
+ <x id="0" equiv-text="${inDim}"/> !=
505
+ <x id="1" equiv-text="${outDim}"/>
506
+ </source>
493
507
  <target>Ausgangsform ungültig:
494
508
  <x id="0" equiv-text="${inDim}"/> !=
495
509
  <x id="1" equiv-text="${outDim}"/>
496
510
  </target>
497
511
  </trans-unit>
498
512
  <trans-unit id="sc0e01e8b4662bec2">
499
- <source>Prediction: <x id="0" equiv-text="${predValue}"/>, Label: <x id="1" equiv-text="${labelValue}"/></source>
513
+ <source>Prediction:
514
+ <x id="0" equiv-text="${predValue}"/>, Label:
515
+ <x id="1" equiv-text="${labelValue}"/>
516
+ </source>
500
517
  <target>Vorhersage:
501
518
  <x id="0" equiv-text="${predValue}"/> - Label:
502
519
  <x id="1" equiv-text="${labelValue}"/>
@@ -526,6 +543,10 @@
526
543
  <source>Continue Training</source>
527
544
  <target>Training fortsetzen</target>
528
545
  </trans-unit>
546
+ <trans-unit id="s38c7b3d048d88c07">
547
+ <source>Delete selected</source>
548
+ <target>Ausgewähltes löschen</target>
549
+ </trans-unit>
529
550
  </body>
530
551
  </file>
531
- </xliff>
552
+ </xliff>
@@ -338,14 +338,19 @@
338
338
  <target>Χρήση συνόλου δεδομένων</target>
339
339
  </trans-unit>
340
340
  <trans-unit id="sb03650788f41c135">
341
- <source>of <x id="0" equiv-text="${this.samples.length}"/> Samples</source>
341
+ <source>of
342
+ <x id="0" equiv-text="${this.samples.length}"/> Samples
343
+ </source>
342
344
  <target>από
343
345
  Δείγματα
344
346
  <x id="0" equiv-text="${this.samples.length}"/>
345
347
  </target>
346
348
  </trans-unit>
347
349
  <trans-unit id="sc3727a4fc25d7500">
348
- <source>Prediction: <x id="0" equiv-text="${predClass} ${span}"/> Label: <x id="1" equiv-text="${labelClass}"/></source>
350
+ <source>Prediction:
351
+ <x id="0" equiv-text="${predClass} ${relation}"/> Label:
352
+ <x id="1" equiv-text="${labelClass}"/>
353
+ </source>
349
354
  <target>Πρόβλεψη:
350
355
  Ετικέτα
351
356
  <x id="0" equiv-text="${predClass} ${span}"/>:
@@ -409,7 +414,11 @@
409
414
  <target>Γκρίζα κλίμακα</target>
410
415
  </trans-unit>
411
416
  <trans-unit id="se1c4d8107171ecb2">
412
- <source>Prediction: <x id="0" equiv-text="${predValue}"/> - Label: <x id="1" equiv-text="${labelValue}"/> = Delta: <x id="2" equiv-text="${parseFloat(predValue) - parseFloat(labelValue)}"/></source>
417
+ <source>Prediction:
418
+ <x id="0" equiv-text="${predValue}"/> - Label:
419
+ <x id="1" equiv-text="${labelValue}"/> = Delta:
420
+ <x id="2" equiv-text="${parseFloat(predValue) - parseFloat(labelValue)}"/>
421
+ </source>
413
422
  <target>Πρόβλεψη:
414
423
  <x id="0" equiv-text="${predValue}"/> - Ετικέτα:
415
424
  <x id="1" equiv-text="${labelValue}"/> = Δέλτα:
@@ -485,20 +494,28 @@
485
494
  <target>Συνάρτηση απώλειας</target>
486
495
  </trans-unit>
487
496
  <trans-unit id="s38ddf839c081bbaf">
488
- <source><x id="0" equiv-text="${(i + 1)}"/>th dim</source>
497
+ <source>
498
+ <x id="0" equiv-text="${(i + 1)}"/>th dim
499
+ </source>
489
500
  <target>
490
501
  <x id="0" equiv-text="${(i + 1)}"/> η διάσταση
491
502
  </target>
492
503
  </trans-unit>
493
504
  <trans-unit id="s2c48e68704ff98c2">
494
- <source>Output shape invalid: <x id="0" equiv-text="${inDim}"/> != <x id="1" equiv-text="${outDim}"/></source>
505
+ <source>Output shape invalid:
506
+ <x id="0" equiv-text="${inDim}"/> !=
507
+ <x id="1" equiv-text="${outDim}"/>
508
+ </source>
495
509
  <target>Μη έγκυρο σχήμα εξόδου:
496
510
  <x id="0" equiv-text="${inDim}"/> !=
497
511
  <x id="1" equiv-text="${outDim}"/>
498
512
  </target>
499
513
  </trans-unit>
500
514
  <trans-unit id="sc0e01e8b4662bec2">
501
- <source>Prediction: <x id="0" equiv-text="${predValue}"/>, Label: <x id="1" equiv-text="${labelValue}"/></source>
515
+ <source>Prediction:
516
+ <x id="0" equiv-text="${predValue}"/>, Label:
517
+ <x id="1" equiv-text="${labelValue}"/>
518
+ </source>
502
519
  <target>Πρόβλεψη:
503
520
  <x id="0" equiv-text="${predValue}"/> , Ετικέτα:
504
521
  <x id="1" equiv-text="${labelValue}"/>
@@ -528,6 +545,10 @@
528
545
  <source>Continue Training</source>
529
546
  <target>Συνέχεια εκπαίδευσης</target>
530
547
  </trans-unit>
548
+ <trans-unit id="s38c7b3d048d88c07">
549
+ <source>Delete selected</source>
550
+ <target>Διαγραφή επιλεγμένων</target>
551
+ </trans-unit>
531
552
  </body>
532
553
  </file>
533
- </xliff>
554
+ </xliff>