juniper-cascor 0.3.17__tar.gz

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 (177) hide show
  1. juniper_cascor-0.3.17/LICENSE +7 -0
  2. juniper_cascor-0.3.17/PKG-INFO +224 -0
  3. juniper_cascor-0.3.17/README.md +185 -0
  4. juniper_cascor-0.3.17/juniper_cascor/__init__.py +4 -0
  5. juniper_cascor-0.3.17/juniper_cascor.egg-info/PKG-INFO +224 -0
  6. juniper_cascor-0.3.17/juniper_cascor.egg-info/SOURCES.txt +175 -0
  7. juniper_cascor-0.3.17/juniper_cascor.egg-info/dependency_links.txt +1 -0
  8. juniper_cascor-0.3.17/juniper_cascor.egg-info/requires.txt +35 -0
  9. juniper_cascor-0.3.17/juniper_cascor.egg-info/top_level.txt +22 -0
  10. juniper_cascor-0.3.17/pyproject.toml +202 -0
  11. juniper_cascor-0.3.17/scripts/check_doc_links.py +299 -0
  12. juniper_cascor-0.3.17/setup.cfg +4 -0
  13. juniper_cascor-0.3.17/src/__init__.py +0 -0
  14. juniper_cascor-0.3.17/src/api/__init__.py +1 -0
  15. juniper_cascor-0.3.17/src/api/app.py +126 -0
  16. juniper_cascor-0.3.17/src/api/lifecycle/__init__.py +1 -0
  17. juniper_cascor-0.3.17/src/api/lifecycle/manager.py +579 -0
  18. juniper_cascor-0.3.17/src/api/lifecycle/monitor.py +224 -0
  19. juniper_cascor-0.3.17/src/api/lifecycle/state_machine.py +220 -0
  20. juniper_cascor-0.3.17/src/api/models/__init__.py +1 -0
  21. juniper_cascor-0.3.17/src/api/models/common.py +59 -0
  22. juniper_cascor-0.3.17/src/api/models/network.py +30 -0
  23. juniper_cascor-0.3.17/src/api/models/training.py +42 -0
  24. juniper_cascor-0.3.17/src/api/routes/__init__.py +1 -0
  25. juniper_cascor-0.3.17/src/api/routes/dataset.py +21 -0
  26. juniper_cascor-0.3.17/src/api/routes/decision_boundary.py +35 -0
  27. juniper_cascor-0.3.17/src/api/routes/health.py +46 -0
  28. juniper_cascor-0.3.17/src/api/routes/metrics.py +33 -0
  29. juniper_cascor-0.3.17/src/api/routes/network.py +67 -0
  30. juniper_cascor-0.3.17/src/api/routes/training.py +144 -0
  31. juniper_cascor-0.3.17/src/api/settings.py +56 -0
  32. juniper_cascor-0.3.17/src/api/websocket/__init__.py +14 -0
  33. juniper_cascor-0.3.17/src/api/websocket/control_stream.py +89 -0
  34. juniper_cascor-0.3.17/src/api/websocket/manager.py +120 -0
  35. juniper_cascor-0.3.17/src/api/websocket/messages.py +81 -0
  36. juniper_cascor-0.3.17/src/api/websocket/training_stream.py +57 -0
  37. juniper_cascor-0.3.17/src/backups/test_hdf5_serialization-1.py +278 -0
  38. juniper_cascor-0.3.17/src/backups/test_hdf5_serialization.py +326 -0
  39. juniper_cascor-0.3.17/src/candidate_unit/__init__.py +17 -0
  40. juniper_cascor-0.3.17/src/candidate_unit/candidate_unit.py +1592 -0
  41. juniper_cascor-0.3.17/src/cascade_correlation/__init__.py +17 -0
  42. juniper_cascor-0.3.17/src/cascade_correlation/backups/cascade_correlation-ORIG.py +3579 -0
  43. juniper_cascor-0.3.17/src/cascade_correlation/backups/cascade_correlation_fix.py +352 -0
  44. juniper_cascor-0.3.17/src/cascade_correlation/backups/verify_local_and_remote_multiprocessing-OLD.py +696 -0
  45. juniper_cascor-0.3.17/src/cascade_correlation/backups/verify_local_multiprocessing.py +85 -0
  46. juniper_cascor-0.3.17/src/cascade_correlation/backups/verify_remote_multiprocessing.py +469 -0
  47. juniper_cascor-0.3.17/src/cascade_correlation/cascade_correlation.py +4214 -0
  48. juniper_cascor-0.3.17/src/cascade_correlation/cascade_correlation_config/__init__.py +17 -0
  49. juniper_cascor-0.3.17/src/cascade_correlation/cascade_correlation_config/cascade_correlation_config.py +261 -0
  50. juniper_cascor-0.3.17/src/cascade_correlation/cascade_correlation_exceptions/__init__.py +17 -0
  51. juniper_cascor-0.3.17/src/cascade_correlation/cascade_correlation_exceptions/cascade_correlation_exceptions.py +73 -0
  52. juniper_cascor-0.3.17/src/cascor_constants/__init__.py +20 -0
  53. juniper_cascor-0.3.17/src/cascor_constants/constants.py +1092 -0
  54. juniper_cascor-0.3.17/src/cascor_constants/constants_activation/__init__.py +17 -0
  55. juniper_cascor-0.3.17/src/cascor_constants/constants_activation/constants_activation.py +117 -0
  56. juniper_cascor-0.3.17/src/cascor_constants/constants_candidates/__init__.py +17 -0
  57. juniper_cascor-0.3.17/src/cascor_constants/constants_candidates/constants_candidates.py +417 -0
  58. juniper_cascor-0.3.17/src/cascor_constants/constants_hdf5/__init__.py +17 -0
  59. juniper_cascor-0.3.17/src/cascor_constants/constants_hdf5/constants_hdf5.py +73 -0
  60. juniper_cascor-0.3.17/src/cascor_constants/constants_logging/__init__.py +17 -0
  61. juniper_cascor-0.3.17/src/cascor_constants/constants_logging/constants_logging.py +272 -0
  62. juniper_cascor-0.3.17/src/cascor_constants/constants_model/__init__.py +17 -0
  63. juniper_cascor-0.3.17/src/cascor_constants/constants_model/constants_model.py +586 -0
  64. juniper_cascor-0.3.17/src/cascor_constants/constants_problem/__init__.py +17 -0
  65. juniper_cascor-0.3.17/src/cascor_constants/constants_problem/constants_problem.py +870 -0
  66. juniper_cascor-0.3.17/src/cascor_plotter/__init__.py +17 -0
  67. juniper_cascor-0.3.17/src/cascor_plotter/cascor_plotter.py +298 -0
  68. juniper_cascor-0.3.17/src/log_config/__init__.py +17 -0
  69. juniper_cascor-0.3.17/src/log_config/log_config.py +689 -0
  70. juniper_cascor-0.3.17/src/log_config/logger/__init__.py +17 -0
  71. juniper_cascor-0.3.17/src/log_config/logger/logger.py +1274 -0
  72. juniper_cascor-0.3.17/src/main.py +371 -0
  73. juniper_cascor-0.3.17/src/profiling/__init__.py +26 -0
  74. juniper_cascor-0.3.17/src/profiling/deterministic.py +238 -0
  75. juniper_cascor-0.3.17/src/profiling/logging_utils.py +251 -0
  76. juniper_cascor-0.3.17/src/profiling/memory.py +288 -0
  77. juniper_cascor-0.3.17/src/remote_client/__init__.py +17 -0
  78. juniper_cascor-0.3.17/src/remote_client/remote_client.py +151 -0
  79. juniper_cascor-0.3.17/src/remote_client/remote_client_0.py +157 -0
  80. juniper_cascor-0.3.17/src/server.py +29 -0
  81. juniper_cascor-0.3.17/src/snapshots/__init__.py +0 -0
  82. juniper_cascor-0.3.17/src/snapshots/snapshot_cli.py +315 -0
  83. juniper_cascor-0.3.17/src/snapshots/snapshot_common.py +269 -0
  84. juniper_cascor-0.3.17/src/snapshots/snapshot_serializer.py +1183 -0
  85. juniper_cascor-0.3.17/src/snapshots/snapshot_utils.py +323 -0
  86. juniper_cascor-0.3.17/src/spiral_problem/__init__.py +17 -0
  87. juniper_cascor-0.3.17/src/spiral_problem/check.py +600 -0
  88. juniper_cascor-0.3.17/src/spiral_problem/data_provider.py +204 -0
  89. juniper_cascor-0.3.17/src/spiral_problem/spiral_problem.py +1637 -0
  90. juniper_cascor-0.3.17/src/tests/conftest.py +707 -0
  91. juniper_cascor-0.3.17/src/tests/helpers/assertions.py +331 -0
  92. juniper_cascor-0.3.17/src/tests/helpers/utilities.py +350 -0
  93. juniper_cascor-0.3.17/src/tests/integration/api/conftest.py +9 -0
  94. juniper_cascor-0.3.17/src/tests/integration/api/test_api_full_lifecycle.py +212 -0
  95. juniper_cascor-0.3.17/src/tests/integration/api/test_websocket_streaming.py +119 -0
  96. juniper_cascor-0.3.17/src/tests/integration/test_comprehensive_serialization.py +423 -0
  97. juniper_cascor-0.3.17/src/tests/integration/test_juniper_data_e2e.py +266 -0
  98. juniper_cascor-0.3.17/src/tests/integration/test_serialization.py +608 -0
  99. juniper_cascor-0.3.17/src/tests/integration/test_spiral_problem.py +401 -0
  100. juniper_cascor-0.3.17/src/tests/mocks/mock_candidate.py +343 -0
  101. juniper_cascor-0.3.17/src/tests/unit/api/test_api_app.py +67 -0
  102. juniper_cascor-0.3.17/src/tests/unit/api/test_api_health.py +88 -0
  103. juniper_cascor-0.3.17/src/tests/unit/api/test_api_routes.py +167 -0
  104. juniper_cascor-0.3.17/src/tests/unit/api/test_api_settings.py +43 -0
  105. juniper_cascor-0.3.17/src/tests/unit/api/test_dataset_route.py +57 -0
  106. juniper_cascor-0.3.17/src/tests/unit/api/test_decision_boundary_route.py +72 -0
  107. juniper_cascor-0.3.17/src/tests/unit/api/test_lifecycle_manager.py +249 -0
  108. juniper_cascor-0.3.17/src/tests/unit/api/test_lifecycle_manager_coverage.py +380 -0
  109. juniper_cascor-0.3.17/src/tests/unit/api/test_lifecycle_monitor.py +247 -0
  110. juniper_cascor-0.3.17/src/tests/unit/api/test_lifecycle_state_machine.py +183 -0
  111. juniper_cascor-0.3.17/src/tests/unit/api/test_metrics_routes.py +61 -0
  112. juniper_cascor-0.3.17/src/tests/unit/api/test_monitoring_hooks.py +136 -0
  113. juniper_cascor-0.3.17/src/tests/unit/api/test_network_route_coverage.py +88 -0
  114. juniper_cascor-0.3.17/src/tests/unit/api/test_training_route_coverage.py +264 -0
  115. juniper_cascor-0.3.17/src/tests/unit/api/test_websocket_control.py +106 -0
  116. juniper_cascor-0.3.17/src/tests/unit/api/test_websocket_manager.py +169 -0
  117. juniper_cascor-0.3.17/src/tests/unit/api/test_websocket_messages.py +90 -0
  118. juniper_cascor-0.3.17/src/tests/unit/api/test_websocket_training_stream.py +58 -0
  119. juniper_cascor-0.3.17/src/tests/unit/test_accuracy.py +408 -0
  120. juniper_cascor-0.3.17/src/tests/unit/test_activation_with_derivative.py +265 -0
  121. juniper_cascor-0.3.17/src/tests/unit/test_candidate_seed_diversity.py +113 -0
  122. juniper_cascor-0.3.17/src/tests/unit/test_candidate_training_manager.py +162 -0
  123. juniper_cascor-0.3.17/src/tests/unit/test_candidate_unit_coverage.py +339 -0
  124. juniper_cascor-0.3.17/src/tests/unit/test_candidate_unit_extended.py +409 -0
  125. juniper_cascor-0.3.17/src/tests/unit/test_cascade_correlation_coverage.py +419 -0
  126. juniper_cascor-0.3.17/src/tests/unit/test_cascade_correlation_coverage_90.py +919 -0
  127. juniper_cascor-0.3.17/src/tests/unit/test_cascade_correlation_coverage_extended.py +1158 -0
  128. juniper_cascor-0.3.17/src/tests/unit/test_cascor_fix.py +174 -0
  129. juniper_cascor-0.3.17/src/tests/unit/test_cascor_getters_setters.py +369 -0
  130. juniper_cascor-0.3.17/src/tests/unit/test_cascor_plotter_coverage.py +235 -0
  131. juniper_cascor-0.3.17/src/tests/unit/test_cascor_plotter_extended.py +259 -0
  132. juniper_cascor-0.3.17/src/tests/unit/test_config_and_exceptions.py +241 -0
  133. juniper_cascor-0.3.17/src/tests/unit/test_config_pickle_coverage.py +92 -0
  134. juniper_cascor-0.3.17/src/tests/unit/test_critical_fixes.py +197 -0
  135. juniper_cascor-0.3.17/src/tests/unit/test_data/generators.py +353 -0
  136. juniper_cascor-0.3.17/src/tests/unit/test_data_provider_coverage.py +303 -0
  137. juniper_cascor-0.3.17/src/tests/unit/test_final.py +73 -0
  138. juniper_cascor-0.3.17/src/tests/unit/test_forward_pass.py +347 -0
  139. juniper_cascor-0.3.17/src/tests/unit/test_hdf5.py +138 -0
  140. juniper_cascor-0.3.17/src/tests/unit/test_juniper_data_client.py +115 -0
  141. juniper_cascor-0.3.17/src/tests/unit/test_log_config_coverage.py +714 -0
  142. juniper_cascor-0.3.17/src/tests/unit/test_logger_coverage.py +723 -0
  143. juniper_cascor-0.3.17/src/tests/unit/test_logger_extended.py +569 -0
  144. juniper_cascor-0.3.17/src/tests/unit/test_logging_utils_extended.py +258 -0
  145. juniper_cascor-0.3.17/src/tests/unit/test_main_coverage.py +333 -0
  146. juniper_cascor-0.3.17/src/tests/unit/test_main_profiling_coverage.py +146 -0
  147. juniper_cascor-0.3.17/src/tests/unit/test_network_methods_extended.py +329 -0
  148. juniper_cascor-0.3.17/src/tests/unit/test_p1_fixes.py +270 -0
  149. juniper_cascor-0.3.17/src/tests/unit/test_plotter_coverage.py +182 -0
  150. juniper_cascor-0.3.17/src/tests/unit/test_profiling_extended.py +667 -0
  151. juniper_cascor-0.3.17/src/tests/unit/test_profiling_module.py +345 -0
  152. juniper_cascor-0.3.17/src/tests/unit/test_quick.py +67 -0
  153. juniper_cascor-0.3.17/src/tests/unit/test_remote_client_0_extended.py +271 -0
  154. juniper_cascor-0.3.17/src/tests/unit/test_remote_client_coverage.py +539 -0
  155. juniper_cascor-0.3.17/src/tests/unit/test_residual_error.py +374 -0
  156. juniper_cascor-0.3.17/src/tests/unit/test_server_coverage.py +75 -0
  157. juniper_cascor-0.3.17/src/tests/unit/test_snapshot_cli_coverage.py +657 -0
  158. juniper_cascor-0.3.17/src/tests/unit/test_snapshot_common_coverage.py +452 -0
  159. juniper_cascor-0.3.17/src/tests/unit/test_snapshot_common_extended.py +229 -0
  160. juniper_cascor-0.3.17/src/tests/unit/test_snapshot_serializer.py +275 -0
  161. juniper_cascor-0.3.17/src/tests/unit/test_snapshot_serializer_coverage.py +589 -0
  162. juniper_cascor-0.3.17/src/tests/unit/test_snapshot_serializer_extended.py +515 -0
  163. juniper_cascor-0.3.17/src/tests/unit/test_snapshot_utils_extended.py +487 -0
  164. juniper_cascor-0.3.17/src/tests/unit/test_spiral_check_coverage.py +730 -0
  165. juniper_cascor-0.3.17/src/tests/unit/test_spiral_data_provider.py +607 -0
  166. juniper_cascor-0.3.17/src/tests/unit/test_spiral_problem_coverage.py +128 -0
  167. juniper_cascor-0.3.17/src/tests/unit/test_spiral_problem_extended.py +344 -0
  168. juniper_cascor-0.3.17/src/tests/unit/test_spiral_problem_juniper_data_integration.py +157 -0
  169. juniper_cascor-0.3.17/src/tests/unit/test_training_workflow.py +307 -0
  170. juniper_cascor-0.3.17/src/tests/unit/test_utils_coverage.py +518 -0
  171. juniper_cascor-0.3.17/src/tests/unit/test_utils_extended.py +409 -0
  172. juniper_cascor-0.3.17/src/utils/__init__.py +0 -0
  173. juniper_cascor-0.3.17/src/utils/utils.py +263 -0
  174. juniper_cascor-0.3.17/util/box_drawing_lookup.py +957 -0
  175. juniper_cascor-0.3.17/util/display_object_attributes.py +41 -0
  176. juniper_cascor-0.3.17/util/new_random_seed.py +81 -0
  177. juniper_cascor-0.3.17/util/pytest_setup.py +54 -0
