ddi-fw 0.0.230__py3-none-any.whl → 0.0.231__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.
@@ -96,7 +96,9 @@ class NerParameterSearch(BaseModel):
96
96
  "entities": 0,
97
97
  }
98
98
  if self.dataset_additional_config:
99
- kwargs= self.dataset_additional_config
99
+ additional_config= self.dataset_additional_config
100
+ else:
101
+ additional_config={}
100
102
 
101
103
  for threshold in np.arange(min_threshold, max_threshold, self.increase_step):
102
104
  if column.startswith("tui"):
@@ -105,8 +107,8 @@ class NerParameterSearch(BaseModel):
105
107
  thresholds["cui"] = threshold
106
108
  if column.startswith("entities"):
107
109
  thresholds["entities"] = threshold
108
- kwargs['ner']['thresholds'] = thresholds
109
-
110
+ additional_config['ner']['thresholds'] = thresholds
111
+ kwargs = {'additional_config': additional_config}
110
112
  print(f"Loading dataset for column: {column} with threshold: {threshold}")
111
113
  # Create a new dataset instance for each threshold
112
114
  dataset = self.dataset_type(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ddi_fw
3
- Version: 0.0.230
3
+ Version: 0.0.231
4
4
  Summary: Do not use :)
5
5
  Author-email: Kıvanç Bayraktar <bayraktarkivanc@gmail.com>
6
6
  Maintainer-email: Kıvanç Bayraktar <bayraktarkivanc@gmail.com>
@@ -86,7 +86,7 @@ ddi_fw/pipeline/__init__.py,sha256=tKDM_rW4vPjlYTeOkNgi9PujDzb4e9O3LK1w5wqnebw,2
86
86
  ddi_fw/pipeline/multi_modal_combination_strategy.py,sha256=JSyuP71b1I1yuk0s2ecCJZTtCED85jBtkpwTUxibJvI,1706
87
87
  ddi_fw/pipeline/multi_pipeline.py,sha256=EjJnA3Vzd-WeEvUBaA2LDOy_iQ5-2eW2VhtxvvxDPfQ,9857
88
88
  ddi_fw/pipeline/multi_pipeline_org.py,sha256=AbErwu05-3YIPnCcXRsj-jxPJG8HG2H7cMZlGjzaYa8,9037
89
- ddi_fw/pipeline/ner_pipeline.py,sha256=8PKTnpD2jw9AlpLScwmlvafCm73hOmcbzAkrxNNR7tE,7240
89
+ ddi_fw/pipeline/ner_pipeline.py,sha256=EhM9A4AarpLASDMf4TDUCYFOESB-V3jEj77KskTqjXw,7368
90
90
  ddi_fw/pipeline/pipeline.py,sha256=q1kMkW9-fOlrA4BOGUku40U_PuEYfcbtH2EvlRM4uTM,6243
91
91
  ddi_fw/utils/__init__.py,sha256=WNxkQXk-694roG50D355TGLXstfdWVb_tUyr-PM-8rg,537
92
92
  ddi_fw/utils/categorical_data_encoding_checker.py,sha256=T1X70Rh4atucAuqyUZmz-iFULllY9dY0NRyV9-jTjJ0,3438
@@ -101,7 +101,7 @@ ddi_fw/utils/zip_helper.py,sha256=YRZA4tKZVBJwGQM0_WK6L-y5MoqkKoC-nXuuHK6CU9I,55
101
101
  ddi_fw/vectorization/__init__.py,sha256=LcJOpLVoLvHPDw9phGFlUQGeNcST_zKV-Oi1Pm5h_nE,110
102
102
  ddi_fw/vectorization/feature_vector_generation.py,sha256=93G3QM28uoNlvlVz_BhV6ARxldpogiNJStxHdsgqTbU,6026
103
103
  ddi_fw/vectorization/idf_helper.py,sha256=_Gd1dtDSLaw8o-o0JugzSKMt9FpeXewTh4wGEaUd4VQ,2571
104
- ddi_fw-0.0.230.dist-info/METADATA,sha256=X5O1lK9xbfCA5wvuWOWGPWJ_Jkpad8b99cd2Wos1A6E,2632
105
- ddi_fw-0.0.230.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
106
- ddi_fw-0.0.230.dist-info/top_level.txt,sha256=PMwHICFZTZtcpzQNPV4UQnfNXYIeLR_Ste-Wfc1h810,7
107
- ddi_fw-0.0.230.dist-info/RECORD,,
104
+ ddi_fw-0.0.231.dist-info/METADATA,sha256=Cn7cy18IY6LxKcWxUf4Iad7ipvVZBQ0ZF5dwJnXwA08,2632
105
+ ddi_fw-0.0.231.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
106
+ ddi_fw-0.0.231.dist-info/top_level.txt,sha256=PMwHICFZTZtcpzQNPV4UQnfNXYIeLR_Ste-Wfc1h810,7
107
+ ddi_fw-0.0.231.dist-info/RECORD,,