gyb-classification-model 0.1.8__tar.gz → 0.1.9__tar.gz

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.
Files changed (28) hide show
  1. {gyb_classification_model-0.1.8/gyb_classification_model.egg-info → gyb_classification_model-0.1.9}/PKG-INFO +1 -1
  2. {gyb_classification_model-0.1.8 → gyb_classification_model-0.1.9}/gyb_classification_model/predictor.py +3 -3
  3. {gyb_classification_model-0.1.8 → gyb_classification_model-0.1.9/gyb_classification_model.egg-info}/PKG-INFO +1 -1
  4. {gyb_classification_model-0.1.8 → gyb_classification_model-0.1.9}/gyb_classification_model.egg-info/SOURCES.txt +9 -9
  5. gyb_classification_model-0.1.8/models/label_mapV29.pkl → gyb_classification_model-0.1.9/models/label_mapV30.pkl +0 -0
  6. gyb_classification_model-0.1.9/models/textClassificationModelV30.pkl +0 -0
  7. gyb_classification_model-0.1.9/models/vectorizerV30.pkl +0 -0
  8. {gyb_classification_model-0.1.8 → gyb_classification_model-0.1.9}/setup.py +1 -1
  9. gyb_classification_model-0.1.9/test/test.py +9 -0
  10. gyb_classification_model-0.1.8/models/textClassificationModelV29.pkl +0 -0
  11. gyb_classification_model-0.1.8/models/vectorizerV29.pkl +0 -0
  12. gyb_classification_model-0.1.8/test/test.py +0 -9
  13. {gyb_classification_model-0.1.8 → gyb_classification_model-0.1.9}/LICENSE +0 -0
  14. {gyb_classification_model-0.1.8 → gyb_classification_model-0.1.9}/MANIFEST.in +0 -0
  15. {gyb_classification_model-0.1.8 → gyb_classification_model-0.1.9}/README.md +0 -0
  16. {gyb_classification_model-0.1.8 → gyb_classification_model-0.1.9}/app/__init__.py +0 -0
  17. {gyb_classification_model-0.1.8 → gyb_classification_model-0.1.9}/app/main.py +0 -0
  18. {gyb_classification_model-0.1.8 → gyb_classification_model-0.1.9}/gyb_classification_model/__init__.py +0 -0
  19. {gyb_classification_model-0.1.8 → gyb_classification_model-0.1.9}/gyb_classification_model.egg-info/dependency_links.txt +0 -0
  20. {gyb_classification_model-0.1.8 → gyb_classification_model-0.1.9}/gyb_classification_model.egg-info/requires.txt +0 -0
  21. {gyb_classification_model-0.1.8 → gyb_classification_model-0.1.9}/gyb_classification_model.egg-info/top_level.txt +0 -0
  22. {gyb_classification_model-0.1.8 → gyb_classification_model-0.1.9}/models/MedicalReportClassifierV10.pkl +0 -0
  23. {gyb_classification_model-0.1.8 → gyb_classification_model-0.1.9}/models/MedicalReportLabelMapV10.pkl +0 -0
  24. {gyb_classification_model-0.1.8 → gyb_classification_model-0.1.9}/models/MedicalReportVectorizerV10.pkl +0 -0
  25. {gyb_classification_model-0.1.8 → gyb_classification_model-0.1.9}/models/OnlyDeliverSlipPharmOrderModelV4.pkl +0 -0
  26. {gyb_classification_model-0.1.8 → gyb_classification_model-0.1.9}/models/OnlyDeliverSlipPharmOrderVectorizerV4.pkl +0 -0
  27. {gyb_classification_model-0.1.8 → gyb_classification_model-0.1.9}/models/OnlyDeliverSlipPharmOrderlabel_mapV4.pkl +0 -0
  28. {gyb_classification_model-0.1.8 → gyb_classification_model-0.1.9}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gyb-classification-model
3
- Version: 0.1.8
3
+ Version: 0.1.9
4
4
  Summary: ML classification models package
5
5
  Home-page: https://github.com/GreenBills/GYB-Classification-Model
6
6
  Author: Hrutik-M
@@ -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, "vectorizerV29.pkl"), "rb") as f:
20
+ with open(os.path.join(base_path, "vectorizerV30.pkl"), "rb") as f:
21
21
  tfidf_vectorizer = pickle.load(f)
22
22
 
23
- with open(os.path.join(base_path, "label_mapV29.pkl"), "rb") as f:
23
+ with open(os.path.join(base_path, "label_mapV30.pkl"), "rb") as f:
24
24
  reverse_label_map = pickle.load(f)
25
25
 
26
- with open(os.path.join(base_path, "textClassificationModelV29.pkl"), "rb") as f:
26
+ with open(os.path.join(base_path, "textClassificationModelV30.pkl"), "rb") as f:
27
27
  model = pickle.load(f)
28
28
 
29
29
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gyb-classification-model
3
- Version: 0.1.8
3
+ Version: 0.1.9
4
4
  Summary: ML classification models package
5
5
  Home-page: https://github.com/GreenBills/GYB-Classification-Model
6
6
  Author: Hrutik-M
@@ -10,9 +10,9 @@ app/../models/MedicalReportVectorizerV10.pkl
10
10
  app/../models/OnlyDeliverSlipPharmOrderModelV4.pkl
11
11
  app/../models/OnlyDeliverSlipPharmOrderVectorizerV4.pkl
12
12
  app/../models/OnlyDeliverSlipPharmOrderlabel_mapV4.pkl
13
- app/../models/label_mapV29.pkl
14
- app/../models/textClassificationModelV29.pkl
15
- app/../models/vectorizerV29.pkl
13
+ app/../models/label_mapV30.pkl
14
+ app/../models/textClassificationModelV30.pkl
15
+ app/../models/vectorizerV30.pkl
16
16
  gyb_classification_model/__init__.py
