Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,39 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
+
# Description
|
5 |
+
This model is a convolutional neural network built with transfer learning using the pre-trained model 'VGG16.' The 'block5_conv1' layer is retrained, and a final dense layer with 128 neurons is added.
|
6 |
+
|
7 |
+
The model will be used as a preliminary step in solving Sudokus through linear programming. Model It is responsible for classifying the content of each sudoku cell:
|
8 |
+
|
9 |
+
class_0: empty cell
|
10 |
+
class_1: cell contains the number 1
|
11 |
+
class_2: cell contains the number 2
|
12 |
+
class_3: cell contains the number 3
|
13 |
+
class_4: cell contains the number 4
|
14 |
+
class_5: cell contains the number 5
|
15 |
+
class_6: cell contains the number 6
|
16 |
+
class_7: cell contains the number 7
|
17 |
+
class_8: cell contains the number 8
|
18 |
+
class_9: cell contains the number 9
|
19 |
+
|
20 |
+
The dataset is constructed with balanced classes using images from the famous "MNIST digits classification" dataset, as well as images of numbers written digitally.
|
21 |
+
|
22 |
+
# Dataset schema
|
23 |
+
After applying data augmentation to the dataset, the total number of images is as follows:
|
24 |
+
- Training images: 5600
|
25 |
+
- Validation images: 2400
|
26 |
+
- Test images: 200
|
27 |
+
|
28 |
+
Test Accuracy: 0.9810
|
29 |
+
|
30 |
+
# Other validations:
|
31 |
+
An initial validation is performed. It remains pending to increase the size of the validations to understand the reliability of the mode
|
32 |
+
|
33 |
+
![Sudoku example](https://imgur.com/gallery/kdj9udt)
|
34 |
+
|
35 |
+
The results of the inference are as follows:
|
36 |
+
|
37 |
+
![Confusion Matrix](https://imgur.com/gallery/U2MJzH6)
|
38 |
+
|
39 |
+
|