tensor-optix 2.1.1__tar.gz → 2.2.1__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 (225) hide show
  1. {tensor_optix-2.1.1/tensor_optix.egg-info → tensor_optix-2.2.1}/PKG-INFO +59 -1
  2. tensor_optix-2.1.1/PKG-INFO → tensor_optix-2.2.1/README.md +50 -71
  3. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/pyproject.toml +12 -1
  4. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/convergence.py +862 -862
  5. tensor_optix-2.2.1/tensor_optix/discovery/__init__.py +30 -0
  6. tensor_optix-2.2.1/tensor_optix/discovery/api.py +74 -0
  7. tensor_optix-2.2.1/tensor_optix/discovery/budget.py +110 -0
  8. tensor_optix-2.2.1/tensor_optix/discovery/build.py +32 -0
  9. tensor_optix-2.2.1/tensor_optix/discovery/findings.py +290 -0
  10. tensor_optix-2.2.1/tensor_optix/discovery/ledger_bridge.py +111 -0
  11. tensor_optix-2.2.1/tensor_optix/discovery/meta_features.py +55 -0
  12. tensor_optix-2.2.1/tensor_optix/discovery/ml/__init__.py +1 -0
  13. tensor_optix-2.2.1/tensor_optix/discovery/ml/build.py +385 -0
  14. tensor_optix-2.2.1/tensor_optix/discovery/ml/data.py +237 -0
  15. tensor_optix-2.2.1/tensor_optix/discovery/ml/evaluate.py +155 -0
  16. tensor_optix-2.2.1/tensor_optix/discovery/ml/families/base.py +118 -0
  17. tensor_optix-2.2.1/tensor_optix/discovery/ml/families/baseline.py +37 -0
  18. tensor_optix-2.2.1/tensor_optix/discovery/ml/families/boosting.py +176 -0
  19. tensor_optix-2.2.1/tensor_optix/discovery/ml/families/knn.py +69 -0
  20. tensor_optix-2.2.1/tensor_optix/discovery/ml/families/linear.py +104 -0
  21. tensor_optix-2.2.1/tensor_optix/discovery/ml/families/mlp.py +135 -0
  22. tensor_optix-2.2.1/tensor_optix/discovery/ml/families/naive_bayes.py +88 -0
  23. tensor_optix-2.2.1/tensor_optix/discovery/ml/families/native_gbdt.py +70 -0
  24. tensor_optix-2.2.1/tensor_optix/discovery/ml/families/tree.py +131 -0
  25. tensor_optix-2.2.1/tensor_optix/discovery/ml/feature_gen.py +235 -0
  26. tensor_optix-2.2.1/tensor_optix/discovery/ml/features.py +421 -0
  27. tensor_optix-2.2.1/tensor_optix/discovery/ml/landmarks.py +161 -0
  28. tensor_optix-2.2.1/tensor_optix/discovery/ml/leakage.py +203 -0
  29. tensor_optix-2.2.1/tensor_optix/discovery/ml/pipeline.py +667 -0
  30. tensor_optix-2.2.1/tensor_optix/discovery/ml/preprocess.py +415 -0
  31. tensor_optix-2.2.1/tensor_optix/discovery/ml/quality.py +138 -0
  32. tensor_optix-2.2.1/tensor_optix/discovery/ml/recommend.py +245 -0
  33. tensor_optix-2.2.1/tensor_optix/discovery/ml/shift.py +260 -0
  34. tensor_optix-2.2.1/tensor_optix/discovery/ml/splits.py +321 -0
  35. tensor_optix-2.2.1/tensor_optix/discovery/ml/structure.py +460 -0
  36. tensor_optix-2.2.1/tensor_optix/discovery/ml/target.py +197 -0
  37. tensor_optix-2.2.1/tensor_optix/discovery/ml/trials.py +150 -0
  38. tensor_optix-2.2.1/tensor_optix/discovery/ml/types.py +275 -0
  39. tensor_optix-2.2.1/tensor_optix/discovery/report/__init__.py +5 -0
  40. tensor_optix-2.2.1/tensor_optix/discovery/report/io.py +29 -0
  41. tensor_optix-2.2.1/tensor_optix/discovery/report/render.py +920 -0
  42. tensor_optix-2.2.1/tensor_optix/discovery/report/svg.py +308 -0
  43. tensor_optix-2.2.1/tensor_optix/discovery/report/template.py +336 -0
  44. tensor_optix-2.2.1/tensor_optix/discovery/rl/build.py +123 -0
  45. tensor_optix-2.2.1/tensor_optix/discovery/rl/env.py +116 -0
  46. tensor_optix-2.2.1/tensor_optix/discovery/rl/pipeline.py +424 -0
  47. tensor_optix-2.2.1/tensor_optix/discovery/rl/probes.py +319 -0
  48. tensor_optix-2.2.1/tensor_optix/discovery/rl/trials.py +150 -0
  49. tensor_optix-2.2.1/tensor_optix/discovery/rng.py +45 -0
  50. tensor_optix-2.2.1/tensor_optix/discovery/schema.py +465 -0
  51. tensor_optix-2.2.1/tensor_optix/discovery/stats/__init__.py +14 -0
  52. tensor_optix-2.2.1/tensor_optix/discovery/stats/compare.py +110 -0
  53. tensor_optix-2.2.1/tensor_optix/discovery/stats/distributions.py +217 -0
  54. tensor_optix-2.2.1/tensor_optix/discovery/stats/hypothesis.py +124 -0
  55. tensor_optix-2.2.1/tensor_optix/discovery/stats/intervals.py +148 -0
  56. tensor_optix-2.2.1/tensor_optix/discovery/stats/metrics.py +213 -0
  57. tensor_optix-2.2.1/tensor_optix/gbdt/__init__.py +16 -0
  58. tensor_optix-2.2.1/tensor_optix/gbdt/booster.py +292 -0
  59. tensor_optix-2.2.1/tensor_optix/gbdt/core.py +308 -0
  60. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/ml_core/__init__.py +53 -53
  61. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/ml_core/base_model.py +12 -1
  62. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/ml_core/metrics.py +201 -201
  63. tensor_optix-2.2.1/tensor_optix/ml_core/metrics_impl/__init__.py +0 -0
  64. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/ml_core/trainer.py +57 -19
  65. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/neuroevo/controller/topology_controller.py +761 -761
  66. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/runtime/observer.py +121 -121
  67. tensor_optix-2.1.1/README.md → tensor_optix-2.2.1/tensor_optix.egg-info/PKG-INFO +129 -0
  68. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix.egg-info/SOURCES.txt +56 -0
  69. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix.egg-info/requires.txt +10 -0
  70. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/setup.cfg +0 -0
  71. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/__init__.py +0 -0
  72. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/adapters/__init__.py +0 -0
  73. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/adapters/jax/__init__.py +0 -0
  74. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/adapters/jax/flax_agent.py +0 -0
  75. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/adapters/jax/flax_evaluator.py +0 -0
  76. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/adapters/pytorch/__init__.py +0 -0
  77. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/adapters/pytorch/torch_agent.py +0 -0
  78. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/adapters/pytorch/torch_evaluator.py +0 -0
  79. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/adapters/tensorflow/__init__.py +0 -0
  80. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/adapters/tensorflow/tf_agent.py +0 -0
  81. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/adapters/tensorflow/tf_evaluator.py +0 -0
  82. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/algorithms/__init__.py +0 -0
  83. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/algorithms/flax_ppo.py +0 -0
  84. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/algorithms/tf_dqn.py +0 -0
  85. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/algorithms/tf_ppo.py +0 -0
  86. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/algorithms/tf_ppo_continuous.py +0 -0
  87. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/algorithms/tf_sac.py +0 -0
  88. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/algorithms/tf_td3.py +0 -0
  89. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/algorithms/torch_dqn.py +0 -0
  90. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/algorithms/torch_ppo.py +0 -0
  91. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/algorithms/torch_ppo_continuous.py +0 -0
  92. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/algorithms/torch_rainbow_dqn.py +0 -0
  93. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/algorithms/torch_recurrent_ppo.py +0 -0
  94. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/algorithms/torch_sac.py +0 -0
  95. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/algorithms/torch_td3.py +0 -0
  96. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/callbacks/__init__.py +0 -0
  97. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/callbacks/rich_dashboard.py +0 -0
  98. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/callbacks/tensorboard_callback.py +0 -0
  99. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/callbacks/wandb_callback.py +0 -0
  100. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/cli.py +0 -0
  101. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/config.py +0 -0
  102. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/__init__.py +0 -0
  103. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/async_callback.py +0 -0
  104. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/backoff_scheduler.py +0 -0
  105. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/base_agent.py +0 -0
  106. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/base_evaluator.py +0 -0
  107. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/base_optimizer.py +0 -0
  108. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/base_pipeline.py +0 -0
  109. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/checkpoint_confirmation.py +0 -0
  110. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/checkpoint_registry.py +0 -0
  111. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/device.py +0 -0
  112. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/diagnostic_controller.py +0 -0
  113. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/ensemble_agent.py +0 -0
  114. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/her_buffer.py +0 -0
  115. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/loop_controller.py +0 -0
  116. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/meta_controller.py +0 -0
  117. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/noisy_linear.py +0 -0
  118. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/normalizers.py +0 -0
  119. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/obs_utils.py +0 -0
  120. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/policy_manager.py +0 -0
  121. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/regime_detector.py +0 -0
  122. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/replay_buffer.py +0 -0
  123. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/resume_state.py +0 -0
  124. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/reward_shape.py +0 -0
  125. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/trajectory_buffer.py +0 -0
  126. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/core/types.py +0 -0
  127. {tensor_optix-2.1.1/tensor_optix/ml_core/adapters → tensor_optix-2.2.1/tensor_optix/discovery/rl}/__init__.py +0 -0
  128. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/distributed/__init__.py +0 -0
  129. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/distributed/async_learner.py +0 -0
  130. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/distributed/vtrace.py +0 -0
  131. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/encoders/__init__.py +0 -0
  132. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/encoders/obs_encoder.py +0 -0
  133. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/encoders/obs_encoder_tf.py +0 -0
  134. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/exploration/__init__.py +0 -0
  135. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/exploration/rnd.py +0 -0
  136. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/factory.py +0 -0
  137. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/ledger/__init__.py +0 -0
  138. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/ledger/callback.py +0 -0
  139. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/ledger/provenance.py +0 -0
  140. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/ledger/records.py +0 -0
  141. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/ledger/schema.py +0 -0
  142. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/ledger/store.py +0 -0
  143. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/ml/__init__.py +0 -0
  144. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/ml/dataset_pipeline.py +0 -0
  145. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/ml/loss_registry.py +0 -0
  146. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/ml/ml_agent.py +0 -0
  147. {tensor_optix-2.1.1/tensor_optix/ml_core/metrics_impl → tensor_optix-2.2.1/tensor_optix/ml_core/adapters}/__init__.py +0 -0
  148. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/ml_core/adapters/flax_model.py +0 -0
  149. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/ml_core/adapters/tf_model.py +0 -0
  150. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/ml_core/adapters/torch_model.py +0 -0
  151. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/ml_core/lr_schedules.py +0 -0
  152. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/ml_core/metrics_impl/classification.py +0 -0
  153. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/ml_core/metrics_impl/regression.py +0 -0
  154. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/ml_core/transfer.py +0 -0
  155. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/multi_agent/__init__.py +0 -0
  156. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/multi_agent/aec_pipeline.py +0 -0
  157. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/multi_agent/multi_agent_episode.py +0 -0
  158. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/multi_agent/multi_agent_runtime.py +0 -0
  159. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/multi_agent/parallel_pipeline.py +0 -0
  160. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/multi_agent/seat_env.py +0 -0
  161. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/multi_agent/self_play.py +0 -0
  162. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/nanonets/__init__.py +0 -0
  163. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/nanonets/abstention.py +0 -0
  164. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/nanonets/features.py +0 -0
  165. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/nanonets/pooling.py +0 -0
  166. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/nanonets/selector.py +0 -0
  167. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/nanonets/smalln.py +0 -0
  168. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/neuroevo/__init__.py +0 -0
  169. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/neuroevo/agent/__init__.py +0 -0
  170. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/neuroevo/agent/graph_agent.py +0 -0
  171. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/neuroevo/brain_network.py +0 -0
  172. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/neuroevo/controller/__init__.py +0 -0
  173. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/neuroevo/controller/topology_callback.py +0 -0
  174. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/neuroevo/graph/__init__.py +0 -0
  175. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/neuroevo/graph/neuron.py +0 -0
  176. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/neuroevo/graph/neuron_graph.py +0 -0
  177. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/neuroevo/graph/topology_ops.py +0 -0
  178. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/neuroevo/hebbian.py +0 -0
  179. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/neuroevo/neuromodulator.py +0 -0
  180. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/neuroevo/optimizer/__init__.py +0 -0
  181. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/neuroevo/optimizer/topology_aware_adam.py +0 -0
  182. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/optimizer.py +0 -0
  183. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/optimizers/__init__.py +0 -0
  184. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/optimizers/adaptive_optimizer.py +0 -0
  185. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/optimizers/backoff_optimizer.py +0 -0
  186. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/optimizers/momentum_optimizer.py +0 -0
  187. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/optimizers/pbt_optimizer.py +0 -0
  188. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/optimizers/spsa_optimizer.py +0 -0
  189. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/orchestrator.py +0 -0
  190. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/pipeline/__init__.py +0 -0
  191. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/pipeline/batch_pipeline.py +0 -0
  192. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/pipeline/live_pipeline.py +0 -0
  193. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/pipeline/vector_pipeline.py +0 -0
  194. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/runtime/__init__.py +0 -0
  195. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/runtime/baseline.py +0 -0
  196. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/runtime/experiment_stage.py +0 -0
  197. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/runtime/live_runtime.py +0 -0
  198. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/runtime/promote.py +0 -0
  199. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/scheduler/__init__.py +0 -0
  200. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/scheduler/_mp_common.py +0 -0
  201. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/scheduler/budget.py +0 -0
  202. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/scheduler/dedup.py +0 -0
  203. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/scheduler/isolation.py +0 -0
  204. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/scheduler/pool.py +0 -0
  205. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/scheduler/retry.py +0 -0
  206. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/scheduler/worker.py +0 -0
  207. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/selection/__init__.py +0 -0
  208. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/selection/backfill.py +0 -0
  209. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/selection/selector.py +0 -0
  210. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/selection/uncertainty.py +0 -0
  211. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/simple.py +0 -0
  212. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/strategy/__init__.py +0 -0
  213. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/strategy/candidate.py +0 -0
  214. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/strategy/comparator.py +0 -0
  215. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/strategy/grammar.py +0 -0
  216. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/strategy/promotion.py +0 -0
  217. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/strategy/runner.py +0 -0
  218. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/strategy/worker.py +0 -0
  219. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/utils/__init__.py +0 -0
  220. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/utils/console.py +0 -0
  221. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix/utils/window_size.py +0 -0
  222. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix.egg-info/dependency_links.txt +0 -0
  223. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix.egg-info/entry_points.txt +0 -0
  224. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tensor_optix.egg-info/top_level.txt +0 -0
  225. {tensor_optix-2.1.1 → tensor_optix-2.2.1}/tests/test_ml.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tensor-optix
