ddi-fw 0.0.223__py3-none-any.whl → 0.0.225__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.
ddi_fw/ml/ml_helper.py CHANGED
@@ -119,13 +119,15 @@ class MultiModalRunner:
119
119
 
120
120
  def _f():
121
121
  self.__predict(single_results)
122
+ if combinations:
123
+ self.evaluate_combinations(single_results, combinations)
122
124
 
123
125
  if self.tracking_service:
124
126
  self.tracking_service.run(run_name=self.prefix, description="***", func = _f , nested_run=False)
125
127
  else:
126
128
  self.__predict(single_results)
127
- if combinations:
128
- self.evaluate_combinations(single_results, combinations)
129
+ if combinations:
130
+ self.evaluate_combinations(single_results, combinations)
129
131
  # TODO: sum'a gerek yok
130
132
  return self.result
131
133
 
@@ -138,7 +140,10 @@ class MultiModalRunner:
138
140
  single_results, combination, combination_descriptor, artifact_uri
139
141
  )
140
142
 
141
- self.tracking_service.run(run_name=combination_descriptor, description="***", nested_run=True, func=evaluate_combination)
143
+ self.tracking_service.run(run_name=combination_descriptor,
144
+ description="***",
145
+ nested_run=True,
146
+ func=evaluate_combination)
142
147
 
143
148
  # with mlflow.start_run(run_name=combination_descriptor, description="***", nested=True) as combination_run:
144
149
  # self.__evaluate_combinations(
@@ -105,8 +105,10 @@ class Pipeline(BaseModel):
105
105
  # X_train, X_test, y_train, y_test, train_indexes, test_indexes, train_idx_arr, val_idx_arr = dataset.load()
106
106
 
107
107
  dataset.load()
108
-
108
+
109
109
  self._dataset = dataset
110
+ self._train_idx_arr = dataset.train_idx_arr
111
+ self._val_idx_arr = dataset.val_idx_arr
110
112
 
111
113
  dataframe = dataset.dataframe
112
114
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ddi_fw
3
- Version: 0.0.223
3
+ Version: 0.0.225
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>
@@ -74,7 +74,7 @@ ddi_fw/langchain/sentence_splitter.py,sha256=h_bYElx4Ud1mwDNJfL7mUwvgadwKX3GKlSz
74
74
  ddi_fw/langchain/storage.py,sha256=OizKyWm74Js7T6Q9kez-ulUoBGzIMFo4R46h4kjUyIM,11200
75
75
  ddi_fw/ml/__init__.py,sha256=FteYEawCkVQOaK-cTv2VrHZ2ZnfeFr31BD6VucO7_DQ,268
76
76
  ddi_fw/ml/evaluation_helper.py,sha256=2-7CLSgGTqLEk4HkgCVIOt-GxfLAn6SBozJghAtHb5M,11581
77
- ddi_fw/ml/ml_helper.py,sha256=RbFUz4kLkqv6WUXXscDFtYBMWcmv7uWOf8YIR5DBfqA,7701
77
+ ddi_fw/ml/ml_helper.py,sha256=EXMmaSoSmP4RR1zyb1crBE8wwfJohHwWvOhelddtMhI,7945
78
78
  ddi_fw/ml/model_wrapper.py,sha256=38uBdHI4H_sjDKPWuhGXovUy_L1tpSNm5tEqCtwmlpY,973
79
79
  ddi_fw/ml/pytorch_wrapper.py,sha256=pe6UsjP2XeTgLxDnIUiodoyhJTGCxV27wD4Cjxysu2Q,8553
80
80
  ddi_fw/ml/tensorflow_wrapper.py,sha256=8hQitM6r0jVkSi4P5O4qjGYuJFT326JcojCrifVEF_M,16227
@@ -87,7 +87,7 @@ ddi_fw/pipeline/multi_modal_combination_strategy.py,sha256=JSyuP71b1I1yuk0s2ecCJ
87
87
  ddi_fw/pipeline/multi_pipeline.py,sha256=npJUXYT31fxD6kpJKSeixjbH5jNfPUwIVG7lRdBszRg,9852
88
88
  ddi_fw/pipeline/multi_pipeline_org.py,sha256=AbErwu05-3YIPnCcXRsj-jxPJG8HG2H7cMZlGjzaYa8,9037
89
89
  ddi_fw/pipeline/ner_pipeline.py,sha256=yp-Met2794EKcgr8_3gqt03l4v2efOdaZuAcIXTubvQ,5780
90
- ddi_fw/pipeline/pipeline.py,sha256=mCEiFwM80Gs6Uo7QFJNioFHwLTZcwoSVmc52Xos81XY,6133
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
93
93
  ddi_fw/utils/enums.py,sha256=19eJ3fX5eRK_xPvkYcukmug144jXPH4X9zQqtsFBj5A,671
@@ -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=EBf-XAiwQwr68az91erEYNegfeqssBR29kVgrliIyac,4765
103
103
  ddi_fw/vectorization/idf_helper.py,sha256=_Gd1dtDSLaw8o-o0JugzSKMt9FpeXewTh4wGEaUd4VQ,2571
104
- ddi_fw-0.0.223.dist-info/METADATA,sha256=xXSLdfvqySV-AHY6V1tKC7cMs6Dddp4w4ZPNUjoqoB4,2631
105
- ddi_fw-0.0.223.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
106
- ddi_fw-0.0.223.dist-info/top_level.txt,sha256=PMwHICFZTZtcpzQNPV4UQnfNXYIeLR_Ste-Wfc1h810,7
107
- ddi_fw-0.0.223.dist-info/RECORD,,
104
+ ddi_fw-0.0.225.dist-info/METADATA,sha256=Oco3hzLa5jxJN2MLpaWtqzDeYALwV5g5pR-zK_GU4aE,2631
105
+ ddi_fw-0.0.225.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
106
+ ddi_fw-0.0.225.dist-info/top_level.txt,sha256=PMwHICFZTZtcpzQNPV4UQnfNXYIeLR_Ste-Wfc1h810,7
107
+ ddi_fw-0.0.225.dist-info/RECORD,,