lecrapaud 0.18.6__tar.gz → 0.18.8__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.18.6 → lecrapaud-0.18.8}/PKG-INFO +1 -1
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/alembic/versions/2025_08_25_1434-7ed9963e732f_add_best_score_to_model_selection.py +9 -4
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/model_selection.py +1 -1
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/pyproject.toml +1 -1
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/LICENSE +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/README.md +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/__init__.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/api.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/config.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/__init__.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/alembic/README +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/alembic/env.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/alembic/script.py.mako +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/alembic/versions/2025_06_23_1748-f089dfb7e3ba_.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/alembic/versions/2025_06_24_1216-c62251b129ed_.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/alembic/versions/2025_06_24_1711-86457e2f333f_.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/alembic/versions/2025_06_25_1759-72aa496ca65b_.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/alembic.ini +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/models/__init__.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/models/base.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/models/experiment.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/models/feature.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/models/feature_selection.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/models/feature_selection_rank.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/models/model.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/models/model_selection.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/models/model_training.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/models/score.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/models/target.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/models/utils.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/session.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/directories.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/experiment.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/feature_engineering.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/feature_selection.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/integrations/openai_integration.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/jobs/__init__.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/jobs/config.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/jobs/scheduler.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/jobs/tasks.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/misc/tabpfn_tests.ipynb +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/misc/test-gpu-bilstm.ipynb +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/misc/test-gpu-resnet.ipynb +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/misc/test-gpu-transformers.ipynb +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/search_space.py +0 -0
- {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/utils.py +0 -0
|
@@ -5,26 +5,31 @@ Revises: 72aa496ca65b
|
|
|
5
5
|
Create Date: 2025-08-25 14:34:58.866912
|
|
6
6
|
|
|
7
7
|
"""
|
|
8
|
+
|
|
8
9
|
from typing import Sequence, Union
|
|
9
10
|
|
|
10
11
|
from alembic import op
|
|
11
12
|
import sqlalchemy as sa
|
|
13
|
+
from lecrapaud.config import LECRAPAUD_TABLE_PREFIX
|
|
12
14
|
|
|
13
15
|
|
|
14
16
|
# revision identifiers, used by Alembic.
|
|
15
|
-
revision: str =
|
|
16
|
-
down_revision: Union[str, None] =
|
|
17
|
+
revision: str = "7ed9963e732f"
|
|
18
|
+
down_revision: Union[str, None] = "72aa496ca65b"
|
|
17
19
|
branch_labels: Union[str, Sequence[str], None] = None
|
|
18
20
|
depends_on: Union[str, Sequence[str], None] = None
|
|
19
21
|
|
|
20
22
|
|
|
21
23
|
def upgrade() -> None:
|
|
22
24
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
23
|
-
op.add_column(
|
|
25
|
+
op.add_column(
|
|
26
|
+
f"{LECRAPAUD_TABLE_PREFIX}_model_selections",
|
|
27
|
+
sa.Column("best_score", sa.JSON(), nullable=True),
|
|
28
|
+
)
|
|
24
29
|
# ### end Alembic commands ###
|
|
25
30
|
|
|
26
31
|
|
|
27
32
|
def downgrade() -> None:
|
|
28
33
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
29
|
-
op.drop_column(
|
|
34
|
+
op.drop_column(f"{LECRAPAUD_TABLE_PREFIX}_model_selections", "best_score")
|
|
30
35
|
# ### end Alembic commands ###
|
|
@@ -1852,7 +1852,7 @@ def apply_thresholds(
|
|
|
1852
1852
|
"""
|
|
1853
1853
|
|
|
1854
1854
|
# Case 1: Per-class thresholds
|
|
1855
|
-
if not isinstance(threshold, int):
|
|
1855
|
+
if not isinstance(threshold, (int, float)):
|
|
1856
1856
|
if isinstance(threshold, str):
|
|
1857
1857
|
threshold = ast.literal_eval(threshold)
|
|
1858
1858
|
class_predictions = []
|
|
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.18.6 → lecrapaud-0.18.8}/lecrapaud/db/alembic/versions/2025_06_23_1748-f089dfb7e3ba_.py
RENAMED
|
File without changes
|
{lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/alembic/versions/2025_06_24_1216-c62251b129ed_.py
RENAMED
|
File without changes
|
{lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/alembic/versions/2025_06_24_1711-86457e2f333f_.py
RENAMED
|
File without changes
|
{lecrapaud-0.18.6 → lecrapaud-0.18.8}/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
|
|
File without changes
|