/Deep-Learning-Model-to-Detect-Whether-The-City-is-Algiers-or-Not

This is a simple Deep neural network trained to solve a binary classification problem, which is deciding whether some picture represent the city of Algiers or not.

Primary LanguageJupyter Notebook

Deep-Learning-Model-to-Detect-Whether-The-City-is-Algiers-or-Not

This is a simple Deep neural network trained to solve a binary classification problem, which is deciding whether some picture represent the city of Algiers or not.

Data :

The data used was gathered using Download All Images Extention The result can be found in /data folder.

Training:

The model used has 3 blocks of convolutional layers and Max pooling layers, The two final layers are a flatten layer and a dense one. The last layer has one unit whose objective function is Sigmoid (between 0 and 1).

The resulting plots can be found on the code file.

Manual Testing:

When we feed the model with two pictures (one of Algiers and one of not) that can be found in /test. The result is like so:

First test:

algiers

The above picture is a picture of Algiers, we can see that the model has correctly predicted it

Screenshot 2023-02-22 145336

Second test:

not_algiers

The above picture is not a picture of Algiers, but rather of Constantine. We can see that the model has correctly predicted it

Screenshot 2023-02-22 145351