gyb-classification-model 0.1.2__py3-none-any.whl → 0.1.4__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.
- gyb_classification_model/predictor.py +6 -6
- gyb_classification_model-0.1.4.dist-info/METADATA +44 -0
- gyb_classification_model-0.1.4.dist-info/RECORD +16 -0
- models/MedicalReportClassifierV8.pkl +0 -0
- models/{MedicalReportLabelMapV6.pkl → MedicalReportLabelMapV8.pkl} +0 -0
- models/MedicalReportVectorizerV8.pkl +0 -0
- models/textClassificationModelV27.pkl +0 -0
- models/vectorizerV27.pkl +0 -0
- gyb_classification_model-0.1.2.dist-info/METADATA +0 -19
- gyb_classification_model-0.1.2.dist-info/RECORD +0 -16
- models/MedicalReportClassifierV6.pkl +0 -0
- models/MedicalReportVectorizerV6.pkl +0 -0
- models/textClassificationModelV26.pkl +0 -0
- models/vectorizerV26.pkl +0 -0
- {gyb_classification_model-0.1.2.dist-info → gyb_classification_model-0.1.4.dist-info}/WHEEL +0 -0
- {gyb_classification_model-0.1.2.dist-info → gyb_classification_model-0.1.4.dist-info}/licenses/LICENSE +0 -0
- {gyb_classification_model-0.1.2.dist-info → gyb_classification_model-0.1.4.dist-info}/top_level.txt +0 -0
- /models/{label_mapV26.pkl → label_mapV27.pkl} +0 -0
@@ -17,13 +17,13 @@ script_dir = os.path.dirname(os.path.abspath(__file__))
|
|
17
17
|
base_path = os.path.abspath(os.path.join(script_dir, '../models'))
|
18
18
|
|
19
19
|
# Load files
|
20
|
-
with open(os.path.join(base_path, "
|
20
|
+
with open(os.path.join(base_path, "vectorizerV27.pkl"), "rb") as f:
|
21
21
|
tfidf_vectorizer = pickle.load(f)
|
22
22
|
|
23
|
-
with open(os.path.join(base_path, "
|
23
|
+
with open(os.path.join(base_path, "label_mapV27.pkl"), "rb") as f:
|
24
24
|
reverse_label_map = pickle.load(f)
|
25
25
|
|
26
|
-
with open(os.path.join(base_path, "
|
26
|
+
with open(os.path.join(base_path, "textClassificationModelV27.pkl"), "rb") as f:
|
27
27
|
model = pickle.load(f)
|
28
28
|
|
29
29
|
|
@@ -39,13 +39,13 @@ with open(os.path.join(base_path, "OnlyDeliverSlipPharmOrderModelV4.pkl"), "rb")
|
|
39
39
|
|
40
40
|
|
41
41
|
# Load files for Medical Reports
|
42
|
-
with open(os.path.join(base_path, "
|
42
|
+
with open(os.path.join(base_path, "MedicalReportVectorizerV8.pkl"), "rb") as f:
|
43
43
|
medical_vectorizer = pickle.load(f)
|
44
44
|
|
45
|
-
with open(os.path.join(base_path, "
|
45
|
+
with open(os.path.join(base_path, "MedicalReportLabelMapV8.pkl"), "rb") as f:
|
46
46
|
reverse_medical_map = pickle.load(f)
|
47
47
|
|
48
|
-
with open(os.path.join(base_path, "
|
48
|
+
with open(os.path.join(base_path, "MedicalReportClassifierV8.pkl"), "rb") as f:
|
49
49
|
medical_model = pickle.load(f)
|
50
50
|
|
51
51
|
|
@@ -0,0 +1,44 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: gyb-classification-model
|
3
|
+
Version: 0.1.4
|
4
|
+
Summary: ML classification models package
|
5
|
+
Home-page: https://github.com/GreenBills/GYB-Classification-Model
|
6
|
+
Author: Hrutik-M
|
7
|
+
Author-email: hrutik.m@codearray.tech
|
8
|
+
Requires-Python: >=3.10
|
9
|
+
Description-Content-Type: text/markdown
|
10
|
+
License-File: LICENSE
|
11
|
+
Requires-Dist: pandas==2.2.3
|
12
|
+
Requires-Dist: scikit-learn==1.6.1
|
13
|
+
Requires-Dist: seaborn==0.13.2
|
14
|
+
Requires-Dist: nltk==3.9.1
|
15
|
+
Requires-Dist: xgboost==3.0.0
|
16
|
+
Dynamic: author
|
17
|
+
Dynamic: author-email
|
18
|
+
Dynamic: description
|
19
|
+
Dynamic: description-content-type
|
20
|
+
Dynamic: home-page
|
21
|
+
Dynamic: license-file
|
22
|
+
Dynamic: requires-dist
|
23
|
+
Dynamic: requires-python
|
24
|
+
Dynamic: summary
|
25
|
+
|
26
|
+
GYB Classification Model
|
27
|
+
|
28
|
+
gyb_classification_model is a Python package for classifying medical documents.
|
29
|
+
It provides a simple interface so you can run predictions directly on raw text.
|
30
|
+
|
31
|
+
📦 Installation
|
32
|
+
pip install gyb-classification-model
|
33
|
+
|
34
|
+
|
35
|
+
🚀 Usage
|
36
|
+
from gyb_classification_model import predictor
|
37
|
+
|
38
|
+
text = '''
|
39
|
+
18 19 20 L.HAIG BEMBRY SIDER,JEFFREY # 3 Left Shoulder Arthroscopy 7/24/2025
|
40
|
+
'''
|
41
|
+
|
42
|
+
predictor = predictor.predict_text(text)
|
43
|
+
|
44
|
+
print(predictor)
|
@@ -0,0 +1,16 @@
|
|
1
|
+
gyb_classification_model/__init__.py,sha256=BmCaBc8PZ9FMpP_7QvJs9F5X-qLhLw5BpixkryN4eq4,36
|
2
|
+
gyb_classification_model/predictor.py,sha256=PxUeh8zOqWNgrMdqrAArfOEd8DUxFDIg1_Nf-5lZ0eQ,4323
|
3
|
+
gyb_classification_model-0.1.4.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
4
|
+
models/MedicalReportClassifierV8.pkl,sha256=pT3xqcyoRI4seHIYtozuMGOdluYw6tfmVxXRknA381o,12888713
|
5
|
+
models/MedicalReportLabelMapV8.pkl,sha256=5p2v7I83PhtQiV5Ph3_RhTRvHx9k5S3L4fBkY2gpC2M,688
|
6
|
+
models/MedicalReportVectorizerV8.pkl,sha256=K54rv89ap0RaZiNoSow3k923ifh8UL_DpsMx-DPvd1Q,945818
|
7
|
+
models/OnlyDeliverSlipPharmOrderModelV4.pkl,sha256=Glonp71H561tq3hxR9Fgm74GI3QZPVrzuh3Wby46hLQ,401961
|
8
|
+
models/OnlyDeliverSlipPharmOrderVectorizerV4.pkl,sha256=m1MykxWdAMkwC4qmcD4BnLkItJh2NFUf-0rby_wBY0Y,265450
|
9
|
+
models/OnlyDeliverSlipPharmOrderlabel_mapV4.pkl,sha256=4kcube3Wp1YPPm-13j-p4jEWAQJ4lvKCq61Yen5zvU8,173
|
10
|
+
models/label_mapV27.pkl,sha256=ovZqFLzel6qObDBnb2qcMQdagvN10hITXdGOroJEjug,482
|
11
|
+
models/textClassificationModelV27.pkl,sha256=5IsEdK3X7e0rSD31DXrayGPyY0MtPxY-I5Mx8mB8Dms,1319642
|
12
|
+
models/vectorizerV27.pkl,sha256=JPlXD1ZZ8iQVpv3DPOm_xm1C1DdMTydreJWNeSTR_Fg,7893843
|
13
|
+
gyb_classification_model-0.1.4.dist-info/METADATA,sha256=1m3FV1LNyIlgY11W28HE43ZtArBLr0qcn_WPDUrTpXI,1136
|
14
|
+
gyb_classification_model-0.1.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
15
|
+
gyb_classification_model-0.1.4.dist-info/top_level.txt,sha256=epvMQ2IrnBRlZuewbS8jG-nrwUbVNSJG63tCXePnu1U,25
|
16
|
+
gyb_classification_model-0.1.4.dist-info/RECORD,,
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
models/vectorizerV27.pkl
ADDED
Binary file
|
@@ -1,19 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.4
|
2
|
-
Name: gyb-classification-model
|
3
|
-
Version: 0.1.2
|
4
|
-
Summary: ML classification models package
|
5
|
-
Author: Hrutik-M
|
6
|
-
Author-email: hrutik.m@codearray.tech
|
7
|
-
Requires-Python: >=3.10
|
8
|
-
License-File: LICENSE
|
9
|
-
Requires-Dist: pandas==2.2.3
|
10
|
-
Requires-Dist: scikit-learn==1.6.1
|
11
|
-
Requires-Dist: seaborn==0.13.2
|
12
|
-
Requires-Dist: nltk==3.9.1
|
13
|
-
Requires-Dist: xgboost==3.0.0
|
14
|
-
Dynamic: author
|
15
|
-
Dynamic: author-email
|
16
|
-
Dynamic: license-file
|
17
|
-
Dynamic: requires-dist
|
18
|
-
Dynamic: requires-python
|
19
|
-
Dynamic: summary
|
@@ -1,16 +0,0 @@
|
|
1
|
-
gyb_classification_model/__init__.py,sha256=BmCaBc8PZ9FMpP_7QvJs9F5X-qLhLw5BpixkryN4eq4,36
|
2
|
-
gyb_classification_model/predictor.py,sha256=cXcM05p6e5y9kpRRSHqICF9Mnbj1cnHJnegWUKjL85c,4323
|
3
|
-
gyb_classification_model-0.1.2.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
4
|
-
models/MedicalReportClassifierV6.pkl,sha256=DwKqGBPpIk21Jnhl410LQO6ONgnv10zGkJGOZn8N-BA,7636289
|
5
|
-
models/MedicalReportLabelMapV6.pkl,sha256=uYkZc4XWEMTPowWapMidjTgPd0qkVs5sZETyqG6IQJ0,719
|
6
|
-
models/MedicalReportVectorizerV6.pkl,sha256=yyKSQVWGlH5KJbAE2tfvxpI1_W9BqXSLVzUPFn8eWHU,529882
|
7
|
-
models/OnlyDeliverSlipPharmOrderModelV4.pkl,sha256=Glonp71H561tq3hxR9Fgm74GI3QZPVrzuh3Wby46hLQ,401961
|
8
|
-
models/OnlyDeliverSlipPharmOrderVectorizerV4.pkl,sha256=m1MykxWdAMkwC4qmcD4BnLkItJh2NFUf-0rby_wBY0Y,265450
|
9
|
-
models/OnlyDeliverSlipPharmOrderlabel_mapV4.pkl,sha256=4kcube3Wp1YPPm-13j-p4jEWAQJ4lvKCq61Yen5zvU8,173
|
10
|
-
models/label_mapV26.pkl,sha256=ovZqFLzel6qObDBnb2qcMQdagvN10hITXdGOroJEjug,482
|
11
|
-
models/textClassificationModelV26.pkl,sha256=2ReDmDndr0wTyGB_fUZj2Hxj_FquD9rEgWmUXebidv0,1791388
|
12
|
-
models/vectorizerV26.pkl,sha256=OABMj9fuZ-iLCkp6wgZbagZJUggVkhMpXljqDyA6s_c,7597668
|
13
|
-
gyb_classification_model-0.1.2.dist-info/METADATA,sha256=TziJMv9u46TcCbeVGz0iD6c2FzcbpCEaUaMcR2eguuo,488
|
14
|
-
gyb_classification_model-0.1.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
15
|
-
gyb_classification_model-0.1.2.dist-info/top_level.txt,sha256=epvMQ2IrnBRlZuewbS8jG-nrwUbVNSJG63tCXePnu1U,25
|
16
|
-
gyb_classification_model-0.1.2.dist-info/RECORD,,
|
Binary file
|
Binary file
|
Binary file
|
models/vectorizerV26.pkl
DELETED
Binary file
|
File without changes
|
File without changes
|
{gyb_classification_model-0.1.2.dist-info → gyb_classification_model-0.1.4.dist-info}/top_level.txt
RENAMED
File without changes
|
File without changes
|