@reicek/neataptic-ts 0.1.25 → 0.1.26

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 (210) hide show
  1. package/.github/copilot-instructions.md +11 -0
  2. package/.github/skills/trace-analyzer-extension/SKILL.md +3 -3
  3. package/.github/skills/trace-analyzer-extension/assets/extension-checklist.md +1 -1
  4. package/.github/skills/trace-analyzer-extension/references/analyzer-extension-workflow.md +1 -1
  5. package/.github/skills/trace-audit-reporting/SKILL.md +3 -3
  6. package/.github/skills/trace-audit-reporting/references/trace-analysis-workflow.md +1 -1
  7. package/package.json +19 -13
  8. package/plans/Flappy_Bird_Folder_Documentation_Pass.md +4 -4
  9. package/plans/README.md +24 -0
  10. package/plans/Roadmap.md +62 -40
  11. package/plans/analyze-trace-solid-split.plans.md +66 -0
  12. package/plans/architecture-solid-split.plans.md +9 -15
  13. package/plans/asciiMaze-typescript-repair.plans.md +1 -1
  14. package/plans/generate-docs-solid-split.plans.md +87 -0
  15. package/plans/methods-docs.plans.md +25 -1
  16. package/plans/methods-solid-split.plans.md +14 -14
  17. package/plans/neat-docs.plans.md +9 -1
  18. package/plans/neat-test-surface-repair.plans.md +1 -1
  19. package/plans/render-docs-html-solid-split.plans.md +68 -0
  20. package/plans/src-no-explicit-any-cleanup.plans.md +1 -1
  21. package/plans/utils-docs.plans.md +6 -1
  22. package/scripts/analyze-trace/analyze-trace.analysis.ts +479 -0
  23. package/scripts/analyze-trace/analyze-trace.constants.ts +35 -0
  24. package/scripts/analyze-trace/analyze-trace.io.ts +69 -0
  25. package/scripts/analyze-trace/analyze-trace.report.ts +100 -0
  26. package/scripts/analyze-trace/analyze-trace.shared.ts +116 -0
  27. package/scripts/analyze-trace/analyze-trace.ts +45 -0
  28. package/scripts/analyze-trace/analyze-trace.types.ts +72 -0
  29. package/scripts/assets/theme.css +80 -23
  30. package/scripts/copy-examples.ts +239 -0
  31. package/scripts/export-onnx.ts +223 -0
  32. package/scripts/generate-bench-tables.ts +378 -37
  33. package/scripts/generate-docs/generate-docs.constants.ts +107 -0
  34. package/scripts/generate-docs/generate-docs.order.ts +355 -0
  35. package/scripts/generate-docs/generate-docs.state.ts +31 -0
  36. package/scripts/generate-docs/generate-docs.targets.ts +165 -0
  37. package/scripts/generate-docs/generate-docs.ts +63 -0
  38. package/scripts/generate-docs/generate-docs.types.ts +112 -0
  39. package/scripts/generate-docs/output/generate-docs.output.folder-index.utils.ts +167 -0
  40. package/scripts/generate-docs/output/generate-docs.output.ordering.utils.ts +353 -0
  41. package/scripts/generate-docs/output/generate-docs.output.readme.utils.ts +420 -0
  42. package/scripts/generate-docs/output/generate-docs.output.ts +123 -0
  43. package/scripts/generate-docs/output/generate-docs.output.warnings.utils.ts +219 -0
  44. package/scripts/generate-docs/symbols/generate-docs.symbols.collection.utils.ts +365 -0
  45. package/scripts/generate-docs/symbols/generate-docs.symbols.jsdoc.utils.ts +373 -0
  46. package/scripts/generate-docs/symbols/generate-docs.symbols.normalize.utils.ts +155 -0
  47. package/scripts/generate-docs/symbols/generate-docs.symbols.render.utils.ts +149 -0
  48. package/scripts/generate-docs/symbols/generate-docs.symbols.signature.utils.ts +289 -0
  49. package/scripts/generate-docs/symbols/generate-docs.symbols.ts +11 -0
  50. package/scripts/mermaid-cli.mjs +102 -22
  51. package/scripts/mermaid-cli.ts +736 -0
  52. package/scripts/render-docs-html/render-docs-html.assets.ts +54 -0
  53. package/scripts/render-docs-html/render-docs-html.mermaid.ts +245 -0
  54. package/scripts/{render-docs-html.sidebar.ts → render-docs-html/render-docs-html.navigation.ts} +141 -144
  55. package/scripts/render-docs-html/render-docs-html.pages.ts +333 -0
  56. package/scripts/render-docs-html/render-docs-html.shared.ts +333 -0
  57. package/scripts/render-docs-html/render-docs-html.types.ts +42 -0
  58. package/scripts/render-docs-html.ts +23 -587
  59. package/scripts/run-docs.ts +238 -0
  60. package/scripts/write-dist-docs-pkg.ts +40 -0
  61. package/src/README.md +75 -75
  62. package/src/architecture/connection/README.md +5 -5
  63. package/src/architecture/layer/README.md +508 -508
  64. package/src/architecture/network/README.md +1458 -1458
  65. package/src/architecture/network/activate/README.md +694 -694
  66. package/src/architecture/network/bootstrap/README.md +77 -77
  67. package/src/architecture/network/connect/README.md +74 -74
  68. package/src/architecture/network/deterministic/README.md +135 -135
  69. package/src/architecture/network/evolve/README.md +364 -364
  70. package/src/architecture/network/gating/README.md +130 -130
  71. package/src/architecture/network/genetic/README.md +399 -399
  72. package/src/architecture/network/mutate/README.md +897 -897
  73. package/src/architecture/network/onnx/README.md +720 -720
  74. package/src/architecture/network/onnx/export/README.md +728 -728
  75. package/src/architecture/network/onnx/export/layers/README.md +450 -450
  76. package/src/architecture/network/onnx/import/README.md +618 -618
  77. package/src/architecture/network/onnx/schema/README.md +32 -32
  78. package/src/architecture/network/prune/README.md +245 -245
  79. package/src/architecture/network/remove/README.md +135 -135
  80. package/src/architecture/network/runtime/README.md +106 -106
  81. package/src/architecture/network/serialize/README.md +542 -542
  82. package/src/architecture/network/slab/README.md +608 -608
  83. package/src/architecture/network/standalone/README.md +212 -212
  84. package/src/architecture/network/stats/README.md +84 -84
  85. package/src/architecture/network/topology/README.md +465 -465
  86. package/src/architecture/network/training/README.md +200 -200
  87. package/src/architecture/node/README.md +5 -5
  88. package/src/architecture/nodePool/README.md +14 -14
  89. package/src/methods/README.md +99 -99
  90. package/src/methods/activation/README.md +189 -189
  91. package/src/methods/cost/README.md +131 -131
  92. package/src/methods/rate/README.md +86 -86
  93. package/src/multithreading/README.md +77 -77
  94. package/src/multithreading/workers/browser/README.md +8 -8
  95. package/src/multithreading/workers/node/README.md +8 -8
  96. package/src/neat/README.md +148 -148
  97. package/src/neat/adaptive/README.md +120 -120
  98. package/src/neat/adaptive/acceptance/README.md +40 -40
  99. package/src/neat/adaptive/complexity/README.md +137 -137
  100. package/src/neat/adaptive/core/README.md +197 -197
  101. package/src/neat/adaptive/lineage/README.md +90 -90
  102. package/src/neat/adaptive/mutation/README.md +284 -284
  103. package/src/neat/compat/README.md +43 -43
  104. package/src/neat/compat/core/README.md +90 -90
  105. package/src/neat/diversity/README.md +35 -35
  106. package/src/neat/diversity/core/README.md +88 -88
  107. package/src/neat/evaluate/README.md +85 -85
  108. package/src/neat/evaluate/auto-distance/README.md +75 -75
  109. package/src/neat/evaluate/entropy-compat/README.md +37 -37
  110. package/src/neat/evaluate/entropy-sharing/README.md +43 -43
  111. package/src/neat/evaluate/fitness/README.md +23 -23
  112. package/src/neat/evaluate/novelty/README.md +120 -120
  113. package/src/neat/evaluate/objectives/README.md +17 -17
  114. package/src/neat/evaluate/shared/README.md +94 -94
  115. package/src/neat/evolve/README.md +96 -96
  116. package/src/neat/evolve/adaptive/README.md +60 -60
  117. package/src/neat/evolve/objectives/README.md +63 -63
  118. package/src/neat/evolve/offspring/README.md +56 -56
  119. package/src/neat/evolve/population/README.md +171 -171
  120. package/src/neat/evolve/runtime/README.md +79 -79
  121. package/src/neat/evolve/speciation/README.md +74 -74
  122. package/src/neat/evolve/warnings/README.md +10 -10
  123. package/src/neat/export/README.md +114 -114
  124. package/src/neat/helpers/README.md +50 -50
  125. package/src/neat/init/README.md +9 -9
  126. package/src/neat/lineage/core/README.md +101 -101
  127. package/src/neat/multiobjective/category/README.md +74 -74
  128. package/src/neat/multiobjective/crowding/README.md +272 -272
  129. package/src/neat/multiobjective/dominance/README.md +171 -171
  130. package/src/neat/multiobjective/fronts/README.md +68 -68
  131. package/src/neat/multiobjective/metrics/README.md +43 -43
  132. package/src/neat/multiobjective/objectives/README.md +31 -31
  133. package/src/neat/multiobjective/shared/README.md +27 -27
  134. package/src/neat/mutation/README.md +97 -97
  135. package/src/neat/mutation/add-conn/README.md +115 -115
  136. package/src/neat/mutation/add-node/README.md +126 -126
  137. package/src/neat/mutation/flow/README.md +149 -149
  138. package/src/neat/mutation/repair/README.md +185 -185
  139. package/src/neat/mutation/select/README.md +117 -117
  140. package/src/neat/mutation/shared/README.md +32 -32
  141. package/src/neat/objectives/README.md +25 -25
  142. package/src/neat/objectives/core/README.md +67 -67
  143. package/src/neat/pruning/README.md +40 -40
  144. package/src/neat/pruning/core/README.md +171 -171
  145. package/src/neat/pruning/facade/README.md +32 -32
  146. package/src/neat/rng/README.md +104 -104
  147. package/src/neat/rng/core/README.md +137 -137
  148. package/src/neat/rng/facade/README.md +50 -50
  149. package/src/neat/selection/README.md +111 -111
  150. package/src/neat/selection/core/README.md +227 -227
  151. package/src/neat/selection/facade/README.md +61 -61
  152. package/src/neat/shared/README.md +163 -163
  153. package/src/neat/speciation/README.md +31 -31
  154. package/src/neat/speciation/threshold/README.md +35 -35
  155. package/src/neat/species/README.md +25 -25
  156. package/src/neat/species/core/README.md +20 -20
  157. package/src/neat/species/core/shared/README.md +18 -18
  158. package/src/neat/species/history/context/README.md +22 -22
  159. package/src/neat/telemetry/accessors/README.md +58 -58
  160. package/src/neat/telemetry/exports/README.md +233 -233
  161. package/src/neat/telemetry/facade/README.md +252 -252
  162. package/src/neat/telemetry/facade/archive/README.md +57 -57
  163. package/src/neat/telemetry/facade/buffer/README.md +43 -43
  164. package/src/neat/telemetry/facade/lineage/README.md +12 -12
  165. package/src/neat/telemetry/facade/objectives/README.md +44 -44
  166. package/src/neat/telemetry/facade/runtime/README.md +26 -26
  167. package/src/neat/telemetry/facade/species/README.md +27 -27
  168. package/src/neat/telemetry/metrics/README.md +696 -696
  169. package/src/neat/telemetry/recorder/README.md +57 -57
  170. package/src/neat/telemetry/types/README.md +32 -32
  171. package/src/neat/topology-intent/README.md +75 -75
  172. package/src/utils/README.md +193 -193
  173. package/test/examples/asciiMaze/browser-entry/README.md +92 -92
  174. package/test/examples/asciiMaze/dashboardManager/README.md +109 -109
  175. package/test/examples/asciiMaze/dashboardManager/telemetry/README.md +28 -28
  176. package/test/examples/asciiMaze/evolutionEngine/README.md +1527 -1527
  177. package/test/examples/asciiMaze/mazeMovement/README.md +105 -105
  178. package/test/examples/asciiMaze/mazeMovement/finalization/README.md +16 -16
  179. package/test/examples/asciiMaze/mazeMovement/policy/README.md +57 -57
  180. package/test/examples/asciiMaze/mazeMovement/runtime/README.md +52 -52
  181. package/test/examples/asciiMaze/mazeMovement/shaping/README.md +46 -46
  182. package/test/examples/flappy_bird/browser-entry/README.md +508 -508
  183. package/test/examples/flappy_bird/browser-entry/host/README.md +101 -101
  184. package/test/examples/flappy_bird/browser-entry/host/resize/README.md +144 -144
  185. package/test/examples/flappy_bird/browser-entry/network-view/README.md +194 -194
  186. package/test/examples/flappy_bird/browser-entry/playback/README.md +278 -278
  187. package/test/examples/flappy_bird/browser-entry/playback/background/README.md +129 -129
  188. package/test/examples/flappy_bird/browser-entry/playback/background/ground-grid/README.md +502 -502
  189. package/test/examples/flappy_bird/browser-entry/playback/frame-render/README.md +139 -139
  190. package/test/examples/flappy_bird/browser-entry/playback/snapshot/README.md +10 -10
  191. package/test/examples/flappy_bird/browser-entry/playback/trail/README.md +43 -43
  192. package/test/examples/flappy_bird/browser-entry/playback/worker-channel/README.md +30 -30
  193. package/test/examples/flappy_bird/browser-entry/runtime/README.md +59 -59
  194. package/test/examples/flappy_bird/browser-entry/visualization/README.md +276 -276
  195. package/test/examples/flappy_bird/browser-entry/worker-channel/README.md +16 -16
  196. package/test/examples/flappy_bird/constants/README.md +1070 -1070
  197. package/test/examples/flappy_bird/environment/README.md +22 -22
  198. package/test/examples/flappy_bird/evaluation/README.md +32 -32
  199. package/test/examples/flappy_bird/evaluation/rollout/README.md +141 -141
  200. package/test/examples/flappy_bird/flappy-evolution-worker/README.md +425 -425
  201. package/test/examples/flappy_bird/simulation-shared/README.md +170 -170
  202. package/test/examples/flappy_bird/simulation-shared/observation/README.md +109 -109
  203. package/test/examples/flappy_bird/trainer/README.md +325 -325
  204. package/test/examples/flappy_bird/trainer/evaluation/README.md +74 -74
  205. package/scripts/analyze-trace.ts +0 -590
  206. package/scripts/copy-examples.mjs +0 -114
  207. package/scripts/export-onnx.mjs +0 -86
  208. package/scripts/generate-bench-tables.mjs +0 -182
  209. package/scripts/generate-docs.ts +0 -2900
  210. package/scripts/write-dist-docs-pkg.mjs +0 -16
