lecrapaud 0.16.2__py3-none-any.whl → 0.16.3__py3-none-any.whl

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.

Potentially problematic release.


This version of lecrapaud might be problematic. Click here for more details.

@@ -883,7 +883,7 @@ class ModelSelectionEngine:
883
883
  model_best_params = json_dict[model_name]
884
884
  except Exception:
885
885
  raise FileNotFoundError(
886
- f"Could not find {model_name} in current data. Try to run an hyperoptimization by setting `perform_hyperopt` to true, pass `best_params`"
886
+ f"Could not find {model_name} in current data. Try to run an hyperoptimization by setting `perform_hyperopt` to true, or pass `best_params`"
887
887
  )
888
888
 
889
889
  # save best params
@@ -1133,6 +1133,27 @@ class ModelSelectionEngine:
1133
1133
 
1134
1134
  storage_path = f"{self.results_dir}/ray_results"
1135
1135
 
1136
+ # Initialize Ray with the runtime environment
1137
+ ray.init(
1138
+ runtime_env={
1139
+ "excludes": [
1140
+ ".git/**/*",
1141
+ "**/*.pyc",
1142
+ "**/__pycache__",
1143
+ "**/data/*",
1144
+ "**/notebooks/*",
1145
+ "**/tests/*",
1146
+ "**/docs/*",
1147
+ "**/.pytest_cache/*",
1148
+ "**/venv/*",
1149
+ "**/.venv/*",
1150
+ "**/build/*",
1151
+ "**/dist/*",
1152
+ "**/*.egg-info/*",
1153
+ ]
1154
+ }
1155
+ )
1156
+
1136
1157
  tuner = Tuner(
1137
1158
  trainable=with_parameters(
1138
1159
  trainable,
@@ -1162,23 +1183,6 @@ class ModelSelectionEngine:
1162
1183
  stop={"training_iteration": 100},
1163
1184
  storage_path=storage_path,
1164
1185
  callbacks=[TBXLoggerCallback()],
1165
- runtime_env={
1166
- "excludes": [
1167
- ".git/**/*",
1168
- "**/*.pyc",
1169
- "**/__pycache__",
1170
- "**/data/*",
1171
- "**/notebooks/*",
1172
- "**/tests/*",
1173
- "**/docs/*",
1174
- "**/.pytest_cache/*",
1175
- "**/venv/*",
1176
- "**/.venv/*",
1177
- "**/build/*",
1178
- "**/dist/*",
1179
- "**/*.egg-info/*",
1180
- ]
1181
- },
1182
1186
  ),
1183
1187
  )
1184
1188
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: lecrapaud
3
- Version: 0.16.2
3
+ Version: 0.16.3
4
4
  Summary: Framework for machine and deep learning, with regression, classification and time series analysis
5
5
  License: Apache License
6
6
  Author: Pierre H. Gallet
@@ -36,10 +36,10 @@ lecrapaud/misc/tabpfn_tests.ipynb,sha256=VkgsCUJ30d8jaL2VaWtQAgb8ngHPNtPgnXLs7QQ
36
36
  lecrapaud/misc/test-gpu-bilstm.ipynb,sha256=4nLuZRJVe2kn6kEmauhRiz5wkWT9AVrYhI9CEk_dYUY,9608
37
37
  lecrapaud/misc/test-gpu-resnet.ipynb,sha256=27Vu7nYwujYeh3fOxBNCnKJn3MXNPKZU-U8oDDUbymg,4944
38
38
  lecrapaud/misc/test-gpu-transformers.ipynb,sha256=k6MBSs_Um1h4PykvE-LTBcdpbWLbIFST_xl_AFW2jgI,8444
39
- lecrapaud/model_selection.py,sha256=dz9gRLUEkaOFo8EneS6t7GJRSJXKyWmbbYRRulIKE1Q,68492
39
+ lecrapaud/model_selection.py,sha256=l3ClaTeoz9wQak7nah3wsA_rlu7R1OChUAUk-ce5MjU,68509
40
40
  lecrapaud/search_space.py,sha256=-JkzuMhaomdwiWi4HvVQY5hiw3-oREemJA16tbwEIp4,34854
41
41
  lecrapaud/utils.py,sha256=JdBB1NvbNIx4y0Una-kSZdo1_ZEocc5hwyYFIZKHmGg,8305
42
- lecrapaud-0.16.2.dist-info/LICENSE,sha256=MImCryu0AnqhJE_uAZD-PIDKXDKb8sT7v0i1NOYeHTM,11350
43
- lecrapaud-0.16.2.dist-info/METADATA,sha256=TPKjiK_wQekvDhTXf8XXg_TtkIRdizJoJcawSmdrfQY,11081
44
- lecrapaud-0.16.2.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
45
- lecrapaud-0.16.2.dist-info/RECORD,,
42
+ lecrapaud-0.16.3.dist-info/LICENSE,sha256=MImCryu0AnqhJE_uAZD-PIDKXDKb8sT7v0i1NOYeHTM,11350
43
+ lecrapaud-0.16.3.dist-info/METADATA,sha256=UvUfHYr9HNMOluhg9QNbdcFZ9f_I_cwT2Fk5kkAPP_8,11081
44
+ lecrapaud-0.16.3.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
45
+ lecrapaud-0.16.3.dist-info/RECORD,,