rlogh commited on
Commit
8569540
·
verified ·
1 Parent(s): f42804d

Update dataset card with metadata and EDA plots

Browse files
Files changed (1) hide show
  1. README.md +22 -32
README.md CHANGED
@@ -1,32 +1,22 @@
1
- ---
2
- dataset_info:
3
- features:
4
- - name: sample_id
5
- dtype: string
6
- - name: width_cm
7
- dtype: float64
8
- - name: length_cm
9
- dtype: float64
10
- - name: blemish_count
11
- dtype: int64
12
- - name: color
13
- dtype: string
14
- - name: firmness
15
- dtype: int64
16
- splits:
17
- - name: original
18
- num_bytes: 1371
19
- num_examples: 30
20
- - name: augmented
21
- num_bytes: 15572
22
- num_examples: 300
23
- download_size: 7961
24
- dataset_size: 16943
25
- configs:
26
- - config_name: default
27
- data_files:
28
- - split: original
29
- path: data/original-*
30
- - split: augmented
31
- path: data/augmented-*
32
- ---
 
1
+
2
+ # Dataset Card for Grape Firmness Dataset
3
+
4
+ ## Dataset Metadata
5
+
6
+ * **Purpose:** The dataset is intended for training a machine learning model to predict grape firmness based on physical characteristics and blemishes.
7
+ * **Composition:** The dataset contains measurements of grape width, length, blemish count, color, and firmness.
8
+ * **Collection Method:** Data was collected manually through physical measurements and visual inspection of grape samples.
9
+ * **Labels:** The target variable "firmness" is a categorical label with three levels: 1 (Soft), 2 (Medium), and 3 (Firm).
10
+ * **Splits:**
11
+ * `original`: Contains the initial 30 rows of collected data.
12
+ * `augmented`: Contains 300 augmented rows generated using SMOTE-NC and numeric jitter to address class imbalance and increase dataset size.
13
+
14
+ ## Exploratory Data Analysis (EDA) - Original Data
15
+
16
+ Here are some visualizations showing the distribution of firmness and the relationship between physical characteristics and firmness in the original dataset.
17
+
18
+ ![Firmness Distribution in Original Data](images/firmness_distribution_original.png)
19
+
20
+ ![Width vs Firmness in Original Data](images/width_vs_firmness_original.png)
21
+
22
+ ![Length vs Firmness in Original Data](images/length_vs_firmness_original.png)