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.

Files changed (46) hide show
  1. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/PKG-INFO +1 -1
  2. {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
  3. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/model_selection.py +1 -1
  4. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/pyproject.toml +1 -1
  5. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/LICENSE +0 -0
  6. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/README.md +0 -0
  7. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/__init__.py +0 -0
  8. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/api.py +0 -0
  9. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/config.py +0 -0
  10. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/__init__.py +0 -0
  11. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/alembic/README +0 -0
  12. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/alembic/env.py +0 -0
  13. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/alembic/script.py.mako +0 -0
  14. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/alembic/versions/2025_06_23_1748-f089dfb7e3ba_.py +0 -0
  15. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/alembic/versions/2025_06_24_1216-c62251b129ed_.py +0 -0
  16. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/alembic/versions/2025_06_24_1711-86457e2f333f_.py +0 -0
  17. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/alembic/versions/2025_06_25_1759-72aa496ca65b_.py +0 -0
  18. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/alembic.ini +0 -0
  19. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/models/__init__.py +0 -0
  20. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/models/base.py +0 -0
  21. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/models/experiment.py +0 -0
  22. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/models/feature.py +0 -0
  23. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/models/feature_selection.py +0 -0
  24. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/models/feature_selection_rank.py +0 -0
  25. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/models/model.py +0 -0
  26. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/models/model_selection.py +0 -0
  27. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/models/model_training.py +0 -0
  28. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/models/score.py +0 -0
  29. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/models/target.py +0 -0
  30. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/models/utils.py +0 -0
  31. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/db/session.py +0 -0
  32. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/directories.py +0 -0
  33. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/experiment.py +0 -0
  34. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/feature_engineering.py +0 -0
  35. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/feature_selection.py +0 -0
  36. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/integrations/openai_integration.py +0 -0
  37. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/jobs/__init__.py +0 -0
  38. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/jobs/config.py +0 -0
  39. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/jobs/scheduler.py +0 -0
  40. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/jobs/tasks.py +0 -0
  41. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/misc/tabpfn_tests.ipynb +0 -0
  42. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/misc/test-gpu-bilstm.ipynb +0 -0
  43. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/misc/test-gpu-resnet.ipynb +0 -0
  44. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/misc/test-gpu-transformers.ipynb +0 -0
  45. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/search_space.py +0 -0
  46. {lecrapaud-0.18.6 → lecrapaud-0.18.8}/lecrapaud/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: lecrapaud
3
- Version: 0.18.6
3
+ Version: 0.18.8
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
@@ -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 = '7ed9963e732f'
16
- down_revision: Union[str, None] = '72aa496ca65b'
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('lecrapaud_model_selections', sa.Column('best_score', sa.JSON(), nullable=True))
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('lecrapaud_model_selections', 'best_score')
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 = []
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "lecrapaud"
3
- version = "0.18.6"
3
+ version = "0.18.8"
4
4
  description = "Framework for machine and deep learning, with regression, classification and time series analysis"
5
5
  authors = [
6
6
  {name = "Pierre H. Gallet"}
File without changes
File without changes
File without changes