3
- Version: 2.1.1
3
+ Version: 2.2.1
4
4
  Summary: Autonomous training loop for any sequential learning model — PPO, DQN, SAC, TD3, Rainbow DQN, Recurrent PPO for TensorFlow, PyTorch, and JAX/Flax; distributed async actor-learner (IMPALA + V-trace)
5
5
  Author: sup3rus3r
6
6
  License-Expression: MIT
@@ -37,6 +37,11 @@ Provides-Extra: mujoco
37
37
  Requires-Dist: gymnasium[mujoco]>=1.0.0; extra == "mujoco"
38
38
  Provides-Extra: pettingzoo
39
39
  Requires-Dist: pettingzoo>=1.24.0; extra == "pettingzoo"
40
+ Provides-Extra: pandas
41
+ Requires-Dist: pandas>=2.0; extra == "pandas"
42
+ Provides-Extra: discovery-boost
43
+ Requires-Dist: lightgbm>=4.0; extra == "discovery-boost"
44
+ Requires-Dist: xgboost>=2.0; extra == "discovery-boost"
40
45
  Provides-Extra: all
41
46
  Requires-Dist: tensorflow>=2.18.0; extra == "all"
42
47
  Requires-Dist: torch>=2.11.0; extra == "all"
@@ -49,6 +54,9 @@ Requires-Dist: jax>=0.10.0; extra == "all"
49
54
  Requires-Dist: flax>=0.12.6; extra == "all"
