Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,62 @@
|
|
1 |
---
|
|
|
|
|
|
|
2 |
license: mit
|
3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
tags:
|
3 |
+
- image-classification
|
4 |
+
- accuracy
|
5 |
license: mit
|
6 |
+
---
|
7 |
+
|
8 |
+
# Grapevine Disease Classification Model
|
9 |
+
|
10 |
+
## Overview
|
11 |
+
|
12 |
+
This model is designed to classify grapevine leaves as either "healthy" or affected by [Esca](https://ipm.ucanr.edu/agriculture/grape/esca-black-measles/#gsc.tab=0) disease. For this model, healthy is defined as not having signs of Esca, meaning signs of blight, rot, and other infections will be classified as healthy/non-Esca. Esca is a serious fungal disease that affects grapevines, causing significant damage to vineyards. Early detection of Esca can help in managing and controlling its spread, ensuring healthier vineyards and better grape yields.
|
13 |
+
|
14 |
+
## Model Details
|
15 |
+
|
16 |
+
- **Model Architecture**: Convolutional Neural Network (CNN)
|
17 |
+
- **Input**: Images of grape leaves
|
18 |
+
- **Output**: Binary classification indicating whether the leaf is healthy or affected by Esca
|
19 |
+
|
20 |
+
## Dataset
|
21 |
+
|
22 |
+
The model was trained on a dataset of grapevine leaves collected from various vineyards. The dataset includes:
|
23 |
+
|
24 |
+
- **Healthy Leaves**: Images of grapevine leaves that are not affected by Esca disease but may contain other diseases.
|
25 |
+
- **Esca-Affected Leaves**: Images of grapevine leaves showing symptoms of Esca disease, such as discoloration, brown spots, and unusual texture.
|
26 |
+
|
27 |
+
### Data Source
|
28 |
+
|
29 |
+
The dataset used to train this model is sourced from the [Grapevine Disease Dataset](https://www.kaggle.com/datasets/rm1000/grape-disease-dataset-original?resource=download) available under the CC0 Public Domain Dedication.
|
30 |
+
|
31 |
+
## Model Performance
|
32 |
+
|
33 |
+
### Evaluation Metrics
|
34 |
+
|
35 |
+
The model was evaluated using standard classification metrics, including precision, recall, and F1-score, for both classes (healthy and Esca-affected).
|
36 |
+
|
37 |
+
### Classification Report
|
38 |
+
|
39 |
+
precision recall f1-score support
|
40 |
+
|
41 |
+
esca 0.79 0.97 0.87 480
|
42 |
+
healthy 0.99 0.90 0.94 1325
|
43 |
+
|
44 |
+
|
45 |
+
### Accuracy
|
46 |
+
|
47 |
+
- Accuracy: 0.92
|
48 |
+
|
49 |
+
### Confusion Matrix
|
50 |
+
|
51 |
+
- **True Positives (TP)**: `esca` correctly identified as `esca`: 468
|
52 |
+
- **True Negatives (TN)**: `healthy` correctly identified as `healthy`: 1197
|
53 |
+
- **False Positives (FP)**: `healthy` incorrectly identified as `esca`: 12
|
54 |
+
- **False Negatives (FN)**: `esca` incorrectly identified as `healthy`: 128
|
55 |
+
|
56 |
+
### License
|
57 |
+
|
58 |
+
The data used to train this model is licensed under the CC0 Public Domain Dedication. The model itself is licensed under the MIT License. See the LICENSE file for more details.
|
59 |
+
|
60 |
+
### Acknowledgements
|
61 |
+
|
62 |
+
Special thanks to the contributors of the Grapevine Disease Dataset for providing the data used in training this model.
|