@@ -311,30 +311,28 @@ ActivationFn(
311
311
 
312
312
  Shared types for multithreading helpers and test workers.
313
313
 
314
- ### SerializedSample
315
-
316
314
  ### SerializableNetwork
317
315
 
318
- ### TestWorkerInstance
316
+ ### SerializedSample
319
317
 
320
318
  ### TestWorkerConstructor
321
319
 
320
+ ### TestWorkerInstance
321
+
322
322
  ## multithreading/multi.utils.ts
323
323
 
324
- ### serializeDataSet
324
+ ### absoluteActivation
325
325
 
326
326
  ```ts
327
- serializeDataSet(
328
- dataSet: { input: number[]; output: number[]; }[],
329
- ): number[]
327
+ absoluteActivation(
328
+ value: number,
329
+ ): number
330
330
  ```
331
331
 
332
- Serializes a dataset into a flat numeric array.
333
-
334
332
  Parameters:
335
- - `dataSet` - - Collection of samples with input and output arrays.
333
+ - `value` - - Input value.
336
334
 
337
- Returns: Flat serialized representation [inputCount, outputCount, ...samples].
335
+ Returns: Absolute activation.
338
336
 
339
337
  ### activateSerializedNetwork
340
338
 
@@ -359,25 +357,27 @@ Parameters:
359
357
 
360
358
  Returns: Activated outputs.
361
359
 
362
- ### deserializeDataSet
360
+ ### ACTIVATION_FUNCTIONS
361
+
362
+ Returns: Activation functions ordered for serialization compatibility.
363
+
364
+ ### bentIdentityActivation
363
365
 
364
366
  ```ts
365
- deserializeDataSet(
366
- serializedSet: number[],
367
- ): SerializedSample[]
367
+ bentIdentityActivation(
368
+ value: number,
369
+ ): number
368
370
  ```
369
371
 
370
- Deserializes a dataset from its flat representation.
371
-
372
372
  Parameters:
373
- - `serializedSet` - - Flat serialized dataset array.
373
+ - `value` - - Input value.
374
374
 
375
- Returns: Array of input/output sample pairs.
375
+ Returns: Bent identity activation.
376
376
 
377
- ### logisticActivation
377
+ ### bipolarActivation
378
378
 
379
379
  ```ts
380
- logisticActivation(
380
+ bipolarActivation(
381
381
  value: number,
382
382
  ): number
383
383
  ```
@@ -385,12 +385,12 @@ logisticActivation(
385
385
  Parameters:
386
386
  - `value` - - Input value.
387
387
 
388
- Returns: Logistic activation.
388
+ Returns: Bipolar activation.
389
389
 
390
- ### tanhActivation
390
+ ### bipolarSigmoidActivation
391
391
 
392
392
  ```ts
393
- tanhActivation(
393
+ bipolarSigmoidActivation(
394
394
  value: number,
395
395
  ): number
396
396
  ```
@@ -398,25 +398,27 @@ tanhActivation(
398
398
  Parameters:
399
399
  - `value` - - Input value.
400
400
 
401
- Returns: Hyperbolic tangent activation.
401
+ Returns: Bipolar sigmoid activation.
402
402
 
403
- ### identityActivation
403
+ ### deserializeDataSet
404
404
 
405
405
  ```ts
406
- identityActivation(
407
- value: number,
408
- ): number
406
+ deserializeDataSet(
407
+ serializedSet: number[],
408
+ ): SerializedSample[]
409
409
  ```
410
410
 
411
+ Deserializes a dataset from its flat representation.
412
+
411
413
  Parameters:
412
- - `value` - - Input value.
414
+ - `serializedSet` - - Flat serialized dataset array.
413
415
 
414
- Returns: Identity activation.
416
+ Returns: Array of input/output sample pairs.
415
417
 
416
- ### stepActivation
418
+ ### gaussianActivation
417
419
 
418
420
  ```ts
419
- stepActivation(
421
+ gaussianActivation(
420
422
  value: number,
421
423
  ): number
422
424
  ```
@@ -424,12 +426,12 @@ stepActivation(
424
426
  Parameters:
425
427
  - `value` - - Input value.
426
428
 
427
- Returns: Step activation.
429
+ Returns: Gaussian activation.
428
430
 
429
- ### reluActivation
431
+ ### hardTanhActivation
430
432
 
431
433
  ```ts
432
- reluActivation(
434
+ hardTanhActivation(
433
435
  value: number,
434
436
  ): number
435
437
  ```
@@ -437,12 +439,12 @@ reluActivation(
437
439
  Parameters:
438
440
  - `value` - - Input value.
439
441
 
440
- Returns: ReLU activation.
442
+ Returns: Hard tanh activation.
441
443
 
442
- ### softsignActivation
444
+ ### identityActivation
443
445
 
444
446
  ```ts
445
- softsignActivation(
447
+ identityActivation(
446
448
  value: number,
447
449
  ): number
448
450
  ```
@@ -450,12 +452,12 @@ softsignActivation(
450
452
  Parameters:
451
453
  - `value` - - Input value.
452
454
 
453
- Returns: Softsign activation.
455
+ Returns: Identity activation.
454
456
 
455
- ### sinusoidActivation
457
+ ### inverseActivation
456
458
 
457
459
  ```ts
458
- sinusoidActivation(
460
+ inverseActivation(
459
461
  value: number,
460
462
  ): number
461
463
  ```
@@ -463,12 +465,12 @@ sinusoidActivation(
463
465
  Parameters:
464
466
  - `value` - - Input value.
465
467
 
466
- Returns: Sinusoid activation.
468
+ Returns: Inverse activation.
467
469
 
468
- ### gaussianActivation
470
+ ### logisticActivation
469
471
 
470
472
  ```ts
471
- gaussianActivation(
473
+ logisticActivation(
472
474
  value: number,
473
475
  ): number
474
476
  ```
@@ -476,12 +478,12 @@ gaussianActivation(
476
478
  Parameters:
477
479
  - `value` - - Input value.
478
480
 
479
- Returns: Gaussian activation.
481
+ Returns: Logistic activation.
480
482
 
481
- ### bentIdentityActivation
483
+ ### reluActivation
482
484
 
483
485
  ```ts
484
- bentIdentityActivation(
486
+ reluActivation(
485
487
  value: number,
486
488
  ): number
487
489
  ```
@@ -489,12 +491,12 @@ bentIdentityActivation(
489
491
  Parameters:
490
492
  - `value` - - Input value.
491
493
 
492
- Returns: Bent identity activation.
494
+ Returns: ReLU activation.
493
495
 
494
- ### bipolarActivation
496
+ ### seluActivation
495
497
 
496
498
  ```ts
497
- bipolarActivation(
499
+ seluActivation(
498
500
  value: number,
499
501
  ): number
500
502
  ```
@@ -502,25 +504,27 @@ bipolarActivation(
502
504
  Parameters:
503
505
  - `value` - - Input value.
504
506
 
505
- Returns: Bipolar activation.
507
+ Returns: SELU activation.
506
508
 
507
- ### bipolarSigmoidActivation
509
+ ### serializeDataSet
508
510
 
509
511
  ```ts
510
- bipolarSigmoidActivation(
511
- value: number,
512
- ): number
512
+ serializeDataSet(
513
+ dataSet: { input: number[]; output: number[]; }[],
514
+ ): number[]
513
515
  ```
514
516
 
517
+ Serializes a dataset into a flat numeric array.
518
+
515
519
  Parameters:
516
- - `value` - - Input value.
520
+ - `dataSet` - - Collection of samples with input and output arrays.
517
521
 
518
- Returns: Bipolar sigmoid activation.
522
+ Returns: Flat serialized representation [inputCount, outputCount, ...samples].
519
523
 
520
- ### hardTanhActivation
524
+ ### sinusoidActivation
521
525
 
522
526
  ```ts
523
- hardTanhActivation(
527
+ sinusoidActivation(
524
528
  value: number,
525
529
  ): number
526
530
  ```
@@ -528,12 +532,12 @@ hardTanhActivation(
528
532
  Parameters:
529
533
  - `value` - - Input value.
530
534
 
531
- Returns: Hard tanh activation.
535
+ Returns: Sinusoid activation.
532
536
 
533
- ### absoluteActivation
537
+ ### softplusActivation
534
538
 
535
539
  ```ts
536
- absoluteActivation(
540
+ softplusActivation(
537
541
  value: number,
538
542
  ): number
539
543
  ```
@@ -541,12 +545,12 @@ absoluteActivation(
541
545
  Parameters:
542
546
  - `value` - - Input value.
543
547
 
544
- Returns: Absolute activation.
548
+ Returns: Softplus activation.
545
549
 
546
- ### inverseActivation
550
+ ### softsignActivation
547
551
 
548
552
  ```ts
549
- inverseActivation(
553
+ softsignActivation(
550
554
  value: number,
551
555
  ): number
552
556
  ```
@@ -554,12 +558,12 @@ inverseActivation(
554
558
  Parameters:
555
559
  - `value` - - Input value.
556
560
 
557
- Returns: Inverse activation.
561
+ Returns: Softsign activation.
558
562
 
559
- ### seluActivation
563
+ ### stepActivation
560
564
 
561
565
  ```ts
562
- seluActivation(
566
+ stepActivation(
563
567
  value: number,
564
568
  ): number
565
569
  ```
@@ -567,12 +571,12 @@ seluActivation(
567
571
  Parameters:
568
572
  - `value` - - Input value.
569
573
 
570
- Returns: SELU activation.
574
+ Returns: Step activation.
571
575
 
572
- ### softplusActivation
576
+ ### tanhActivation
573
577
 
574
578
  ```ts
575
- softplusActivation(
579
+ tanhActivation(
576
580
  value: number,
577
581
  ): number
578
582
  ```
@@ -580,7 +584,7 @@ softplusActivation(
580
584
  Parameters:
581
585
  - `value` - - Input value.
582
586
 
583
- Returns: Softplus activation.
587
+ Returns: Hyperbolic tangent activation.
584
588
 
585
589
  ### testSerializedSet
586
590
 
@@ -606,7 +610,3 @@ Parameters:
606
610
  - `activationFunctions` - - Activation functions to apply.
607
611
 
608
612
  Returns: Average cost or NaN when invalid input.
609
-
610
- ### ACTIVATION_FUNCTIONS
611
-
612
- Returns: Activation functions ordered for serialization compatibility.
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## multithreading/workers/browser/testworker.ts
4
4
 
5
+ ### CostFunction
6
+
7
+ Interface for cost function used in worker evaluation.
8
+
9
+ ### SerializableNetwork
10
+
11
+ Interface for serializable network used in worker evaluation.
12
+
5
13
  ### TestWorker
6
14
 
7
15
  TestWorker class for handling network evaluations in a browser environment using Web Workers.
@@ -41,11 +49,3 @@ terminate(): void
41
49
  ```
42
50
 
43
51
  Terminates the worker process and revokes the object URL.
44
-
45
- ### SerializableNetwork
46
-
47
- Interface for serializable network used in worker evaluation.
48
-
49
- ### CostFunction
50
-
51
- Interface for cost function used in worker evaluation.
@@ -14,6 +14,14 @@ Interface for messages sent to the worker process.
14
14
 
15
15
  ## multithreading/workers/node/testworker.ts
16
16
 
17
+ ### CostFunction
18
+
19
+ Interface for cost function used in worker evaluation.
20
+
21
+ ### SerializableNetwork
22
+
23
+ Interface for serializable network used in worker evaluation.
24
+
17
25
  ### TestWorker
18
26
 
19
27
  TestWorker class for handling network evaluations in a Node.js environment using Worker Threads.
@@ -78,11 +86,3 @@ Example:
78
86
  const worker = new TestWorker([0, 1, 2], { name: 'mse' });
79
87
  // ...use worker.evaluate(...) as needed
80
88
  worker.terminate();
81
-
82
- ### SerializableNetwork
83
-
84
- Interface for serializable network used in worker evaluation.
85
-
86
- ### CostFunction
87
-
88
- Interface for cost function used in worker evaluation.