50
55
  Requires-Dist: optax>=0.2.8; extra == "all"
51
56
  Requires-Dist: torch>=2.11.0; extra == "all"
57
+ Requires-Dist: pandas>=2.0; extra == "all"
58
+ Requires-Dist: lightgbm>=4.0; extra == "all"
59
+ Requires-Dist: xgboost>=2.0; extra == "all"
52
60
  Provides-Extra: neuroevo
53
61
  Requires-Dist: torch>=2.11.0; extra == "neuroevo"
54
62
  Provides-Extra: onnx
@@ -80,6 +88,8 @@ It has two parallel cores:
80
88
  - **RL core**. An episode-driven loop (`LoopController`/`RLOptimizer`) built around `BaseAgent`'s `act()`/`learn()` contract. Statistical convergence control, SPSA-based online hyperparameter tuning, and an optional neuroevolution subsystem for dynamic topology.
81
89
  - **ML core** (`tensor_optix.ml_core`). An epoch/batch-driven loop (`Trainer`, wrapped by `BaseMLModel.fit()`) built around a sklearn-style `fit()`/`predict()`/`evaluate()` contract. Real classification metrics (accuracy, precision/recall/F1, confusion matrix) and regression metrics (MAE, RMSE, R²), validation-based early stopping, and checkpointing on the best metric.