@@ -0,0 +1,7 @@
1
+ Copyright 2024, 2025 Paul Calnon
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,224 @@
1
+ Metadata-Version: 2.4
2
+ Name: juniper-cascor
3
+ Version: 0.3.17
4
+ Summary: Cascade Correlation Neural Network implementation for the Juniper project
5
+ Author: Paul Calnon
6
+ License: MIT
7
+ Requires-Python: >=3.11
8
+ Description-Content-Type: text/markdown
9
+ License-File: LICENSE
10
+ Requires-Dist: numpy>=1.24.0
11
+ Requires-Dist: pydantic>=2.0.0
12
+ Requires-Dist: sentry-sdk>=2.0.0
13
+ Requires-Dist: python-dotenv>=1.0.0
14
+ Provides-Extra: ml
15
+ Requires-Dist: torch>=2.0.0; extra == "ml"
16
+ Requires-Dist: h5py>=3.0.0; extra == "ml"
17
+ Requires-Dist: matplotlib>=3.5.0; extra == "ml"
18
+ Requires-Dist: PyYAML>=6.0; extra == "ml"
19
+ Provides-Extra: juniper-data
20
+ Requires-Dist: juniper-data-client>=0.3.0; python_version >= "3.12" and extra == "juniper-data"
21
+ Provides-Extra: api
22
+ Requires-Dist: fastapi>=0.100.0; extra == "api"
23
+ Requires-Dist: uvicorn[standard]>=0.20.0; extra == "api"
24
+ Requires-Dist: pydantic-settings>=2.0.0; extra == "api"
25
+ Provides-Extra: test
26
+ Requires-Dist: pytest>=6.0; extra == "test"
27
+ Requires-Dist: pytest-asyncio>=0.21.0; extra == "test"
28
+ Requires-Dist: pytest-cov; extra == "test"
29
+ Requires-Dist: pytest-timeout; extra == "test"
30
+ Requires-Dist: pytest-xdist; extra == "test"
31
+ Requires-Dist: coverage[toml]; extra == "test"
32
+ Requires-Dist: dill>=0.3.6; extra == "test"
33
+ Requires-Dist: responses>=0.23.0; extra == "test"
34
+ Requires-Dist: httpx>=0.24.0; extra == "test"
35
+ Requires-Dist: psutil>=5.9.0; extra == "test"
36
+ Provides-Extra: all
37
+ Requires-Dist: juniper-cascor[api,juniper-data,ml,test]; extra == "all"
38
+ Dynamic: license-file
39
+
40
+ # Juniper: Dynamic Neural Network Research Platform
41
+
42
+ [![CI/CD Pipeline](https://github.com/pcalnon/juniper-cascor/actions/workflows/ci.yml/badge.svg)](https://github.com/pcalnon/juniper-cascor/actions/workflows/ci.yml)
43
+
44
+ **Version**: 0.6.3 | [Changelog](CHANGELOG.md) | [Full Documentation](docs/DOCUMENTATION_OVERVIEW.md)
45
+
46
+ Juniper is an AI/ML research platform for investigating dynamic neural network architectures and novel learning paradigms. The project emphasizes ground-up implementations from primary literature, enabling a more transparent exploration of fundamental algorithms.
47
+
48
+ ## Ecosystem Compatibility
49
+
50
+ This service is part of the [Juniper](https://github.com/pcalnon/juniper-ml) ecosystem.
51
+ Verified compatible versions:
52
+
53
+ | juniper-data | juniper-cascor | juniper-canopy | data-client | cascor-client | cascor-worker |
54
+ |---|---|---|---|---|---|
55
+ | 0.4.x | 0.3.x | 0.2.x | >=0.3.1 | >=0.1.0 | >=0.1.0 |
56
+
57
+ For full-stack Docker deployment and integration tests, see [juniper-deploy](https://github.com/pcalnon/juniper-deploy).
58
+
59
+ ## Architecture
60
+
61
+ JuniperCascor is the **training service** of the Juniper ecosystem. It depends on JuniperData for datasets and is monitored by juniper-canopy in real-time.
62
+
63
+ ```
64
+ ┌─────────────────────┐ REST+WS ┌──────────────────────┐
65
+ │ juniper-canopy │ ◄──────────────► │ JuniperCascor │
66
+ │ Dashboard │ │ Training Svc │
67
+ │ Port 8050 │ │ Port 8200 ◄── here │
68
+ └──────────┬──────────┘ └──────────┬───────────┘
69
+ │ REST │ REST
70
+ ▼ ▼
71
+ ┌──────────────────────────────────────────────────────────────┐
72
+ │ JuniperData │
73
+ │ Dataset Service · Port 8100 │
74
+ └──────────────────────────────────────────────────────────────┘
75
+ ```
76
+
77
+ **API**: REST + WebSocket (`/ws/training`, `/ws/control`). All responses use a `{status, data, meta}` envelope.
78
+
79
+ ## Related Services
80
+
81
+ | Service | Relationship | Notes |
82
+ |---------|-------------|-------|
83
+ | [juniper-data](https://github.com/pcalnon/juniper-data) | JuniperCascor fetches datasets from here | Set `JUNIPER_DATA_URL` |
84
+ | [juniper-canopy](https://github.com/pcalnon/juniper-canopy) | Monitors CasCor training in real-time | Connects to `/ws/training` |
85
+ | [juniper-cascor-client](https://github.com/pcalnon/juniper-cascor-client) | PyPI REST+WS client library | `pip install juniper-cascor-client` |
86
+
87
+ ### Service Configuration
88
+
89
+ | Variable | Required | Default | Description |
90
+ |----------|----------|---------|-------------|
91
+ | `JUNIPER_DATA_URL` | Yes | `http://localhost:8100` | JuniperData service URL |
92
+ | `CASCOR_HOST` | No | `0.0.0.0` | Listen address |
93
+ | `CASCOR_PORT` | No | `8200` | Service port |
94
+ | `CASCOR_LOG_LEVEL` | No | `INFO` | Log verbosity (`DEBUG`, `INFO`, `WARNING`) |
95
+
96
+ ### Docker Deployment
97
+
98
+ ```bash
99
+ # Standalone:
100
+ docker build -t juniper-cascor:latest .
101
+ docker run -p 8200:8200 -e JUNIPER_DATA_URL=http://host.docker.internal:8100 juniper-cascor:latest
102
+
103
+ # Full stack:
104
+ git clone https://github.com/pcalnon/juniper-deploy.git
105
+ cd juniper-deploy && docker compose up --build
106
+ ```
107
+
108
+ ## Quick Start
109
+
110
+ ### Prerequisites
111
+
112
+ - Python 3.11 or later (3.14 recommended)
113
+ - Conda package manager
114
+
115
+ ### Installation
116
+
117
+ ```bash
118
+ # Clone the repository
119
+ git clone https://github.com/pcalnon/juniper-cascor.git
120
+ cd juniper-cascor
121
+
122
+ # Create and activate conda environment
123
+ conda env create -f conf/conda_environment.yaml
124
+ conda activate juniper_cascor
125
+
126
+ # Run the spiral problem evaluation
127
+ cd src && python main.py
128
+ ```
129
+
130
+ ### Run Tests
131
+
132
+ ```bash
133
+ # Fast tests (recommended for development)
134
+ cd src/tests && bash scripts/run_tests.bash
135
+
136
+ # Or using pytest directly
137
+ pytest -m "not slow" -v
138
+ ```
139
+
140
+ For detailed installation instructions, see the [Quick Start Guide](docs/install/quick-start.md).
141
+
142
+ ## Active Research Components
143
+
144
+ **juniper_cascor**: Cascade Correlation Neural Network
145
+
146
+ - Reference implementation from foundational research (Fahlman & Lebiere, 1990)
147
+ - Designed for flexibility, modularity, and scalability
148
+ - Enables investigation of constructive learning algorithms
149
+
150
+ **juniper_canopy**: Interactive Research Interface
151
+
152
+ - Research-driven monitoring and visualization environment
153
+ - Delivers novel observations through real-time network introspection
154
+ - Transforms metrics into insights, accelerating experimental iteration
155
+
156
+ ## Documentation
157
+
158
+ | Category | Description |
159
+ | -------------------------------------------------------- | ------------------------------------- |
160
+ | [Documentation Overview](docs/DOCUMENTATION_OVERVIEW.md) | Complete navigation guide to all docs |
161
+ | [Documentation Index](docs/index.md) | Quick documentation index |
162
+ | [Quick Start](docs/install/quick-start.md) | Get up and running quickly |
163
+ | [User Manual](docs/install/user-manual.md) | Comprehensive usage guide |
164
+ | [API Reference](docs/api/api-reference.md) | Complete API documentation |
165
+ | [Testing Guide](docs/testing/quick-start.md) | Testing instructions |
166
+ | [CI/CD Guide](docs/ci/quick-start.md) | Continuous integration |
167
+ | [Source Code Guide](docs/source/quick-start.md) | Contributor documentation |
168
+ | [Constants Reference](docs/overview/constants-guide.md) | Configuration constants |
169
+
170
+ ## Basic Usage
171
+
172
+ ```python
173
+ from cascade_correlation.cascade_correlation import CascadeCorrelationNetwork
174
+ from cascade_correlation.cascade_correlation_config.cascade_correlation_config import CascadeCorrelationConfig
175
+ import torch
176
+
177
+ # Create configuration
178
+ config = CascadeCorrelationConfig(
179
+ input_size=2,
180
+ output_size=2,
181
+ random_seed=42
182
+ )
183
+
184
+ # Create and train network
185
+ network = CascadeCorrelationNetwork(config=config)
186
+ history = network.fit(x_train, y_train, epochs=100)
187
+
188
+ # Evaluate
189
+ accuracy = network.get_accuracy(x_test, y_test)
190
+ print(f"Test accuracy: {accuracy:.2%}")
191
+
192
+ # Save/Load
193
+ network.save_to_hdf5("model.h5")
194
+ loaded = CascadeCorrelationNetwork.load_from_hdf5("model.h5")
195
+ ```
196
+
197
+ ## Research Philosophy
198
+
199
+ Juniper prioritizes **transparency over convenience** and **understanding over abstraction**. By implementing algorithms from first principles, the platform provides researchers with increased visibility into network behavior, enabling a more rigorous and more controlled investigation of learning dynamics and architectural innovations.
200
+
201
+ ## Important Notices
202
+
203
+ ### Thread Safety Warning
204
+
205
+ **The `CascadeCorrelationNetwork` class is NOT thread-safe.** Do not share network instances between threads without proper synchronization. For concurrent training scenarios, create separate network instances per thread. The internal multiprocessing for candidate training is handled within the class and does not require external synchronization.
206
+
207
+ ## Juniper Ecosystem
208
+
209
+ | Repository | Description |
210
+ |-----------|-------------|
211
+ | [juniper-cascor](https://github.com/pcalnon/juniper-cascor) | CasCor neural network training service (this repo) |
212
+ | [juniper-canopy](https://github.com/pcalnon/juniper-canopy) | Real-time monitoring dashboard |
213
+ | [juniper-data](https://github.com/pcalnon/juniper-data) | Dataset generation service |
214
+ | [juniper-data-client](https://github.com/pcalnon/juniper-data-client) | PyPI: `juniper-data-client` |
215
+ | [juniper-cascor-client](https://github.com/pcalnon/juniper-cascor-client) | PyPI: `juniper-cascor-client` |
216
+ | [juniper-cascor-worker](https://github.com/pcalnon/juniper-cascor-worker) | PyPI: `juniper-cascor-worker` |
217
+
218
+ ## License
219
+
220
+ MIT License - see [LICENSE](LICENSE) for details.
221
+
222
+ ## Contributing
223
+
224
+ Contributions are welcome. Please see the [Source Code Guide](docs/source/quick-start.md) for development setup and coding conventions.
@@ -0,0 +1,185 @@
1
+ # Juniper: Dynamic Neural Network Research Platform
2
+
3
+ [![CI/CD Pipeline](https://github.com/pcalnon/juniper-cascor/actions/workflows/ci.yml/badge.svg)](https://github.com/pcalnon/juniper-cascor/actions/workflows/ci.yml)
4
+
5
+ **Version**: 0.6.3 | [Changelog](CHANGELOG.md) | [Full Documentation](docs/DOCUMENTATION_OVERVIEW.md)
6
+
7
+ Juniper is an AI/ML research platform for investigating dynamic neural network architectures and novel learning paradigms. The project emphasizes ground-up implementations from primary literature, enabling a more transparent exploration of fundamental algorithms.
8
+
9
+ ## Ecosystem Compatibility
10
+
11
+ This service is part of the [Juniper](https://github.com/pcalnon/juniper-ml) ecosystem.
12
+ Verified compatible versions:
13
+
14
+ | juniper-data | juniper-cascor | juniper-canopy | data-client | cascor-client | cascor-worker |
15
+ |---|---|---|---|---|---|
16
+ | 0.4.x | 0.3.x | 0.2.x | >=0.3.1 | >=0.1.0 | >=0.1.0 |
17
+
18
+ For full-stack Docker deployment and integration tests, see [juniper-deploy](https://github.com/pcalnon/juniper-deploy).
19
+
20
+ ## Architecture
21
+
22
+ JuniperCascor is the **training service** of the Juniper ecosystem. It depends on JuniperData for datasets and is monitored by juniper-canopy in real-time.
23
+
24
+ ```
25
+ ┌─────────────────────┐ REST+WS ┌──────────────────────┐
26
+ │ juniper-canopy │ ◄──────────────► │ JuniperCascor │
27
+ │ Dashboard │ │ Training Svc │
28
+ │ Port 8050 │ │ Port 8200 ◄── here │
29
+ └──────────┬──────────┘ └──────────┬───────────┘
30
+ │ REST │ REST
31
+ ▼ ▼
32
+ ┌──────────────────────────────────────────────────────────────┐
33
+ │ JuniperData │
34
+ │ Dataset Service · Port 8100 │
35
+ └──────────────────────────────────────────────────────────────┘
36
+ ```
37
+
38
+ **API**: REST + WebSocket (`/ws/training`, `/ws/control`). All responses use a `{status, data, meta}` envelope.
39
+
40
+ ## Related Services
41
+
42
+ | Service | Relationship | Notes |
43
+ |---------|-------------|-------|
44
+ | [juniper-data](https://github.com/pcalnon/juniper-data) | JuniperCascor fetches datasets from here | Set `JUNIPER_DATA_URL` |
45
+ | [juniper-canopy](https://github.com/pcalnon/juniper-canopy) | Monitors CasCor training in real-time | Connects to `/ws/training` |
46
+ | [juniper-cascor-client](https://github.com/pcalnon/juniper-cascor-client) | PyPI REST+WS client library | `pip install juniper-cascor-client` |
47
+
48
+ ### Service Configuration
49
+
50
+ | Variable | Required | Default | Description |
51
+ |----------|----------|---------|-------------|
52
+ | `JUNIPER_DATA_URL` | Yes | `http://localhost:8100` | JuniperData service URL |
53
+ | `CASCOR_HOST` | No | `0.0.0.0` | Listen address |
54
+ | `CASCOR_PORT` | No | `8200` | Service port |
55
+ | `CASCOR_LOG_LEVEL` | No | `INFO` | Log verbosity (`DEBUG`, `INFO`, `WARNING`) |
56
+
57
+ ### Docker Deployment
58
+
59
+ ```bash
60
+ # Standalone:
61
+ docker build -t juniper-cascor:latest .
62
+ docker run -p 8200:8200 -e JUNIPER_DATA_URL=http://host.docker.internal:8100 juniper-cascor:latest
63
+
64
+ # Full stack:
65
+ git clone https://github.com/pcalnon/juniper-deploy.git
66
+ cd juniper-deploy && docker compose up --build
67
+ ```
68
+
69
+ ## Quick Start
70
+
71
+ ### Prerequisites
72
+
73
+ - Python 3.11 or later (3.14 recommended)
74
+ - Conda package manager
75
+
76
+ ### Installation
77
+
78
+ ```bash
79
+ # Clone the repository
80
+ git clone https://github.com/pcalnon/juniper-cascor.git
81
+ cd juniper-cascor
82
+
83
+ # Create and activate conda environment
84
+ conda env create -f conf/conda_environment.yaml
85
+ conda activate juniper_cascor
86
+
87
+ # Run the spiral problem evaluation
88
+ cd src && python main.py
89
+ ```
90
+
91
+ ### Run Tests
92
+
93
+ ```bash
94
+ # Fast tests (recommended for development)
95
+ cd src/tests && bash scripts/run_tests.bash
96
+
97
+ # Or using pytest directly
98
+ pytest -m "not slow" -v
99
+ ```
100
+
101
+ For detailed installation instructions, see the [Quick Start Guide](docs/install/quick-start.md).
102
+
103
+ ## Active Research Components
104
+
105
+ **juniper_cascor**: Cascade Correlation Neural Network
106
+
107
+ - Reference implementation from foundational research (Fahlman & Lebiere, 1990)
108
+ - Designed for flexibility, modularity, and scalability
109
+ - Enables investigation of constructive learning algorithms
110
+
111
+ **juniper_canopy**: Interactive Research Interface
112
+
113
+ - Research-driven monitoring and visualization environment
114
+ - Delivers novel observations through real-time network introspection
115
+ - Transforms metrics into insights, accelerating experimental iteration
116
+
117
+ ## Documentation
118
+
119
+ | Category | Description |
120
+ | -------------------------------------------------------- | ------------------------------------- |
121
+ | [Documentation Overview](docs/DOCUMENTATION_OVERVIEW.md) | Complete navigation guide to all docs |
122
+ | [Documentation Index](docs/index.md) | Quick documentation index |
123
+ | [Quick Start](docs/install/quick-start.md) | Get up and running quickly |
124
+ | [User Manual](docs/install/user-manual.md) | Comprehensive usage guide |
125
+ | [API Reference](docs/api/api-reference.md) | Complete API documentation |
126
+ | [Testing Guide](docs/testing/quick-start.md) | Testing instructions |
127
+ | [CI/CD Guide](docs/ci/quick-start.md) | Continuous integration |
128
+ | [Source Code Guide](docs/source/quick-start.md) | Contributor documentation |
129
+ | [Constants Reference](docs/overview/constants-guide.md) | Configuration constants |
130
+
131
+ ## Basic Usage
132
+
133
+ ```python
134
+ from cascade_correlation.cascade_correlation import CascadeCorrelationNetwork
135
+ from cascade_correlation.cascade_correlation_config.cascade_correlation_config import CascadeCorrelationConfig
136
+ import torch
137
+
138
+ # Create configuration
139
+ config = CascadeCorrelationConfig(
140
+ input_size=2,
141
+ output_size=2,
142
+ random_seed=42
143
+ )
144
+
145
+ # Create and train network
146
+ network = CascadeCorrelationNetwork(config=config)
147
+ history = network.fit(x_train, y_train, epochs=100)
148
+
149
+ # Evaluate
150
+ accuracy = network.get_accuracy(x_test, y_test)
151
+ print(f"Test accuracy: {accuracy:.2%}")
152
+
153
+ # Save/Load
154
+ network.save_to_hdf5("model.h5")
155
+ loaded = CascadeCorrelationNetwork.load_from_hdf5("model.h5")
156
+ ```
157
+
158
+ ## Research Philosophy
159
+
160
+ Juniper prioritizes **transparency over convenience** and **understanding over abstraction**. By implementing algorithms from first principles, the platform provides researchers with increased visibility into network behavior, enabling a more rigorous and more controlled investigation of learning dynamics and architectural innovations.
161
+
162
+ ## Important Notices
163
+
164
+ ### Thread Safety Warning
165
+
166
+ **The `CascadeCorrelationNetwork` class is NOT thread-safe.** Do not share network instances between threads without proper synchronization. For concurrent training scenarios, create separate network instances per thread. The internal multiprocessing for candidate training is handled within the class and does not require external synchronization.
167
+
168
+ ## Juniper Ecosystem
169
+
170
+ | Repository | Description |
171
+ |-----------|-------------|
172
+ | [juniper-cascor](https://github.com/pcalnon/juniper-cascor) | CasCor neural network training service (this repo) |
173
+ | [juniper-canopy](https://github.com/pcalnon/juniper-canopy) | Real-time monitoring dashboard |
174
+ | [juniper-data](https://github.com/pcalnon/juniper-data) | Dataset generation service |
175
+ | [juniper-data-client](https://github.com/pcalnon/juniper-data-client) | PyPI: `juniper-data-client` |
176
+ | [juniper-cascor-client](https://github.com/pcalnon/juniper-cascor-client) | PyPI: `juniper-cascor-client` |
177
+ | [juniper-cascor-worker](https://github.com/pcalnon/juniper-cascor-worker) | PyPI: `juniper-cascor-worker` |
178
+
179
+ ## License
180
+
181
+ MIT License - see [LICENSE](LICENSE) for details.
182
+
183
+ ## Contributing
184
+
185
+ Contributions are welcome. Please see the [Source Code Guide](docs/source/quick-start.md) for development setup and coding conventions.
@@ -0,0 +1,4 @@
1
+ """Juniper Cascor - Cascade Correlation Neural Network implementation."""
2
+
3
+ __version__ = "0.3.17"
4
+ __author__ = "Paul Calnon"
@@ -0,0 +1,224 @@
1
+ Metadata-Version: 2.4
2
+ Name: juniper-cascor
3
+ Version: 0.3.17
4
+ Summary: Cascade Correlation Neural Network implementation for the Juniper project
5
+ Author: Paul Calnon
6
+ License: MIT
7
+ Requires-Python: >=3.11
8
+ Description-Content-Type: text/markdown
9
+ License-File: LICENSE
10
+ Requires-Dist: numpy>=1.24.0
11
+ Requires-Dist: pydantic>=2.0.0
12
+ Requires-Dist: sentry-sdk>=2.0.0
13
+ Requires-Dist: python-dotenv>=1.0.0
14
+ Provides-Extra: ml
15
+ Requires-Dist: torch>=2.0.0; extra == "ml"
16
+ Requires-Dist: h5py>=3.0.0; extra == "ml"
17
+ Requires-Dist: matplotlib>=3.5.0; extra == "ml"
18
+ Requires-Dist: PyYAML>=6.0; extra == "ml"
19
+ Provides-Extra: juniper-data
20
+ Requires-Dist: juniper-data-client>=0.3.0; python_version >= "3.12" and extra == "juniper-data"
21
+ Provides-Extra: api
22
+ Requires-Dist: fastapi>=0.100.0; extra == "api"
23
+ Requires-Dist: uvicorn[standard]>=0.20.0; extra == "api"
24
+ Requires-Dist: pydantic-settings>=2.0.0; extra == "api"
25
+ Provides-Extra: test
26
+ Requires-Dist: pytest>=6.0; extra == "test"
27
+ Requires-Dist: pytest-asyncio>=0.21.0; extra == "test"
28
+ Requires-Dist: pytest-cov; extra == "test"
29
+ Requires-Dist: pytest-timeout; extra == "test"
30
+ Requires-Dist: pytest-xdist; extra == "test"
31
+ Requires-Dist: coverage[toml]; extra == "test"
32
+ Requires-Dist: dill>=0.3.6; extra == "test"
33
+ Requires-Dist: responses>=0.23.0; extra == "test"
34
+ Requires-Dist: httpx>=0.24.0; extra == "test"
35
+ Requires-Dist: psutil>=5.9.0; extra == "test"
36
+ Provides-Extra: all
37
+ Requires-Dist: juniper-cascor[api,juniper-data,ml,test]; extra == "all"
38
+ Dynamic: license-file
39
+
40
+ # Juniper: Dynamic Neural Network Research Platform
41
+
42
+ [![CI/CD Pipeline](https://github.com/pcalnon/juniper-cascor/actions/workflows/ci.yml/badge.svg)](https://github.com/pcalnon/juniper-cascor/actions/workflows/ci.yml)
43
+
44
+ **Version**: 0.6.3 | [Changelog](CHANGELOG.md) | [Full Documentation](docs/DOCUMENTATION_OVERVIEW.md)
45
+
46
+ Juniper is an AI/ML research platform for investigating dynamic neural network architectures and novel learning paradigms. The project emphasizes ground-up implementations from primary literature, enabling a more transparent exploration of fundamental algorithms.
47
+
48
+ ## Ecosystem Compatibility
49
+
50
+ This service is part of the [Juniper](https://github.com/pcalnon/juniper-ml) ecosystem.
51
+ Verified compatible versions:
52
+
53
+ | juniper-data | juniper-cascor | juniper-canopy | data-client | cascor-client | cascor-worker |
54
+ |---|---|---|---|---|---|
55
+ | 0.4.x | 0.3.x | 0.2.x | >=0.3.1 | >=0.1.0 | >=0.1.0 |
56
+
57
+ For full-stack Docker deployment and integration tests, see [juniper-deploy](https://github.com/pcalnon/juniper-deploy).
58
+
59
+ ## Architecture
60
+
61
+ JuniperCascor is the **training service** of the Juniper ecosystem. It depends on JuniperData for datasets and is monitored by juniper-canopy in real-time.
62
+
63
+ ```
64
+ ┌─────────────────────┐ REST+WS ┌──────────────────────┐
65
+ │ juniper-canopy │ ◄──────────────► │ JuniperCascor │
66
+ │ Dashboard │ │ Training Svc │
67
+ │ Port 8050 │ │ Port 8200 ◄── here │
68
+ └──────────┬──────────┘ └──────────┬───────────┘
69
+ │ REST │ REST
70
+ ▼ ▼
71
+ ┌──────────────────────────────────────────────────────────────┐
72
+ │ JuniperData │
73
+ │ Dataset Service · Port 8100 │
74
+ └──────────────────────────────────────────────────────────────┘
75
+ ```
76
+
77
+ **API**: REST + WebSocket (`/ws/training`, `/ws/control`). All responses use a `{status, data, meta}` envelope.
78
+
79
+ ## Related Services
80
+
81
+ | Service | Relationship | Notes |
82
+ |---------|-------------|-------|
83
+ | [juniper-data](https://github.com/pcalnon/juniper-data) | JuniperCascor fetches datasets from here | Set `JUNIPER_DATA_URL` |
84
+ | [juniper-canopy](https://github.com/pcalnon/juniper-canopy) | Monitors CasCor training in real-time | Connects to `/ws/training` |
85
+ | [juniper-cascor-client](https://github.com/pcalnon/juniper-cascor-client) | PyPI REST+WS client library | `pip install juniper-cascor-client` |
86
+
87
+ ### Service Configuration
88
+
89
+ | Variable | Required | Default | Description |
90
+ |----------|----------|---------|-------------|
91
+ | `JUNIPER_DATA_URL` | Yes | `http://localhost:8100` | JuniperData service URL |
92
+ | `CASCOR_HOST` | No | `0.0.0.0` | Listen address |
93
+ | `CASCOR_PORT` | No | `8200` | Service port |
94
+ | `CASCOR_LOG_LEVEL` | No | `INFO` | Log verbosity (`DEBUG`, `INFO`, `WARNING`) |
95
+
96
+ ### Docker Deployment
97
+
98
+ ```bash
99
+ # Standalone:
100
+ docker build -t juniper-cascor:latest .
101
+ docker run -p 8200:8200 -e JUNIPER_DATA_URL=http://host.docker.internal:8100 juniper-cascor:latest
102
+
103
+ # Full stack:
104
+ git clone https://github.com/pcalnon/juniper-deploy.git
105
+ cd juniper-deploy && docker compose up --build
106
+ ```
107
+
108
+ ## Quick Start
109
+
110
+ ### Prerequisites
111
+
112
+ - Python 3.11 or later (3.14 recommended)
113
+ - Conda package manager
114
+
115
+ ### Installation
116
+
117
+ ```bash
118
+ # Clone the repository
119
+ git clone https://github.com/pcalnon/juniper-cascor.git
120
+ cd juniper-cascor
121
+
122
+ # Create and activate conda environment
123
+ conda env create -f conf/conda_environment.yaml
124
+ conda activate juniper_cascor
125
+
126
+ # Run the spiral problem evaluation
127
+ cd src && python main.py
128
+ ```
129
+
130
+ ### Run Tests
131
+
132
+ ```bash
133
+ # Fast tests (recommended for development)
134
+ cd src/tests && bash scripts/run_tests.bash
135
+
136
+ # Or using pytest directly
137
+ pytest -m "not slow" -v
138
+ ```
139
+
140
+ For detailed installation instructions, see the [Quick Start Guide](docs/install/quick-start.md).
141
+
142
+ ## Active Research Components
143
+
144
+ **juniper_cascor**: Cascade Correlation Neural Network
145
+
146
+ - Reference implementation from foundational research (Fahlman & Lebiere, 1990)
147
+ - Designed for flexibility, modularity, and scalability
148
+ - Enables investigation of constructive learning algorithms
149
+
150
+ **juniper_canopy**: Interactive Research Interface
151
+
152
+ - Research-driven monitoring and visualization environment
153
+ - Delivers novel observations through real-time network introspection
154
+ - Transforms metrics into insights, accelerating experimental iteration
155
+
156
+ ## Documentation
157
+
158
+ | Category | Description |
159
+ | -------------------------------------------------------- | ------------------------------------- |
160
+ | [Documentation Overview](docs/DOCUMENTATION_OVERVIEW.md) | Complete navigation guide to all docs |
161
+ | [Documentation Index](docs/index.md) | Quick documentation index |
162
+ | [Quick Start](docs/install/quick-start.md) | Get up and running quickly |
163
+ | [User Manual](docs/install/user-manual.md) | Comprehensive usage guide |
164
+ | [API Reference](docs/api/api-reference.md) | Complete API documentation |
165
+ | [Testing Guide](docs/testing/quick-start.md) | Testing instructions |
166
+ | [CI/CD Guide](docs/ci/quick-start.md) | Continuous integration |
167
+ | [Source Code Guide](docs/source/quick-start.md) | Contributor documentation |
168
+ | [Constants Reference](docs/overview/constants-guide.md) | Configuration constants |
169
+
170
+ ## Basic Usage
171
+
172
+ ```python
173
+ from cascade_correlation.cascade_correlation import CascadeCorrelationNetwork
174
+ from cascade_correlation.cascade_correlation_config.cascade_correlation_config import CascadeCorrelationConfig
175
+ import torch
176
+
177
+ # Create configuration
178
+ config = CascadeCorrelationConfig(
179
+ input_size=2,
180
+ output_size=2,
181
+ random_seed=42
182
+ )
183
+
184
+ # Create and train network
185
+ network = CascadeCorrelationNetwork(config=config)
186
+ history = network.fit(x_train, y_train, epochs=100)
187
+
188
+ # Evaluate
189
+ accuracy = network.get_accuracy(x_test, y_test)
190
+ print(f"Test accuracy: {accuracy:.2%}")
191
+
192
+ # Save/Load
193
+ network.save_to_hdf5("model.h5")
194
+ loaded = CascadeCorrelationNetwork.load_from_hdf5("model.h5")
195
+ ```
196
+
197
+ ## Research Philosophy
198
+
199
+ Juniper prioritizes **transparency over convenience** and **understanding over abstraction**. By implementing algorithms from first principles, the platform provides researchers with increased visibility into network behavior, enabling a more rigorous and more controlled investigation of learning dynamics and architectural innovations.
200
+
201
+ ## Important Notices
202
+
203
+ ### Thread Safety Warning
204
+
205
+ **The `CascadeCorrelationNetwork` class is NOT thread-safe.** Do not share network instances between threads without proper synchronization. For concurrent training scenarios, create separate network instances per thread. The internal multiprocessing for candidate training is handled within the class and does not require external synchronization.
206
+
207
+ ## Juniper Ecosystem
208
+
209
+ | Repository | Description |
210
+ |-----------|-------------|
211
+ | [juniper-cascor](https://github.com/pcalnon/juniper-cascor) | CasCor neural network training service (this repo) |
212
+ | [juniper-canopy](https://github.com/pcalnon/juniper-canopy) | Real-time monitoring dashboard |
213
+ | [juniper-data](https://github.com/pcalnon/juniper-data) | Dataset generation service |
214
+ | [juniper-data-client](https://github.com/pcalnon/juniper-data-client) | PyPI: `juniper-data-client` |
215
+ | [juniper-cascor-client](https://github.com/pcalnon/juniper-cascor-client) | PyPI: `juniper-cascor-client` |
216
+ | [juniper-cascor-worker](https://github.com/pcalnon/juniper-cascor-worker) | PyPI: `juniper-cascor-worker` |
217
+
218
+ ## License
219
+
220
+ MIT License - see [LICENSE](LICENSE) for details.
221
+
222
+ ## Contributing
223
+
224
+ Contributions are welcome. Please see the [Source Code Guide](docs/source/quick-start.md) for development setup and coding conventions.