17
17
  gyb_classification_model/predictor.py
18
18
  gyb_classification_model.egg-info/PKG-INFO
@@ -26,16 +26,16 @@ gyb_classification_model/../models/MedicalReportVectorizerV10.pkl
26
26
  gyb_classification_model/../models/OnlyDeliverSlipPharmOrderModelV4.pkl
27
27
  gyb_classification_model/../models/OnlyDeliverSlipPharmOrderVectorizerV4.pkl
28
28
  gyb_classification_model/../models/OnlyDeliverSlipPharmOrderlabel_mapV4.pkl
29
- gyb_classification_model/../models/label_mapV29.pkl
30
- gyb_classification_model/../models/textClassificationModelV29.pkl
31
- gyb_classification_model/../models/vectorizerV29.pkl
29
+ gyb_classification_model/../models/label_mapV30.pkl
30
+ gyb_classification_model/../models/textClassificationModelV30.pkl
31
+ gyb_classification_model/../models/vectorizerV30.pkl
32
32
  models/MedicalReportClassifierV10.pkl
33
33
  models/MedicalReportLabelMapV10.pkl
34
34
  models/MedicalReportVectorizerV10.pkl
35
35
  models/OnlyDeliverSlipPharmOrderModelV4.pkl
36
36
  models/OnlyDeliverSlipPharmOrderVectorizerV4.pkl
37
37
  models/OnlyDeliverSlipPharmOrderlabel_mapV4.pkl
38
- models/label_mapV29.pkl
39
- models/textClassificationModelV29.pkl
40
- models/vectorizerV29.pkl
38
+ models/label_mapV30.pkl
39
+ models/textClassificationModelV30.pkl
40
+ models/vectorizerV30.pkl
41
41
  test/test.py
@@ -6,7 +6,7 @@ long_description = (curr_directory / "README.md").read_text()
6
6
 
7
7
  setup(
8
8
  name='gyb-classification-model', # Package name (what you'll pip install)
9
- version='0.1.8',
9
+ version='0.1.9',
10
10
  author='Hrutik-M',
11
11
  author_email='hrutik.m@codearray.tech',
12
12
  description='ML classification models package',
@@ -0,0 +1,9 @@
1
+ from gyb_classification_model import predictor
2
+
3
+ text = "*000804* LM General Insurance Company P.O. Box 5014 Scranton PA 18505-5014 - INJURY CARE CHIROPRACTIC 2167 E 21st St Ste 148 Brooklyn, NY, 11229-3607 Liberty Mutual® INSURANCE CONTACT US Melissa.Maldonado@LibertyMut ual.com Direct: (516) 479-0773 Fax: (888) 268-8840 LM General Insurance Company P.O. Box 5014 Scranton PA 18505-5014 United States (800) 225-2467 LibertyMutual.com July 29, 2025 Claim Number: Date of Incident: Claimant: 059251780-04 04/27/2025 ANNA SARIBEGOV Policy Number: AOS-221-630070-40 Dear Billing Department, We take our responsibility to our customers seriously, and part of that responsibility is keeping you informed. Recently we've had to delay the processing of your bill. The reason for this delay is we haven't yet received all necessary information to complete our investigation, which may include a recorded interview, signed statement, and/or Examination Under Oath from the driver and/or passenger(s) involved OR other parties involved or related to the occurrence. Additional documentation may also be requested at the time of the Examination Under Oath or thereafter which may impact the investigation of this claim. This is the second notice .. Billing Details Patient Account Number: 100884709 Date of Service: From: 05/21/2025 To: 05/21/2025 Bill Amount: $1,000.05 Bill ID: N2032570017 We're Here to Help If you have any questions, please contact me and I'll be happy to help. I can assist you more quickly if you reference the Claim No. 059251780-04 in all communications. *400000010001000001000804804* Sincerely, MELISSA MALDONADO Claims Department CWL0116 Status to Provider 059251780-04 Page 1 of 2 :"
4
+
5
+ # processed_text = predictor.preprocess_text(text)
6
+ category = predictor.predict_text(text)
7
+
8
+ print(category)
9
+
@@ -1,9 +0,0 @@
1
- from gyb_classification_model import predictor
2
-
3
- text = "Jordan Fersel MD PC 900 B East Tremont Ave, Bronx NY 10460 Phone No .: 347 918-8822 x FAX: 347 918-8821 x alva.gbtherapy@gmail.com PRESCRIPTIONS PATIENT DEMOGRAPHICS Patient: Jackson, Laverne DOB: 09-12-1968 Cell Phone: 347 977-5497 x Visit Date: 08-08-2025 PHARMACY: TURNPIKE MEDS RX INC Tel: 7187499915 Fax: 7187499916 Allergies: No Known Drug Allergies. GUARANTOR & INSURANCE INFORMATION Insurance: Old Republic Insurance Company Guarantor: Jackson, Laverne START DATE 08-13-2025 MEDICATION SIG REFILLS diclofenac potassium 25 mg tablet 1 Tablet Twice A Day PRN for 30 Days, Dispense 60 Tablet No Refill Substitution Permissible Jorden de Acusel IMO. Prescriptions will be filled generically unless Jordan Fersel, M.D. DEA No .: FF5989605 This is an electronic signature. prescriber writes D.A.W (Dispense As Written) or other notation as required by law Schedule 2 medications require an original signature. Jordan Fersel MD PC The information on this page is CONFIDENTIAL. Any release of this information requires the expressed written authorization of the patient listed above. For questions regarding this prescription, please contact the practice."
4
-
5
- # processed_text = predictor.preprocess_text(text)
6
- category = predictor.predict_text(text)
7
-
8
- print(category)
9
-