82
90
 
91
+ On top of both sits **discovery** (`tensor_optix.discovery`): point it at a dataset or a Gymnasium environment and it profiles the data, compares model families or RL algorithms under a fixed budget, and recommends one with statistical evidence. See [Discovery](#discovery) below.
92
+
83
93
  Both cores reuse the same lower-level, algorithm-agnostic machinery: `CheckpointRegistry`, the `ConvergenceMonitor` convergence detector, `SPSAOptimizer`. Each core has its own contract on top because an RL episode and a training epoch aren't the same shape. See [Concepts](https://sup3rus3r.github.io/tensor-optix/getting-started/concepts/).
84
94
 
85
95
  ## RL core
@@ -140,6 +150,50 @@ Metrics are auto-detected from the target dtype. Integer/class-index targets get
140
150
 
141
151
  There is also an older, RL-loop-based way to train an arbitrary `nn.Module`: `Optimizer(model, dataset)`, which runs the model through the RL loop as a fake episode. See [ML support](#ml-support) below. It predates `ml_core`, is kept for backward compatibility, and has no real classification/regression metrics and no validation-based early stopping. Use `ml_core` for new code.
142
152
 
153
+ ## Discovery
154
+
155
+ `tensor_optix.discovery` answers the questions before training: what is in this data, how must it be validated, and which model family (or RL algorithm) fits it? It runs statistical tests and short, paired experiments under an explicit budget, and writes a self-contained HTML report with the recommendation, the evidence, and its uncertainty.
156
+
157
+ ```python
158
+ from tensor_optix.discovery import discover
159
+
160
+ report = discover(df, target="churned") # a DataFrame, dict of columns, or (X, y) arrays
161
+ report.to_html("discovery.html") # static report, works offline
162
+ print(report.summary()) # the same content as text
163
+ ```
164
+
165
+ For a dataset it:
166
+
167
+ - profiles the target and every column (inferred types, missingness, duplicates, outliers);
168
+ - detects the structure that decides the split (grouped rows, temporal order, a row order that carries the target) and keeps a confirmation holdout cut with that structure;
169
+ - looks for leakage (a single column that predicts the target almost perfectly, identifiers, predictive missingness) and train/test shift;
170
+ - runs cheap landmark models to show whether the problem has signal, non-linearity or interactions;
171
+ - compares candidate families (linear, naive Bayes, k-NN, MLP, boosted trees) on identical folds, adding CV repeats while the leaders cannot be separated;
172
+ - recommends the simplest family that is not worse than the best, scores it once on the holdout, and suggests feature families and scalers that measurably help.
173
+
174
+ For a Gymnasium environment, the same entry point probes the environment with a random policy (spaces, reward sparsity and scale, observation scale, determinism, partial observability). It then trains every applicable algorithm (PPO / DQN for discrete actions, SAC / TD3 / PPO for continuous ones) for the same steps on the same seeds, and recommends one:
175
+
176
+ ```python
177
+ import gymnasium as gym
178
+ from tensor_optix.discovery import discover, Budget
179
+
180
+ report = discover(gym.make("CartPole-v1"))
181
+ report = discover("Pendulum-v1", kind="rl", budget=Budget(env_steps=300_000))
182
+ ```
183
+
184
+ Discovery **advises; it never changes anything on its own**. Every finding has a stable id and a severity (`info`, `advisory`, `warning`, `critical`). You accept or reject each one, and `build()` applies only the accepted findings:
185
+
186
+ ```python
187
+ report.accept("structure.grouped:col=customer_id")
188
+ report.reject("leakage.single_feature:col=refund_flag", note="known at prediction time")
189
+
190
+ solution = report.build() # refuses while a critical finding is still pending
191
+ solution.fit(df, target="churned")
192
+ solution.predict(new_rows)
193
+ ```
194
+
195
+ The report JSON is embedded in the HTML, so `DiscoveryReport.from_html("discovery.html")` reloads it exactly. Pass `store=ExperimentStore(...)` to record the run in the [experiment ledger](#experiment-ledger). Full guide: [Understand your data and choose a model family](https://sup3rus3r.github.io/tensor-optix/guides/discovery/).
196
+
143
197
  ---
144
198
 
145
199
  ## Install
@@ -160,6 +214,10 @@ pip install tensor-optix[jax]
160
214
  # Neuroevo (requires torch)
161
215
  pip install tensor-optix[neuroevo]
162
216
 
217
+ # Discovery: DataFrame input, LightGBM / XGBoost candidates
218
+ pip install tensor-optix[pandas]
219
+ pip install tensor-optix[discovery-boost]
220
+
163
221
  # GPU (Linux/WSL2, CUDA 12.8)
164
222
  pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128
165
223
  pip install tensor-optix[torch]
@@ -1,74 +1,3 @@
1
- Metadata-Version: 2.4
2
- Name: tensor-optix
3
- Version: 2.1.1
4
- Summary: Autonomous training loop for any sequential learning model — PPO, DQN, SAC, TD3, Rainbow DQN, Recurrent PPO for TensorFlow, PyTorch, and JAX/Flax; distributed async actor-learner (IMPALA + V-trace)
5
- Author: sup3rus3r
6
- License-Expression: MIT
7
- Requires-Python: >=3.11
8
- Description-Content-Type: text/markdown
9
- Requires-Dist: gymnasium[box2d]>=1.0.0
10
- Requires-Dist: numpy>=1.24.0
11
- Requires-Dist: matplotlib>=3.7.0
12
- Requires-Dist: optuna>=3.0.0
13
- Requires-Dist: swig>=4.4.1
14
- Requires-Dist: pyyaml>=6.0
15
- Requires-Dist: torch>=2.11.0
16
- Provides-Extra: tensorflow
17
- Requires-Dist: tensorflow>=2.18.0; extra == "tensorflow"
18
- Provides-Extra: tensorflow-gpu
19
- Requires-Dist: tensorflow[and-cuda]>=2.18.0; sys_platform == "linux" and extra == "tensorflow-gpu"
20
- Provides-Extra: torch
21
- Requires-Dist: torch>=2.11.0; extra == "torch"
22
- Requires-Dist: torchvision; extra == "torch"
23
- Requires-Dist: torchaudio; extra == "torch"
24
- Provides-Extra: jax
25
- Requires-Dist: flax>=0.12.6; extra == "jax"
26
- Requires-Dist: jax>=0.10.0; extra == "jax"
27
- Requires-Dist: optax>=0.2.8; extra == "jax"
28
- Provides-Extra: cuda
29
- Requires-Dist: nvidia-cuda-nvcc-cu12; sys_platform == "linux" and extra == "cuda"
30
- Requires-Dist: tensorflow[and-cuda]>=2.18.0; sys_platform == "linux" and extra == "cuda"
31
- Provides-Extra: box2d
32
- Requires-Dist: gymnasium[box2d]>=1.0.0; extra == "box2d"
33
- Provides-Extra: atari
34
- Requires-Dist: gymnasium[atari]>=1.0.0; extra == "atari"
35
- Requires-Dist: ale-py>=0.8; extra == "atari"
36
- Provides-Extra: mujoco
37
- Requires-Dist: gymnasium[mujoco]>=1.0.0; extra == "mujoco"
38
- Provides-Extra: pettingzoo
39
- Requires-Dist: pettingzoo>=1.24.0; extra == "pettingzoo"
40
- Provides-Extra: all
41
- Requires-Dist: tensorflow>=2.18.0; extra == "all"
42
- Requires-Dist: torch>=2.11.0; extra == "all"
43
- Requires-Dist: torchvision; extra == "all"
44
- Requires-Dist: torchaudio; extra == "all"
45
- Requires-Dist: gymnasium[atari]>=1.0.0; extra == "all"
46
- Requires-Dist: gymnasium[mujoco]>=1.0.0; extra == "all"
47
- Requires-Dist: ale-py>=0.8; extra == "all"
48
- Requires-Dist: jax>=0.10.0; extra == "all"
49
- Requires-Dist: flax>=0.12.6; extra == "all"
50
- Requires-Dist: optax>=0.2.8; extra == "all"
51
- Requires-Dist: torch>=2.11.0; extra == "all"
52
- Provides-Extra: neuroevo
53
- Requires-Dist: torch>=2.11.0; extra == "neuroevo"
54
- Provides-Extra: onnx
55
- Requires-Dist: onnx>=1.14; extra == "onnx"
56
- Requires-Dist: onnxruntime>=1.16; extra == "onnx"
57
- Requires-Dist: onnxscript>=0.1; extra == "onnx"
58
- Provides-Extra: wandb
59
- Requires-Dist: wandb>=0.16; extra == "wandb"
60
- Provides-Extra: tensorboard
61
- Requires-Dist: torch>=2.11.0; extra == "tensorboard"
62
- Requires-Dist: tensorboard>=2.14; extra == "tensorboard"
63
- Provides-Extra: dev
64
- Requires-Dist: pytest>=7.0; extra == "dev"
65
- Requires-Dist: pytest-cov; extra == "dev"
66
- Requires-Dist: black; extra == "dev"
67
- Requires-Dist: ruff; extra == "dev"
68
- Requires-Dist: mypy; extra == "dev"
69
- Requires-Dist: twine>=5.0; extra == "dev"
70
- Requires-Dist: torch>=2.11.0; extra == "dev"
71
-
72
1
  # tensor-optix
73
2
 
74
3
  [See Documentation](https://sup3rus3r.github.io/tensor-optix/)
@@ -80,6 +9,8 @@ It has two parallel cores:
80
9
  - **RL core**. An episode-driven loop (`LoopController`/`RLOptimizer`) built around `BaseAgent`'s `act()`/`learn()` contract. Statistical convergence control, SPSA-based online hyperparameter tuning, and an optional neuroevolution subsystem for dynamic topology.
81
10
  - **ML core** (`tensor_optix.ml_core`). An epoch/batch-driven loop (`Trainer`, wrapped by `BaseMLModel.fit()`) built around a sklearn-style `fit()`/`predict()`/`evaluate()` contract. Real classification metrics (accuracy, precision/recall/F1, confusion matrix) and regression metrics (MAE, RMSE, R²), validation-based early stopping, and checkpointing on the best metric.
82
11
 
12
+ On top of both sits **discovery** (`tensor_optix.discovery`): point it at a dataset or a Gymnasium environment and it profiles the data, compares model families or RL algorithms under a fixed budget, and recommends one with statistical evidence. See [Discovery](#discovery) below.
13
+
83
14
  Both cores reuse the same lower-level, algorithm-agnostic machinery: `CheckpointRegistry`, the `ConvergenceMonitor` convergence detector, `SPSAOptimizer`. Each core has its own contract on top because an RL episode and a training epoch aren't the same shape. See [Concepts](https://sup3rus3r.github.io/tensor-optix/getting-started/concepts/).
84
15
 
85
16
  ## RL core
@@ -140,6 +71,50 @@ Metrics are auto-detected from the target dtype. Integer/class-index targets get
140
71
 
141
72
  There is also an older, RL-loop-based way to train an arbitrary `nn.Module`: `Optimizer(model, dataset)`, which runs the model through the RL loop as a fake episode. See [ML support](#ml-support) below. It predates `ml_core`, is kept for backward compatibility, and has no real classification/regression metrics and no validation-based early stopping. Use `ml_core` for new code.
142
73
 
74
+ ## Discovery
75
+
76
+ `tensor_optix.discovery` answers the questions before training: what is in this data, how must it be validated, and which model family (or RL algorithm) fits it? It runs statistical tests and short, paired experiments under an explicit budget, and writes a self-contained HTML report with the recommendation, the evidence, and its uncertainty.
77
+
78
+ ```python
79
+ from tensor_optix.discovery import discover
80
+
81
+ report = discover(df, target="churned") # a DataFrame, dict of columns, or (X, y) arrays
82
+ report.to_html("discovery.html") # static report, works offline
83
+ print(report.summary()) # the same content as text
84
+ ```
85
+
86
+ For a dataset it:
87
+
88
+ - profiles the target and every column (inferred types, missingness, duplicates, outliers);
89
+ - detects the structure that decides the split (grouped rows, temporal order, a row order that carries the target) and keeps a confirmation holdout cut with that structure;
90
+ - looks for leakage (a single column that predicts the target almost perfectly, identifiers, predictive missingness) and train/test shift;
91
+ - runs cheap landmark models to show whether the problem has signal, non-linearity or interactions;
92
+ - compares candidate families (linear, naive Bayes, k-NN, MLP, boosted trees) on identical folds, adding CV repeats while the leaders cannot be separated;
93
+ - recommends the simplest family that is not worse than the best, scores it once on the holdout, and suggests feature families and scalers that measurably help.
94
+
95
+ For a Gymnasium environment, the same entry point probes the environment with a random policy (spaces, reward sparsity and scale, observation scale, determinism, partial observability). It then trains every applicable algorithm (PPO / DQN for discrete actions, SAC / TD3 / PPO for continuous ones) for the same steps on the same seeds, and recommends one:
96
+
97
+ ```python
98
+ import gymnasium as gym
99
+ from tensor_optix.discovery import discover, Budget
100
+
101
+ report = discover(gym.make("CartPole-v1"))
102
+ report = discover("Pendulum-v1", kind="rl", budget=Budget(env_steps=300_000))
103
+ ```
104
+
105
+ Discovery **advises; it never changes anything on its own**. Every finding has a stable id and a severity (`info`, `advisory`, `warning`, `critical`). You accept or reject each one, and `build()` applies only the accepted findings:
106
+
107
+ ```python
108
+ report.accept("structure.grouped:col=customer_id")
109
+ report.reject("leakage.single_feature:col=refund_flag", note="known at prediction time")
110
+
111
+ solution = report.build() # refuses while a critical finding is still pending
112
+ solution.fit(df, target="churned")
113
+ solution.predict(new_rows)
114
+ ```
115
+
116
+ The report JSON is embedded in the HTML, so `DiscoveryReport.from_html("discovery.html")` reloads it exactly. Pass `store=ExperimentStore(...)` to record the run in the [experiment ledger](#experiment-ledger). Full guide: [Understand your data and choose a model family](https://sup3rus3r.github.io/tensor-optix/guides/discovery/).
117
+
143
118
  ---
144
119
 
145
120
  ## Install
@@ -160,6 +135,10 @@ pip install tensor-optix[jax]
160
135
  # Neuroevo (requires torch)
161
136
  pip install tensor-optix[neuroevo]
162
137
 
138
+ # Discovery: DataFrame input, LightGBM / XGBoost candidates
139
+ pip install tensor-optix[pandas]
140
+ pip install tensor-optix[discovery-boost]
141
+
163
142
  # GPU (Linux/WSL2, CUDA 12.8)
164
143
  pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128
165
144
  pip install tensor-optix[torch]
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "tensor-optix"
7
- version = "2.1.1"
7
+ version = "2.2.1"
8
8
  description = "Autonomous training loop for any sequential learning model — PPO, DQN, SAC, TD3, Rainbow DQN, Recurrent PPO for TensorFlow, PyTorch, and JAX/Flax; distributed async actor-learner (IMPALA + V-trace)"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -64,6 +64,14 @@ mujoco = [
64
64
  pettingzoo = [
65
65
  "pettingzoo>=1.24.0",
66
66
  ]
67
+ # tensor_optix.discovery: DataFrame input, and tree-ensemble families
68
+ pandas = [
69
+ "pandas>=2.0",
70
+ ]
71
+ discovery-boost = [
72
+ "lightgbm>=4.0",
73
+ "xgboost>=2.0",
74
+ ]
67
75
  # Convenience bundles
68
76
  all = [
69
77
  "tensorflow>=2.18.0",
@@ -77,6 +85,9 @@ all = [
77
85
  "flax>=0.12.6",
78
86
  "optax>=0.2.8",
79
87
  "torch>=2.11.0",
88
+ "pandas>=2.0",
89
+ "lightgbm>=4.0",
90
+ "xgboost>=2.0",
80
91
  ]
81
92
  neuroevo = [
82
93
  "torch>=2.11.0",