Preetham22 commited on
Commit
f294e5b
·
1 Parent(s): 9d9cc25

update test csv file path

Browse files
Files changed (2) hide show
  1. src/generate_test_csv.py +1 -1
  2. test_samples.csv +31 -0
src/generate_test_csv.py CHANGED
@@ -9,7 +9,7 @@ CURRENT_DIR = Path(__file__).resolve().parent
9
  PROJECT_ROOT = CURRENT_DIR.parent
10
  IMAGE_DIR = PROJECT_ROOT / "data" / "images"
11
  TRAIN_CSV_PATH = PROJECT_ROOT / "data" / "emr_records.csv"
12
- OUTPUT_CSV = PROJECT_ROOT / "data" / "test_samples.csv"
13
  LABELS = ["COVID", "NORMAL", "VIRAL PNEUMONIA"]
14
 
15
  alt_symptoms = [
 
9
  PROJECT_ROOT = CURRENT_DIR.parent
10
  IMAGE_DIR = PROJECT_ROOT / "data" / "images"
11
  TRAIN_CSV_PATH = PROJECT_ROOT / "data" / "emr_records.csv"
12
+ OUTPUT_CSV = PROJECT_ROOT / "test_samples.csv"
13
  LABELS = ["COVID", "NORMAL", "VIRAL PNEUMONIA"]
14
 
15
  alt_symptoms = [
test_samples.csv ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ text,image_path,label
2
+ "Patient TEST-DE26, a 31 years old individual presented after experiencing symptoms for approximately 8 days. A gradual onset of dry cough with mild respiratory discomfort has been documented. Vital measurements include a body temperature of 99.8°F and an oxygen saturation level of 90%. No prior admissions or surgical history disclosed. Clinical features are suggestive of a nonspecific viral etiology. Radiographic evidence reveals dispersed infiltrative patterns.",data/images/VIRAL PNEUMONIA/Viral Pneumonia-111.png,VIRAL PNEUMONIA
3
+ "Patient TEST-OM67, a 22 years old individual presented after experiencing symptoms for approximately 7 days. The patient has noted intermittent chest pressure and occasional shortness of breath. Vital measurements include a body temperature of 97.8°F and an oxygen saturation level of 99%. Presentation overlaps multiple pulmonary conditions. Standard precautions have been advised post-evaluation.",data/images/NORMAL/Normal-395.png,NORMAL
4
+ "Patient TEST-HQ92, a 46 years old individual presented after experiencing symptoms for approximately 6 days. Patient remains oriented with stable hemodynamics. Reported complaints include mild fatigue and sporadic episodes of wheezing. Vital measurements include a body temperature of 102.3°F and an oxygen saturation level of 96%. No definitive pattern observed; further evaluation is warranted. Radiographic evidence reveals dispersed infiltrative patterns.",data/images/VIRAL PNEUMONIA/Viral Pneumonia-421.png,VIRAL PNEUMONIA
5
+ "Patient TEST-CT89, a 51 years old individual presented after experiencing symptoms for approximately 4 days. The patient has noted intermittent chest pressure and occasional shortness of breath. Vital measurements include a body temperature of 97.7°F and an oxygen saturation level of 96%. Patient remains oriented with stable hemodynamics. Preliminary indicators fall into a diagnostic grey area.",data/images/NORMAL/Normal-4532.png,NORMAL
6
+ "Patient TEST-MR04, a 63 years old individual presented after experiencing symptoms for approximately 1 days. Episodes of throat irritation and general malaise observed. Vital measurements include a body temperature of 101.9°F and an oxygen saturation level of 90%. Patient remains oriented with stable hemodynamics. No definitive pattern observed; further evaluation is warranted. Nutritional intake and sleep patterns appear adequate.",data/images/VIRAL PNEUMONIA/Viral Pneumonia-959.png,VIRAL PNEUMONIA
7
+ "Patient TEST-AN53, a 68 years old individual presented after experiencing symptoms for approximately 5 days. The patient has noted intermittent chest pressure and occasional shortness of breath. Vital measurements include a body temperature of 99.2°F and an oxygen saturation level of 92%. Presentation overlaps multiple pulmonary conditions. No remarkable family history or chronic illness reported. No remarkable family history or chronic illness reported.",data/images/COVID/COVID-1257.png,COVID
8
+ "Patient TEST-EV06, a 23 years old individual presented after experiencing symptoms for approximately 10 days. The patient has noted intermittent chest pressure and occasional shortness of breath. No remarkable family history or chronic illness reported. Vital measurements include a body temperature of 98.7°F and an oxygen saturation level of 96%. Patient remains oriented with stable hemodynamics. Presentation overlaps multiple pulmonary conditions.",data/images/NORMAL/Normal-6137.png,NORMAL
9
+ "Patient TEST-ZQ46, a 26 years old individual presented after experiencing symptoms for approximately 1 days. Mild respiratory symptoms have progressed over several days. Vital measurements include a body temperature of 99.3°F and an oxygen saturation level of 89%. Diagnosis remains unclear pending further laboratory confirmation. Anosmia has been intermittently observed over recent days. No prior admissions or surgical history disclosed.",data/images/COVID/COVID-2216.png,COVID
10
+ "Patient TEST-TC42, a 82 years old individual presented after experiencing symptoms for approximately 2 days. Reported complaints include mild fatigue and sporadic episodes of wheezing. Vital measurements include a body temperature of 100.4°F and an oxygen saturation level of 92%. Clinical features are suggestive of a nonspecific viral etiology. Anosmia has been intermittently observed over recent days.",data/images/COVID/COVID-2605.png,COVID
11
+ "Patient TEST-ZK21, a 36 years old individual presented after experiencing symptoms for approximately 5 days. Nutritional intake and sleep patterns appear adequate. Mild respiratory symptoms have progressed over several days. Vital measurements include a body temperature of 102.5°F and an oxygen saturation level of 92%. Clinical features are suggestive of a nonspecific viral etiology. Anosmia has been intermittently observed over recent days.",data/images/COVID/COVID-559.png,COVID
12
+ "Patient TEST-LE01, a 83 years old individual presented after experiencing symptoms for approximately 5 days. The patient has noted intermittent chest pressure and occasional shortness of breath. No remarkable family history or chronic illness reported. Patient remains oriented with stable hemodynamics. Vital measurements include a body temperature of 101.5°F and an oxygen saturation level of 88%. No definitive pattern observed; further evaluation is warranted.",data/images/COVID/COVID-1846.png,COVID
13
+ "Patient TEST-YK07, a 72 years old individual presented after experiencing symptoms for approximately 5 days. Patient remains oriented with stable hemodynamics. Episodes of throat irritation and general malaise observed. Vital measurements include a body temperature of 98.3°F and an oxygen saturation level of 94%. Diagnosis remains unclear pending further laboratory confirmation. There are currently no active complaints from the patient.",data/images/NORMAL/Normal-2557.png,NORMAL
14
+ "Patient TEST-SO55, a 65 years old individual presented after experiencing symptoms for approximately 1 days. Episodes of throat irritation and general malaise observed. Vital measurements include a body temperature of 98.4°F and an oxygen saturation level of 98%. Clinical features are suggestive of a nonspecific viral etiology. There are currently no active complaints from the patient. Standard precautions have been advised post-evaluation. Patient remains oriented with stable hemodynamics.",data/images/NORMAL/Normal-2361.png,NORMAL
15
+ "Patient TEST-LN03, a 66 years old individual presented after experiencing symptoms for approximately 4 days. The patient has noted intermittent chest pressure and occasional shortness of breath. Vital measurements include a body temperature of 99.0°F and an oxygen saturation level of 99%. Nutritional intake and sleep patterns appear adequate. Clinical features are suggestive of a nonspecific viral etiology.",data/images/NORMAL/Normal-5580.png,NORMAL
16
+ "Patient TEST-PC07, a 25 years old individual presented after experiencing symptoms for approximately 6 days. Mild respiratory symptoms have progressed over several days. Vital measurements include a body temperature of 100.0°F and an oxygen saturation level of 93%. Nutritional intake and sleep patterns appear adequate. Preliminary indicators fall into a diagnostic grey area.",data/images/VIRAL PNEUMONIA/Viral Pneumonia-611.png,VIRAL PNEUMONIA
17
+ "Patient TEST-WY60, a 36 years old individual presented after experiencing symptoms for approximately 10 days. A gradual onset of dry cough with mild respiratory discomfort has been documented. No prior admissions or surgical history disclosed. Vital measurements include a body temperature of 101.5°F and an oxygen saturation level of 91%. Presentation overlaps multiple pulmonary conditions. No prior admissions or surgical history disclosed.",data/images/VIRAL PNEUMONIA/Viral Pneumonia-1238.png,VIRAL PNEUMONIA
18
+ "Patient TEST-JC20, a 57 years old individual presented after experiencing symptoms for approximately 10 days. Episodes of throat irritation and general malaise observed. No prior admissions or surgical history disclosed. Standard precautions have been advised post-evaluation. Vital measurements include a body temperature of 101.1°F and an oxygen saturation level of 95%. Presentation overlaps multiple pulmonary conditions.",data/images/VIRAL PNEUMONIA/Viral Pneumonia-624.png,VIRAL PNEUMONIA
19
+ "Patient TEST-CM52, a 78 years old individual presented after experiencing symptoms for approximately 5 days. The patient has noted intermittent chest pressure and occasional shortness of breath. No remarkable family history or chronic illness reported. Vital measurements include a body temperature of 102.0°F and an oxygen saturation level of 87%. No definitive pattern observed; further evaluation is warranted. No remarkable family history or chronic illness reported.",data/images/COVID/COVID-2929.png,COVID
20
+ "Patient TEST-GQ70, a 85 years old individual presented after experiencing symptoms for approximately 9 days. No remarkable family history or chronic illness reported. Episodes of throat irritation and general malaise observed. Vital measurements include a body temperature of 101.0°F and an oxygen saturation level of 94%. No prior admissions or surgical history disclosed. Presentation overlaps multiple pulmonary conditions.",data/images/COVID/COVID-1493.png,COVID
21
+ "Patient TEST-BK73, a 63 years old individual presented after experiencing symptoms for approximately 9 days. The patient has noted intermittent chest pressure and occasional shortness of breath. Nutritional intake and sleep patterns appear adequate. Vital measurements include a body temperature of 99.2°F and an oxygen saturation level of 93%. Preliminary indicators fall into a diagnostic grey area.",data/images/COVID/COVID-1795.png,COVID
22
+ "Patient TEST-KL51, a 25 years old individual presented after experiencing symptoms for approximately 8 days. Episodes of throat irritation and general malaise observed. Nutritional intake and sleep patterns appear adequate. Vital measurements include a body temperature of 99.6°F and an oxygen saturation level of 93%. Standard precautions have been advised post-evaluation. Diagnosis remains unclear pending further laboratory confirmation. Anosmia has been intermittently observed over recent days.",data/images/COVID/COVID-3525.png,COVID
23
+ "Patient TEST-QL56, a 83 years old individual presented after experiencing symptoms for approximately 9 days. Mild respiratory symptoms have progressed over several days. Patient remains oriented with stable hemodynamics. Vital measurements include a body temperature of 101.1°F and an oxygen saturation level of 90%. Standard precautions have been advised post-evaluation. Presentation overlaps multiple pulmonary conditions.",data/images/VIRAL PNEUMONIA/Viral Pneumonia-160.png,VIRAL PNEUMONIA
24
+ "Patient TEST-MY44, a 18 years old individual presented after experiencing symptoms for approximately 5 days. Reported complaints include mild fatigue and sporadic episodes of wheezing. Vital measurements include a body temperature of 101.9°F and an oxygen saturation level of 92%. Patient remains oriented with stable hemodynamics. Presentation overlaps multiple pulmonary conditions.",data/images/VIRAL PNEUMONIA/Viral Pneumonia-749.png,VIRAL PNEUMONIA
25
+ "Patient TEST-QZ08, a 80 years old individual presented after experiencing symptoms for approximately 3 days. Episodes of throat irritation and general malaise observed. Standard precautions have been advised post-evaluation. Patient remains oriented with stable hemodynamics. Vital measurements include a body temperature of 97.8°F and an oxygen saturation level of 98%. Diagnosis remains unclear pending further laboratory confirmation.",data/images/NORMAL/Normal-2821.png,NORMAL
26
+ "Patient TEST-WL21, a 43 years old individual presented after experiencing symptoms for approximately 6 days. Mild respiratory symptoms have progressed over several days. No remarkable family history or chronic illness reported. Vital measurements include a body temperature of 99.8°F and an oxygen saturation level of 92%. Nutritional intake and sleep patterns appear adequate. Clinical features are suggestive of a nonspecific viral etiology.",data/images/COVID/COVID-2610.png,COVID
27
+ "Patient TEST-NT43, a 61 years old individual presented after experiencing symptoms for approximately 8 days. Patient remains oriented with stable hemodynamics. The patient has noted intermittent chest pressure and occasional shortness of breath. No remarkable family history or chronic illness reported. Vital measurements include a body temperature of 97.6°F and an oxygen saturation level of 95%. No definitive pattern observed; further evaluation is warranted.",data/images/NORMAL/Normal-1834.png,NORMAL
28
+ "Patient TEST-BD08, a 35 years old individual presented after experiencing symptoms for approximately 10 days. Mild respiratory symptoms have progressed over several days. No prior admissions or surgical history disclosed. Vital measurements include a body temperature of 98.2°F and an oxygen saturation level of 100%. Clinical features are suggestive of a nonspecific viral etiology.",data/images/NORMAL/Normal-824.png,NORMAL
29
+ "Patient TEST-AF95, a 26 years old individual presented after experiencing symptoms for approximately 4 days. Mild respiratory symptoms have progressed over several days. Vital measurements include a body temperature of 101.4°F and an oxygen saturation level of 90%. Preliminary indicators fall into a diagnostic grey area. Patient remains oriented with stable hemodynamics.",data/images/VIRAL PNEUMONIA/Viral Pneumonia-1313.png,VIRAL PNEUMONIA
30
+ "Patient TEST-WQ06, a 83 years old individual presented after experiencing symptoms for approximately 8 days. Standard precautions have been advised post-evaluation. A gradual onset of dry cough with mild respiratory discomfort has been documented. Vital measurements include a body temperature of 98.4°F and an oxygen saturation level of 99%. Preliminary indicators fall into a diagnostic grey area.",data/images/NORMAL/Normal-2274.png,NORMAL
31
+ "Patient TEST-SD61, a 20 years old individual presented after experiencing symptoms for approximately 4 days. Nutritional intake and sleep patterns appear adequate. The patient has noted intermittent chest pressure and occasional shortness of breath. Vital measurements include a body temperature of 100.7°F and an oxygen saturation level of 93%. No prior admissions or surgical history disclosed. Preliminary indicators fall into a diagnostic grey area.",data/images/VIRAL PNEUMONIA/Viral Pneumonia-1021.png,VIRAL PNEUMONIA