ddi-fw 0.0.155__py3-none-any.whl → 0.0.158__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.
@@ -60,7 +60,6 @@ class DDIMDLDataset(TextDatasetMixin):
60
60
  return values
61
61
 
62
62
  def __init__(self, **kwargs):
63
- logger.info(f'{self.dataset_name} is being initialized')
64
63
 
65
64
  super().__init__(**kwargs)
66
65
  self.class_column = 'event_category'
@@ -35,7 +35,7 @@ class SimilarityMatrixGenerator:
35
35
  return jaccard_sim_matrix
36
36
 
37
37
  # https://github.com/YifanDengWHU/DDIMDL/blob/master/DDIMDL.py , def Jaccard(matrix):
38
- def create_jaccard_similarity_matrices(self, matrix):
38
+ def create_jaccard_similarity_matrices(self, matrix)->np.ndarray:
39
39
  matrix = np.mat(matrix)
40
40
  numerator = matrix * matrix.T
41
41
  denominator = np.ones(np.shape(matrix)) * matrix.T + \
@@ -0,0 +1,69 @@
1
+ Metadata-Version: 2.4
2
+ Name: ddi_fw
3
+ Version: 0.0.158
4
+ Summary: Do not use :)
5
+ Author-email: Kıvanç Bayraktar <bayraktarkivanc@gmail.com>
6
+ Maintainer-email: Kıvanç Bayraktar <bayraktarkivanc@gmail.com>
7
+ Keywords: Machine Learning
8
+ Classifier: Development Status :: 1 - Planning
9
+ Classifier: Environment :: Console
10
+ Classifier: Intended Audience :: Science/Research
11
+ Classifier: License :: OSI Approved :: MIT License
12
+ Classifier: Operating System :: OS Independent
13
+ Classifier: Framework :: Pytest
14
+ Classifier: Framework :: tox
15
+ Classifier: Framework :: Sphinx
16
+ Classifier: Programming Language :: Python
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3 :: Only
19
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
20
+ Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
21
+ Classifier: Topic :: Scientific/Engineering :: Information Analysis
22
+ Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
23
+ Requires-Python: >=3.10
24
+ Description-Content-Type: text/markdown
25
+ Requires-Dist: tqdm>=4.66.6
26
+ Requires-Dist: pandas>=2.2.0
27
+ Provides-Extra: llm
28
+ Requires-Dist: sentence-transformers<=3.3.1,>=3.0.1; extra == "llm"
29
+ Requires-Dist: transformers>=4.42.4; extra == "llm"
30
+ Requires-Dist: stanza==1.9.2; extra == "llm"
31
+ Requires-Dist: tokenizers>=0.19.1; extra == "llm"
32
+ Requires-Dist: openai>=1.52.2; extra == "llm"
33
+ Requires-Dist: langchain>=0.3.4; extra == "llm"
34
+ Requires-Dist: langchain_community==0.3.3; extra == "llm"
35
+ Provides-Extra: ml
36
+ Requires-Dist: scikit-learn==1.5.2; extra == "ml"
37
+ Requires-Dist: tensorflow<2.18.0,>=2.17.0; extra == "ml"
38
+ Requires-Dist: tf-keras==2.17.0; extra == "ml"
39
+ Requires-Dist: mlflow==2.16.1; extra == "ml"
40
+ Requires-Dist: accelerate>=0.33.0; extra == "ml"
41
+ Requires-Dist: numpy>=1.26.4; extra == "ml"
42
+ Requires-Dist: scipy==1.13.1; extra == "ml"
43
+ Requires-Dist: pandas>=2.2.0; extra == "ml"
44
+ Requires-Dist: plotly==5.24.1; extra == "ml"
45
+ Requires-Dist: matplotlib==3.8.0; extra == "ml"
46
+ Requires-Dist: rdkit==2023.3.3; extra == "ml"
47
+ Requires-Dist: datasets==3.0.2; extra == "ml"
48
+ Requires-Dist: tqdm>=4.66.6; extra == "ml"
49
+ Provides-Extra: datasets
50
+ Requires-Dist: datasets==3.0.2; extra == "datasets"
51
+ Requires-Dist: unstructured==0.16.3; extra == "datasets"
52
+ Requires-Dist: py7zr==0.22.0; extra == "datasets"
53
+ Requires-Dist: xmlschema==3.4.2; extra == "datasets"
54
+ Provides-Extra: drugbank
55
+ Requires-Dist: rdkit==2023.3.3; extra == "drugbank"
56
+ Requires-Dist: openai>=1.52.2; extra == "drugbank"
57
+ Provides-Extra: pipeline-and-ner
58
+ Requires-Dist: nltk>=3.8.1; extra == "pipeline-and-ner"
59
+ Requires-Dist: stanza==1.9.2; extra == "pipeline-and-ner"
60
+ Requires-Dist: transformers>=4.42.4; extra == "pipeline-and-ner"
61
+ Requires-Dist: sentence-transformers<=3.3.1,>=3.0.1; extra == "pipeline-and-ner"
62
+ Requires-Dist: mlflow==2.16.1; extra == "pipeline-and-ner"
63
+ Provides-Extra: utils
64
+ Requires-Dist: pydantic==2.10.6; extra == "utils"
65
+ Requires-Dist: python-stopwatch==1.1.11; extra == "utils"
66
+ Requires-Dist: importlib-resources==6.4.5; extra == "utils"
67
+ Requires-Dist: lxml==5.3.0; extra == "utils"
68
+ Requires-Dist: pyarrow==17.0.0; extra == "utils"
69
+ Requires-Dist: pycryptodomex==3.22.0; extra == "utils"
@@ -3,10 +3,10 @@ ddi_fw/datasets/core.py,sha256=vRMpUsIHIbOKi-6TuUPNu1Ve3ny3cS9hdsydQxFCNvE,8078
3
3
  ddi_fw/datasets/dataset_splitter.py,sha256=8H8uZTAf8N9LUZeSeHOMawtJFJhnDgUUqFcnl7dquBQ,1672
