# dharshiniramdj/deep-learning architecture

> Architecture diagram of the GitHub repository dharshiniramdj/deep-learning, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-24). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dharshiniramdj/deep-learning
- Repository: https://github.com/dharshiniramdj/deep-learning

## Overview

This repository is a collection of 30 standalone Python deep-learning lab experiments, not a shared application or library. The user runs an individual experiment to construct a small synthetic or built-in dataset, perform a model/statistical computation, and print or plot its result. The files are independent; sampled source shows no shared runtime orchestration. The graph groups experiments by subject area. Only selected files were excerpted, so links within unsampled experiments are not asserted.

Main entry points: [`Experiment_01_Vector_and_matrix_operations.py`](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_01_Vector_and_matrix_operations.py) (Vector and matrix operations), [`Experiment_02_Covariance_eigenvalues_and_student_marks.py`](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_02_Covariance_eigenvalues_and_student_marks.py) (Covariance and eigenvalues), [`Experiment_03_Bayes_theorem_medical_diagnosis.py`](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_03_Bayes_theorem_medical_diagnosis.py) (Bayes diagnosis), [`Experiment_04_Entropy_Cross_Entropy_KL_Divergence.py`](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_04_Entropy_Cross_Entropy_KL_Divergence.py) (Entropy and divergence)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundations["Foundations"]
  node_linear_algebra["Vector and matrix operations"]
  node_covariance["Covariance and eigenvalues"]
  node_bayes_intro["Bayes diagnosis"]
  node_entropy["Entropy and divergence"]
  node_bias_variance["Bias variance"]
end

subgraph group_neural["Neural Networks"]
  node_optimizers["Gradient optimizers"]
  node_perceptron["Perceptron classifier"]
  node_backprop["Backpropagation network"]
  node_mlp_digits["MLP digit recognition"]
  node_regularization["Regularization methods"]
  node_cnn_plants["Plant CNN"]
  node_cnn_traffic["Traffic-sign CNN"]
end

subgraph group_sequence["Sequence Models"]
  node_rnn_temperature["Temperature RNN"]
  node_rnn_headline["Unfolded headline RNN"]
  node_bptt["BPTT gradient flow"]
  node_rnn_stock["Stock RNN and LSTM"]
  node_gradient_clipping["RNN gradient clipping"]
  node_rnn_tuning["RNN LSTM GRU tuning"]
end

subgraph group_latent["Latent Models"]
  node_pca["PCA variance"]
  node_ppca["Probabilistic PCA"]
  node_factor["Factor analysis"]
  node_ica["ICA audio separation"]
  node_vae_gan["VAE and GAN generation"]
  node_model_comparison["Generative comparison"]
end

subgraph group_probabilistic["Probabilistic Models"]
  node_bayes_network["Bayesian weather network"]
  node_graphical_inference["Graphical sampling"]
  node_rbm["RBM recommendations"]
  node_gibbs["Gibbs sampling"]
  node_dbn["Deep belief features"]
  node_boltzmann["Deep Boltzmann machine"]
end

node_actor(("Lab learner"))

node_actor -->|"runs"| node_linear_algebra
node_actor -->|"runs"| node_covariance
node_actor -->|"runs"| node_bayes_intro
node_actor -->|"runs"| node_entropy
node_actor -->|"runs"| node_bias_variance
node_actor -->|"runs"| node_optimizers
node_actor -->|"runs"| node_perceptron
node_actor -->|"runs"| node_backprop
node_actor -->|"runs"| node_mlp_digits
node_actor -->|"runs"| node_regularization
node_actor -->|"runs"| node_cnn_plants
node_actor -->|"runs"| node_cnn_traffic
node_actor -->|"runs"| node_rnn_temperature
node_actor -->|"runs"| node_rnn_headline
node_actor -->|"runs"| node_bptt
node_actor -->|"runs"| node_rnn_stock
node_actor -->|"runs"| node_gradient_clipping
node_actor -->|"runs"| node_rnn_tuning
node_actor -->|"runs"| node_pca
node_actor -->|"runs"| node_ppca
node_actor -->|"runs"| node_factor
node_actor -->|"runs"| node_ica
node_actor -->|"runs"| node_bayes_network
node_actor -->|"runs"| node_graphical_inference
node_actor -->|"runs"| node_rbm
node_actor -->|"runs"| node_gibbs
node_actor -->|"runs"| node_dbn
node_actor -->|"runs"| node_boltzmann
node_actor -->|"runs"| node_vae_gan
node_actor -->|"runs"| node_model_comparison

