lecrapaud 0.16.2__tar.gz → 0.16.4__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.
Potentially problematic release.
This version of lecrapaud might be problematic. Click here for more details.
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/PKG-INFO +1 -1
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/alembic.ini +7 -1
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/model_selection.py +23 -19
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/pyproject.toml +1 -1
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/LICENSE +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/README.md +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/__init__.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/api.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/config.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/__init__.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/alembic/README +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/alembic/env.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/alembic/script.py.mako +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/alembic/versions/2025_06_23_1748-f089dfb7e3ba_.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/alembic/versions/2025_06_24_1216-c62251b129ed_.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/alembic/versions/2025_06_24_1711-86457e2f333f_.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/alembic/versions/2025_06_25_1759-72aa496ca65b_.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/models/__init__.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/models/base.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/models/experiment.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/models/feature.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/models/feature_selection.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/models/feature_selection_rank.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/models/model.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/models/model_selection.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/models/model_training.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/models/score.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/models/target.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/models/utils.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/session.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/directories.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/experiment.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/feature_engineering.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/feature_selection.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/integrations/openai_integration.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/jobs/__init__.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/jobs/config.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/jobs/scheduler.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/jobs/tasks.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/misc/tabpfn_tests.ipynb +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/misc/test-gpu-bilstm.ipynb +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/misc/test-gpu-resnet.ipynb +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/misc/test-gpu-transformers.ipynb +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/search_space.py +0 -0
- {lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/utils.py +0 -0
|
@@ -82,7 +82,7 @@ sqlalchemy.url = %(DATABASE_URL)s
|
|
|
82
82
|
|
|
83
83
|
# Logging configuration
|
|
84
84
|
[loggers]
|
|
85
|
-
keys = root,sqlalchemy,alembic
|
|
85
|
+
keys = root,sqlalchemy,alembic,lecrapaud
|
|
86
86
|
|
|
87
87
|
[loggers_root]
|
|
88
88
|
disable_existing_loggers = False
|
|
@@ -108,6 +108,12 @@ level = INFO
|
|
|
108
108
|
handlers =
|
|
109
109
|
qualname = alembic
|
|
110
110
|
|
|
111
|
+
[logger_lecrapaud]
|
|
112
|
+
level = INFO
|
|
113
|
+
handlers = console
|
|
114
|
+
qualname = lecrapaud
|
|
115
|
+
propagate = 0
|
|
116
|
+
|
|
111
117
|
[handler_console]
|
|
112
118
|
class = StreamHandler
|
|
113
119
|
args = (sys.stderr,)
|
|
@@ -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:
|
|
@@ -1249,7 +1253,7 @@ class ModelSelectionEngine:
|
|
|
1249
1253
|
try:
|
|
1250
1254
|
with open(best_params_file, "r") as f:
|
|
1251
1255
|
target_params = json.load(f)
|
|
1252
|
-
all_best_params[target_number] = target_params
|
|
1256
|
+
all_best_params[int(target_number)] = target_params
|
|
1253
1257
|
except Exception as e:
|
|
1254
1258
|
logger.warning(
|
|
1255
1259
|
f"Error loading best params for {target_dir}: {str(e)}"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/alembic/versions/2025_06_23_1748-f089dfb7e3ba_.py
RENAMED
|
File without changes
|
{lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/alembic/versions/2025_06_24_1216-c62251b129ed_.py
RENAMED
|
File without changes
|
{lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/alembic/versions/2025_06_24_1711-86457e2f333f_.py
RENAMED
|
File without changes
|
{lecrapaud-0.16.2 → lecrapaud-0.16.4}/lecrapaud/db/alembic/versions/2025_06_25_1759-72aa496ca65b_.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|