4
4
  ddi_fw/datasets/db_utils.py,sha256=OTsa3d-Iic7z3HmzSQK9UigedRbHDxYChJk0s4GfLnw,6191
5
5
  ddi_fw/datasets/embedding_generator.py,sha256=jiDKwLaPMaQkloxQkuCrhl-A-2OdvocmkSzjWtUnk4g,2255
6
- ddi_fw/datasets/feature_vector_generation.py,sha256=gvjpEzkgVV8dp4V8NMMv59u0v-1tNAJ7v83R-keWGoA,4748
6
+ ddi_fw/datasets/feature_vector_generation.py,sha256=Z1A_DOBqDFPqLN4YB-3oYlOQWJK-X6Oes6UFjpzR47Q,4760
7
7
  ddi_fw/datasets/idf_helper.py,sha256=_Gd1dtDSLaw8o-o0JugzSKMt9FpeXewTh4wGEaUd4VQ,2571
8
8
  ddi_fw/datasets/setup_._py,sha256=khYVJuW5PlOY_i_A16F3UbSZ6s6o_ljw33Byw3C-A8E,1047
9
- ddi_fw/datasets/ddi_mdl/base.py,sha256=hk2DC4Xj-7vYu6m1qTYuBS0s3KP7jBrhAjQJofHP0WU,9537
9
+ ddi_fw/datasets/ddi_mdl/base.py,sha256=yLxNzDYjLekq1qE6mKh6WkzUU5Xvn3JBEET9Ed-7b_E,9471
10
10
  ddi_fw/datasets/ddi_mdl/debug.log,sha256=eWz05j8RFqZuHFDTCF7Rck5w4rvtTanFN21iZsgxO7Y,115
11
11
  ddi_fw/datasets/ddi_mdl/readme.md,sha256=WC6lpmsEKvIISnZqENY7TWtzCQr98HPpE3oRsBl8pIw,625
12
12
  ddi_fw/datasets/ddi_mdl/data/event.db,sha256=cmlSsf9MYjRzqR-mw3cUDnTnfT6FkpOG2yCl2mMwwew,30580736
@@ -97,7 +97,7 @@ ddi_fw/utils/package_helper.py,sha256=erl8_onmhK-41zQoaED2qyDUV9GQxmT9sdoyRp9_q5
97
97
  ddi_fw/utils/py7zr_helper.py,sha256=gOqaFIyJvTjUM-btO2x9AQ69jZOS8PoKN0wetYIckJw,4747
