File size: 1,183 Bytes
f1e3a6d
75c25db
 
 
 
 
 
 
f1e3a6d
75c25db
f1e3a6d
75c25db
f1e3a6d
 
 
 
 
 
75c25db
f1e3a6d
75c25db
f1e3a6d
 
 
 
 
9e22621
884b3f5
f975a43
 
75c25db
 
054d5a5
 
 
 
 
75c25db
054d5a5
f975a43
 
75c25db
 
054d5a5
 
 
 
b4df89c
054d5a5
f693586
f975a43
75c25db
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56

---
language: en
license: mit
datasets: [Cats-Dogs]
metrics: [accuracy, f1, precision, recall]
---

# ๐Ÿฑ๐Ÿถ Transfer Learning on AlexNet for Cats vs. Dogs Classification

This model fine-tunes **AlexNet** using Transfer Learning to classify images into two categories: **Cats** and **Dogs**.

## **๐Ÿ“ Model Details**
- **Pre-trained Model:** AlexNet  
- **Dataset Used:** Cats-Dogs  
- **Batch Size:** 8  
- **Learning Rate:** 0.001  
- **Epochs:** 5  

---

## **๐Ÿ“Œ Baseline Performance (Before Transfer Learning)**  
**Validation Accuracy:** **40.66%**  
- **Precision:** 0.3983  
- **Recall:** 0.4066  
- **F1-score:** 0.3942  

- Confusion Matrix:
 [[659   1841]
 [1126   1374]]
---

## **โœ… Performance After Training**  
**Training Accuracy:** **92.40%**  
- **Precision:** 0.9250  
- **Recall:** 0.9240  
- **F1-score:** 0.9240  

**Confusion Matrix:**
 [[9486   514]
 [1006   8994]]


**Validation Accuracy:** **94.10%**  
- **Precision:** 0.9425  
- **Recall:** 0.9410  
- **F1-score:** 0.9410  

**Confusion Matrix:**
 [[2425   75]
 [ 220   2280]]

---

You can download the model from [Hugging Face](https://huggingface.co/Wolverine001/Alexnet-TransferLearning).