Deep Learning and Neural Networks with Keras

October 10, 2026 (2w ago)

Stack: Python, Keras, TensorFlow, NumPy, pandas, PyTorch, Hugging Face Transformers, Google Colab · Repo: Axeloooo/Deep-Learning-and-Neural-Networks-with-Keras

Problem

This collection starts one level below the framework, with a hand-built forward pass and a NumPy backpropagation loop, and then climbs to Keras one task at a time: tabular regression, image classification, convolutional networks, sequence-to-sequence with attention and image captioning.

There is no application, package or test suite. The deliverable is eight notebooks meant to run in Google Colab, with committed outputs for the numeric ones. The last two keep blank practice exercises, so the VGG16 and BLIP notebook only runs fully once its task cells are filled in.

Architecture diagram

  Google Colab runtime (each notebook stands alone; order = learning path)
 
  1 forward-propagation (NumPy)
  2 backward-propagation (XOR, NumPy)
  3 activation functions and plots
  4 regression with Keras       <-- concrete-strength CSV
  5 MNIST classification, Dense <-- keras.datasets.mnist
  6 CNN: Conv2D + MaxPool       <-- keras.datasets.mnist
  7 LSTM encoder-decoder + SelfAttention layer
  8 frozen-base classifier head + BLIP captioning layer
       ^                    ^
       |                    |
  aircraft-damage      Salesforce/blip-image-captioning-base
  image archive        (Hugging Face)
 
  push to main --> semantic-release --> GitHub release

The attention notebook uses a custom scaled dot-product SelfAttention layer with decoder outputs as queries and encoder outputs as keys and values, on top of an LSTM encoder-decoder. Its filename says "transformers", but it is not a Transformer. Notebook 8 defines a frozen-base classifier head (512-512-1 with dropout 0.3) and wraps BLIP as a custom Keras layer with tf.py_function; loading VGG16 and training are left as exercises.

Key decisions

Challenges

Results

Committed notebook outputs, which illustrate the runs rather than serve as benchmarks:

Links