98
98
  ddi_fw/utils/utils.py,sha256=szwnxMTDRrZoeNRyDuf3aCbtzriwtaRk4mHSH3asLdA,4301
99
99
  ddi_fw/utils/zip_helper.py,sha256=YRZA4tKZVBJwGQM0_WK6L-y5MoqkKoC-nXuuHK6CU9I,5567
100
- ddi_fw-0.0.155.dist-info/METADATA,sha256=Eko-GWtTpFIvR_X4flADahxqTxPXYQ5Ei2TS8XuTEto,2082
101
- ddi_fw-0.0.155.dist-info/WHEEL,sha256=DK49LOLCYiurdXXOXwGJm6U4DkHkg4lcxjhqwRa0CP4,91
102
- ddi_fw-0.0.155.dist-info/top_level.txt,sha256=PMwHICFZTZtcpzQNPV4UQnfNXYIeLR_Ste-Wfc1h810,7
103
- ddi_fw-0.0.155.dist-info/RECORD,,
100
+ ddi_fw-0.0.158.dist-info/METADATA,sha256=bF5QmH1M2hqitOK5Xriathg4yyngK5xshU8o8T3Iwns,3232
101
+ ddi_fw-0.0.158.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
102
+ ddi_fw-0.0.158.dist-info/top_level.txt,sha256=PMwHICFZTZtcpzQNPV4UQnfNXYIeLR_Ste-Wfc1h810,7
103
+ ddi_fw-0.0.158.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (78.0.2)
2
+ Generator: setuptools (78.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,54 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: ddi_fw
3
- Version: 0.0.155
4
- Summary: Do not use :)
5
- Author-email: Kıvanç Bayraktar <bayraktarkivanc@gmail.com>
6
- Maintainer-email: Kıvanç Bayraktar <bayraktarkivanc@gmail.com>
7
- Keywords: Machine Learning
8
- Classifier: Development Status :: 1 - Planning
9
- Classifier: Environment :: Console
10
- Classifier: Intended Audience :: Science/Research
11
- Classifier: License :: OSI Approved :: MIT License
12
- Classifier: Operating System :: OS Independent
13
- Classifier: Framework :: Pytest
14
- Classifier: Framework :: tox
15
- Classifier: Framework :: Sphinx
16
- Classifier: Programming Language :: Python
17
- Classifier: Programming Language :: Python :: 3.8
18
- Classifier: Programming Language :: Python :: 3 :: Only
19
- Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
20
- Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
21
- Classifier: Topic :: Scientific/Engineering :: Information Analysis
22
- Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
23
- Requires-Python: >=3.10
24
- Description-Content-Type: text/markdown
25
- Requires-Dist: pydantic==2.10.6
26
- Requires-Dist: importlib-resources==6.4.5
27
- Requires-Dist: python-stopwatch==1.1.11
28
- Requires-Dist: lxml==5.3.0
29
- Requires-Dist: matplotlib==3.8.0
30
- Requires-Dist: mlflow==2.16.1
31
- Requires-Dist: nltk>=3.8.1
32
- Requires-Dist: numpy>=1.26.4
33
- Requires-Dist: pandas>=2.2.0
34
- Requires-Dist: plotly==5.24.1
35
- Requires-Dist: rdkit==2023.3.3
36
- Requires-Dist: scikit-learn==1.5.2
37
- Requires-Dist: scipy==1.13.1
38
- Requires-Dist: accelerate>=0.33.0
39
- Requires-Dist: sentence-transformers<=3.3.1,>=3.0.1
40
- Requires-Dist: transformers>=4.42.4
41
- Requires-Dist: stanza==1.9.2
42
- Requires-Dist: tokenizers>=0.19.1
43
- Requires-Dist: tqdm>=4.66.6
44
- Requires-Dist: xmlschema==3.4.2
45
- Requires-Dist: zipp>=3.20.2
46
- Requires-Dist: py7zr==0.22.0
47
- Requires-Dist: openai>=1.52.2
48
- Requires-Dist: langchain>=0.3.4
49
- Requires-Dist: chromadb>=0.5.15
50
- Requires-Dist: langchain_community==0.3.3
51
- Requires-Dist: datasets==3.0.2
52
- Requires-Dist: unstructured==0.16.3
53
- Requires-Dist: tensorflow<2.18.0,>=2.17.0
54
- Requires-Dist: tf-keras==2.17.0