ddi-fw 0.0.234__py3-none-any.whl → 0.0.236__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.
@@ -200,6 +200,7 @@ class MultiPipeline():
200
200
  umls_code_types = None,
201
201
  text_types = None,
202
202
  columns=columns,
203
+ default_model=default_model,
203
204
  multi_modal= multi_modal
204
205
  )
205
206
 
@@ -3,6 +3,7 @@ import numpy as np
3
3
  import pandas as pd
4
4
  from scipy.spatial.distance import pdist, squareform
5
5
  from sklearn.preprocessing import MultiLabelBinarizer
6
+ import cupy as cp
6
7
 
7
8
  # todo pd.unique kullan
8
9
  def find_distinct_elements(frame):
@@ -50,6 +51,7 @@ class SimilarityMatrixGenerator:
50
51
 
51
52
  def create_jaccard_similarity_matrices(self, matrix: np.ndarray)->np.ndarray:
52
53
  if self.use_gpu:
54
+ print("Using GPU for Jaccard similarity matrix computation.")
53
55
  return self.__create_jaccard_similarity_matrices_gpu(matrix)
54
56
  else:
55
57
  return self.__create_jaccard_similarity_matrices(matrix)
@@ -84,7 +86,6 @@ class SimilarityMatrixGenerator:
84
86
 
85
87
  return similarity
86
88
 
87
- import cupy as cp
88
89
 
89
90
  def __create_jaccard_similarity_matrices_gpu(self,matrix: np.ndarray) -> np.ndarray:
90
91
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ddi_fw
3
- Version: 0.0.234
3
+ Version: 0.0.236
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>
@@ -84,7 +84,7 @@ ddi_fw/ner/mmlrestclient.py,sha256=NZta7m2Qm6I_qtVguMZhqtAUjVBmmXn0-TMnsNp0jpg,6
84
84
  ddi_fw/ner/ner.py,sha256=FHyyX53Xwpdw8Hec261dyN88yD7Z9LmJua2mIrQLguI,17967
85
85
  ddi_fw/pipeline/__init__.py,sha256=tKDM_rW4vPjlYTeOkNgi9PujDzb4e9O3LK1w5wqnebw,212
86
86
  ddi_fw/pipeline/multi_modal_combination_strategy.py,sha256=JSyuP71b1I1yuk0s2ecCJZTtCED85jBtkpwTUxibJvI,1706
87
- ddi_fw/pipeline/multi_pipeline.py,sha256=EjJnA3Vzd-WeEvUBaA2LDOy_iQ5-2eW2VhtxvvxDPfQ,9857
87
+ ddi_fw/pipeline/multi_pipeline.py,sha256=aDK9f4uo2brjCDVVuaiOHDUO1gZ76eKwz1e8RzK6CXU,9903
88
88
  ddi_fw/pipeline/multi_pipeline_org.py,sha256=AbErwu05-3YIPnCcXRsj-jxPJG8HG2H7cMZlGjzaYa8,9037
89
89
  ddi_fw/pipeline/ner_pipeline.py,sha256=1gBk81LeZlU1rhjJ1qBgHbFt_HqOeJ5WLnJ4AkYku4s,8188
90
90
  ddi_fw/pipeline/pipeline.py,sha256=q1kMkW9-fOlrA4BOGUku40U_PuEYfcbtH2EvlRM4uTM,6243
@@ -99,9 +99,9 @@ ddi_fw/utils/py7zr_helper.py,sha256=gOqaFIyJvTjUM-btO2x9AQ69jZOS8PoKN0wetYIckJw,
99
99
  ddi_fw/utils/utils.py,sha256=PY-zDawREKoXQfzX7lVkxBLVFQPkfvr9385kHCjaNXo,4391
100
100
  ddi_fw/utils/zip_helper.py,sha256=YRZA4tKZVBJwGQM0_WK6L-y5MoqkKoC-nXuuHK6CU9I,5567
101
101
  ddi_fw/vectorization/__init__.py,sha256=LcJOpLVoLvHPDw9phGFlUQGeNcST_zKV-Oi1Pm5h_nE,110
102
- ddi_fw/vectorization/feature_vector_generation.py,sha256=-M8Y82mKZB6kwhJHvPgmQZSwUCheTLbb5zYuEtHZC1Y,7623
102
+ ddi_fw/vectorization/feature_vector_generation.py,sha256=QQQGhCti653BdU343Ag1bH_g1fzi2hlic7dgNy7otjE,7694
103
103
  ddi_fw/vectorization/idf_helper.py,sha256=_Gd1dtDSLaw8o-o0JugzSKMt9FpeXewTh4wGEaUd4VQ,2571
104
- ddi_fw-0.0.234.dist-info/METADATA,sha256=DxrU3PdEv-7FKmZ3bJ4OAI465EsN-sKaxDnTQSTO19A,2632
105
- ddi_fw-0.0.234.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
106
- ddi_fw-0.0.234.dist-info/top_level.txt,sha256=PMwHICFZTZtcpzQNPV4UQnfNXYIeLR_Ste-Wfc1h810,7
107
- ddi_fw-0.0.234.dist-info/RECORD,,
104
+ ddi_fw-0.0.236.dist-info/METADATA,sha256=lmArNXG4RXUjwhmbmyVuz7MjXmGeQPsNcxqTAkCuT_4,2632
105
+ ddi_fw-0.0.236.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
106
+ ddi_fw-0.0.236.dist-info/top_level.txt,sha256=PMwHICFZTZtcpzQNPV4UQnfNXYIeLR_Ste-Wfc1h810,7
107
+ ddi_fw-0.0.236.dist-info/RECORD,,