gyb-classification-model 0.1.4__py3-none-any.whl → 0.1.6__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.
@@ -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, "vectorizerV27.pkl"), "rb") as f:
20
+ with open(os.path.join(base_path, "vectorizerV28.pkl"), "rb") as f:
21
21
  tfidf_vectorizer = pickle.load(f)
22
22
 
23
- with open(os.path.join(base_path, "label_mapV27.pkl"), "rb") as f:
23
+ with open(os.path.join(base_path, "label_mapV28.pkl"), "rb") as f:
24
24
  reverse_label_map = pickle.load(f)
25
25
 
26
- with open(os.path.join(base_path, "textClassificationModelV27.pkl"), "rb") as f:
26
+ with open(os.path.join(base_path, "textClassificationModelV28.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, "MedicalReportVectorizerV8.pkl"), "rb") as f:
42
+ with open(os.path.join(base_path, "MedicalReportVectorizerV9.pkl"), "rb") as f:
43
43
  medical_vectorizer = pickle.load(f)
44
44
 
45
- with open(os.path.join(base_path, "MedicalReportLabelMapV8.pkl"), "rb") as f:
45
+ with open(os.path.join(base_path, "MedicalReportLabelMapV9.pkl"), "rb") as f:
46
46
  reverse_medical_map = pickle.load(f)
47
47
 
48
- with open(os.path.join(base_path, "MedicalReportClassifierV8.pkl"), "rb") as f:
48
+ with open(os.path.join(base_path, "MedicalReportClassifierV9.pkl"), "rb") as f:
49
49
  medical_model = pickle.load(f)
50
50
 
51
51
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gyb-classification-model
3
- Version: 0.1.4
3
+ Version: 0.1.6
4
4
  Summary: ML classification models package
5
5
  Home-page: https://github.com/GreenBills/GYB-Classification-Model
6
6
  Author: Hrutik-M
@@ -23,22 +23,26 @@ Dynamic: requires-dist
23
23
  Dynamic: requires-python
24
24
  Dynamic: summary
25
25
 
26
- GYB Classification Model
26
+ # GYB Classification Model
27
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.
28
+ `gyb_classification_model` is a Python package for classifying medical documents. It provides a simple interface so you can run predictions directly on raw text.
30
29
 
31
- 📦 Installation
30
+ ## 📦 Installation
31
+
32
+ ```bash
32
33
  pip install gyb-classification-model
34
+ ```
33
35
 
36
+ ## 🚀 Usage
34
37
 
35
- 🚀 Usage
38
+ ```python
36
39
  from gyb_classification_model import predictor
37
40
 
38
41
  text = '''
39
- 18 19 20 L.HAIG BEMBRY SIDER,JEFFREY # 3 Left Shoulder Arthroscopy 7/24/2025
40
- '''
42
+ 18 19 20 L.HAIG BEMBRY SIDER,JEFFREY # 3 Left Shoulder Arthroscopy 7/24/2025
43
+ '''
41
44
 
42
- predictor = predictor.predict_text(text)
45
+ prediction = predictor.predict_text(text)
43
46
 
44
- print(predictor)
47
+ print(prediction)
48
+ ```
@@ -0,0 +1,16 @@
1
+ gyb_classification_model/__init__.py,sha256=BmCaBc8PZ9FMpP_7QvJs9F5X-qLhLw5BpixkryN4eq4,36
2
+ gyb_classification_model/predictor.py,sha256=JAUE8FJsh0FBdLLvFZnQV8MmHywEK_4TBf0AqXYChpg,4323
3
+ gyb_classification_model-0.1.6.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
4
+ models/MedicalReportClassifierV9.pkl,sha256=3vUstfbv4oqM2-ct41JzMNWgrmKGXR3-qJ2tN96cmg4,14317849
5
+ models/MedicalReportLabelMapV9.pkl,sha256=Xad4MdlAEK_0f5WXKjHOAeWN3Z__G97dsCpxZqP5Xck,752
6
+ models/MedicalReportVectorizerV9.pkl,sha256=gLW-vFCEhkV7Xao5ZJOGGFymf3K2PBgyCpp4bGBTAPk,945673
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_mapV28.pkl,sha256=ovZqFLzel6qObDBnb2qcMQdagvN10hITXdGOroJEjug,482
11
+ models/textClassificationModelV28.pkl,sha256=GyDRan8ZaJlzLK8nqd7kNs5CbD4jvJO5i5DXZPCJHEY,1996636
12
+ models/vectorizerV28.pkl,sha256=7Edbd3sTeb1r3QDgJ0O4jAbcNwd-Co42FOVrQ3ndQCw,7796262
13
+ gyb_classification_model-0.1.6.dist-info/METADATA,sha256=MXZtfgAV3cU-qUDdWHuiojULn1tAEB_63IKguvGJN5o,1167
14
+ gyb_classification_model-0.1.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
15
+ gyb_classification_model-0.1.6.dist-info/top_level.txt,sha256=epvMQ2IrnBRlZuewbS8jG-nrwUbVNSJG63tCXePnu1U,25
16
+ gyb_classification_model-0.1.6.dist-info/RECORD,,
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,16 +0,0 @@
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 DELETED
Binary file
File without changes