Update README.md
Browse files
README.md
CHANGED
|
@@ -11,9 +11,50 @@ license: mit
|
|
| 11 |
---
|
| 12 |
|
| 13 |
|
| 14 |
-
#
|
| 15 |
|
| 16 |
-
|
|
|
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
|
| 14 |
+
# CNN Date Fruit Classification Project
|
| 15 |
|
| 16 |
+
## π Project Overview
|
| 17 |
+
This project aims to classify different types of date fruits using a custom Convolutional Neural Network (CNN) trained from scratch.
|
| 18 |
|
| 19 |
+
## π§ Model Summary
|
| 20 |
+
- Input Size: 224x224x3 (RGB)
|
| 21 |
+
- Architecture: 5 Conv2D layers + MaxPooling
|
| 22 |
+
- Dense: 256 neurons + Dropout (0.5)
|
| 23 |
+
- Optimizer: Adam (lr=0.001)
|
| 24 |
+
- Loss: Sparse Categorical Crossentropy
|
| 25 |
+
- Callbacks: EarlyStopping, ReduceLROnPlateau, ModelCheckpoint
|
| 26 |
+
|
| 27 |
+
## π Final Results
|
| 28 |
+
| Metric | Score |
|
| 29 |
+
|--------|--------|
|
| 30 |
+
| **Validation Accuracy** | 85.71% |
|
| 31 |
+
| **Validation Loss** | 0.4426 |
|
| 32 |
+
|
| 33 |
+
## π Conclusion
|
| 34 |
+
The model was successfully trained without transfer learning and shows stable performance. Future improvements can be made using augmentation or transfer learning.
|
| 35 |
+
|
| 36 |
+
## π¦ Files Included
|
| 37 |
+
- `best_date_cnn.keras` β Best trained model file
|
| 38 |
+
- `CNN_Report_updated.pdf` β Technical report
|
| 39 |
+
- `history.pkl` β Training history
|
| 40 |
+
|
| 41 |
+
## π How to Run
|
| 42 |
+
```python
|
| 43 |
+
model = tf.keras.models.load_model("best_date_cnn.keras")
|
| 44 |
+
```
|
| 45 |
+
|
| 46 |
+
## π Requirements
|
| 47 |
+
```
|
| 48 |
+
tensorflow
|
| 49 |
+
matplotlib
|
| 50 |
+
seaborn
|
| 51 |
+
numpy
|
| 52 |
+
scikit-learn
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
---
|
| 56 |
+
|
| 57 |
+
## π€ Author
|
| 58 |
+
**Enes Yamac**
|
| 59 |
+
Deep Learning Project
|
| 60 |
+
π
November 2025
|