click node_linear_algebra "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_01_Vector_and_matrix_operations.py"
click node_covariance "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_02_Covariance_eigenvalues_and_student_marks.py"
click node_bayes_intro "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_03_Bayes_theorem_medical_diagnosis.py"
click node_entropy "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_04_Entropy_Cross_Entropy_KL_Divergence.py"
click node_bias_variance "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_05_Bias_variance_analysis.py"
click node_optimizers "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_06_Gradient_descent_SGD_momentum_and_Adam.py"
click node_perceptron "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_07_Perceptron_spam_classification.py"
click node_backprop "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_08_Two_layer_network_and_backpropagation.py"
click node_mlp_digits "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_09_MLP_handwritten_digit_recognition.py"
click node_regularization "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_10_L2_dropout_and_early_stopping.py"
click node_cnn_plants "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_11_CNN_plant_disease_detection_synthetic_patterns.py"
click node_cnn_traffic "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_12_CNN_traffic_sign_hyperparameters_synthetic_patterns.py"
click node_rnn_temperature "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_13_RNN_daily_temperature_prediction.py"
click node_rnn_headline "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_14_Unfolded_RNN_headline_processing.py"
click node_bptt "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_15_BPTT_gradient_flow.py"
click node_rnn_stock "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_16_RNN_vs_LSTM_stock_trend_prediction.py"
click node_gradient_clipping "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_17_RNN_gradient_clipping.py"
click node_rnn_tuning "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_18_RNN_LSTM_and_GRU_tuning.py"
click node_pca "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_19_PCA_and_explained_variance.py"
click node_ppca "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_20_Probabilistic_PCA_face_compression_synthetic_faces.py"
click node_factor "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_21_Factor_analysis_customer_satisfaction.py"
click node_ica "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_22_ICA_audio_signal_separation.py"
click node_bayes_network "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_23_Bayesian_network_weather_decisions.py"
click node_graphical_inference "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_24_Graphical_sampling_and_inference.py"
click node_rbm "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_25_RBM_movie_recommendation.py"
click node_gibbs "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_26_Gibbs_sampling_and_contrastive_divergence.py"
click node_dbn "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_27_Deep_belief_network_feature_learning.py"
click node_boltzmann "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_28_Simplified_deep_Boltzmann_machine.py"
click node_vae_gan "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_29_VAE_and_GAN_digit_generation.py"
click node_model_comparison "https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_30_Additional_evaluation_generative_model_comparison.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_linear_algebra,node_covariance,node_bayes_intro,node_entropy,node_bias_variance toneBlue
class node_optimizers,node_perceptron,node_backprop,node_mlp_digits,node_regularization,node_cnn_plants,node_cnn_traffic toneAmber
class node_rnn_temperature,node_rnn_headline,node_bptt,node_rnn_stock,node_gradient_clipping,node_rnn_tuning toneMint
class node_pca,node_ppca,node_factor,node_ica,node_vae_gan,node_model_comparison toneRose
class node_bayes_network,node_graphical_inference,node_rbm,node_gibbs,node_dbn,node_boltzmann,node_actor toneIndigo
```

## Components

### Foundations

- [Vector and matrix operations](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_01_Vector_and_matrix_operations.py): `Experiment_01_Vector_and_matrix_operations.py`
- [Covariance and eigenvalues](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_02_Covariance_eigenvalues_and_student_marks.py): `Experiment_02_Covariance_eigenvalues_and_student_marks.py`
- [Bayes diagnosis](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_03_Bayes_theorem_medical_diagnosis.py): `Experiment_03_Bayes_theorem_medical_diagnosis.py`
- [Entropy and divergence](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_04_Entropy_Cross_Entropy_KL_Divergence.py): `Experiment_04_Entropy_Cross_Entropy_KL_Divergence.py`
- [Bias variance](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_05_Bias_variance_analysis.py): `Experiment_05_Bias_variance_analysis.py`

### Neural Networks

- [Gradient optimizers](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_06_Gradient_descent_SGD_momentum_and_Adam.py): `Experiment_06_Gradient_descent_SGD_momentum_and_Adam.py`
- [Perceptron classifier](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_07_Perceptron_spam_classification.py): `Experiment_07_Perceptron_spam_classification.py`
- [Backpropagation network](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_08_Two_layer_network_and_backpropagation.py): `Experiment_08_Two_layer_network_and_backpropagation.py`
- [MLP digit recognition](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_09_MLP_handwritten_digit_recognition.py): `Experiment_09_MLP_handwritten_digit_recognition.py`
- [Regularization methods](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_10_L2_dropout_and_early_stopping.py): `Experiment_10_L2_dropout_and_early_stopping.py`
- [Plant CNN](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_11_CNN_plant_disease_detection_synthetic_patterns.py): `Experiment_11_CNN_plant_disease_detection_synthetic_patterns.py`
- [Traffic-sign CNN](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_12_CNN_traffic_sign_hyperparameters_synthetic_patterns.py): `Experiment_12_CNN_traffic_sign_hyperparameters_synthetic_patterns.py`

### Sequence Models

- [Temperature RNN](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_13_RNN_daily_temperature_prediction.py): `Experiment_13_RNN_daily_temperature_prediction.py`
- [Unfolded headline RNN](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_14_Unfolded_RNN_headline_processing.py): `Experiment_14_Unfolded_RNN_headline_processing.py`
- [BPTT gradient flow](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_15_BPTT_gradient_flow.py): `Experiment_15_BPTT_gradient_flow.py`
- [Stock RNN and LSTM](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_16_RNN_vs_LSTM_stock_trend_prediction.py): `Experiment_16_RNN_vs_LSTM_stock_trend_prediction.py`
- [RNN gradient clipping](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_17_RNN_gradient_clipping.py): `Experiment_17_RNN_gradient_clipping.py`
- [RNN LSTM GRU tuning](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_18_RNN_LSTM_and_GRU_tuning.py): `Experiment_18_RNN_LSTM_and_GRU_tuning.py`

### Latent Models

- [PCA variance](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_19_PCA_and_explained_variance.py): `Experiment_19_PCA_and_explained_variance.py`
- [Probabilistic PCA](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_20_Probabilistic_PCA_face_compression_synthetic_faces.py): `Experiment_20_Probabilistic_PCA_face_compression_synthetic_faces.py`
- [Factor analysis](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_21_Factor_analysis_customer_satisfaction.py): `Experiment_21_Factor_analysis_customer_satisfaction.py`
- [ICA audio separation](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_22_ICA_audio_signal_separation.py): `Experiment_22_ICA_audio_signal_separation.py`
- [VAE and GAN generation](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_29_VAE_and_GAN_digit_generation.py): `Experiment_29_VAE_and_GAN_digit_generation.py`
- [Generative comparison](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_30_Additional_evaluation_generative_model_comparison.py): `Experiment_30_Additional_evaluation_generative_model_comparison.py`

### Probabilistic Models

- [Bayesian weather network](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_23_Bayesian_network_weather_decisions.py): `Experiment_23_Bayesian_network_weather_decisions.py`
- [Graphical sampling](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_24_Graphical_sampling_and_inference.py): `Experiment_24_Graphical_sampling_and_inference.py`
- [RBM recommendations](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_25_RBM_movie_recommendation.py): `Experiment_25_RBM_movie_recommendation.py`
- [Gibbs sampling](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_26_Gibbs_sampling_and_contrastive_divergence.py): `Experiment_26_Gibbs_sampling_and_contrastive_divergence.py`
- [Deep belief features](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_27_Deep_belief_network_feature_learning.py): `Experiment_27_Deep_belief_network_feature_learning.py`
- [Deep Boltzmann machine](https://github.com/dharshiniramdj/deep-learning/blob/main/Experiment_28_Simplified_deep_Boltzmann_machine.py): `Experiment_28_Simplified_deep_Boltzmann_machine.py`

### Other components

- **Lab learner**

## Connections

- Lab learner → Vector and matrix operations: runs
- Lab learner → Covariance and eigenvalues: runs
- Lab learner → Bayes diagnosis: runs
- Lab learner → Entropy and divergence: runs
- Lab learner → Bias variance: runs
- Lab learner → Gradient optimizers: runs
- Lab learner → Perceptron classifier: runs
- Lab learner → Backpropagation network: runs
- Lab learner → MLP digit recognition: runs
- Lab learner → Regularization methods: runs
- Lab learner → Plant CNN: runs
- Lab learner → Traffic-sign CNN: runs
- Lab learner → Temperature RNN: runs
- Lab learner → Unfolded headline RNN: runs
- Lab learner → BPTT gradient flow: runs
- Lab learner → Stock RNN and LSTM: runs
- Lab learner → RNN gradient clipping: runs
- Lab learner → RNN LSTM GRU tuning: runs
- Lab learner → PCA variance: runs
- Lab learner → Probabilistic PCA: runs
- Lab learner → Factor analysis: runs
- Lab learner → ICA audio separation: runs
- Lab learner → Bayesian weather network: runs
- Lab learner → Graphical sampling: runs (evidence: `Experiment_24_Graphical_sampling_and_inference.py`)
- Lab learner → RBM recommendations: runs
- Lab learner → Gibbs sampling: runs
- Lab learner → Deep belief features: runs
- Lab learner → Deep Boltzmann machine: runs
- Lab learner → VAE and GAN generation: runs (evidence: `Experiment_29_VAE_and_GAN_digit_generation.py`)
- Lab learner → Generative comparison: runs (evidence: `Experiment_30_Additional_evaluation_generative_model_comparison.py`)
