SRAI Book 3 · Chapter 1 · PU-B03-C01

Neural Network Foundations

Build neural networks from the artificial neuron upward, then evaluate what their outputs can support through reproducible validation, calibration, subgroup analysis and robustness checks.



01 / LEARNING OUTCOMES

Connect neural-network computation to responsible evidence.

  1. Derive and interpret artificial-neuron and layer computations.
  2. Explain why nonlinear activations create representational capacity.
  3. Implement shape-safe forward propagation and binary cross-entropy.
  4. Separate training, validation and test evidence.
  5. Compare a multilayer perceptron with a credible linear baseline.
  6. Evaluate calibration, thresholds, subgroups, robustness and reproducibility.

02 / EVIDENCE CHAIN

Represent, validate, interpret and govern.

01

Represent

Transform standardized inputs through weighted layers and nonlinear activations.

02

Validate

Use protected partitions, a credible baseline and an untouched test set.

03

Interpret

Examine calibration, thresholds, subgroup evidence and model behavior.

04

Govern

Document limitations, monitoring, accountability and acceptable use.

03 / CONTROLLED RESULTS

A slightly higher AUC is not a deployment decision.

The canonical notebook compares a logistic baseline with a compact 5-10-1 multilayer perceptron using reproducible synthetic data.

The MLP marginally improves test AUC, while calibration, threshold consequences, subgroup burdens and distribution shift reveal why evaluation must remain multidimensional.

VERIFIED NOTEBOOK RESULTS
Records1,200
Train / validation / test780 / 210 / 210
Baseline test AUC0.7954
MLP test AUC0.7957
Gradient relative error2.44e-11
Rerun prediction difference0.0
REPRESENTATION

A neural network can learn nonlinear scoring functions.

Architecture creates capacity, but it does not determine whether a claim is valid or an operational action is justified.

EVIDENCE

Trust depends on the full chain.

Baselines, calibration, subgroup checks, robustness, reproducibility and governance determine what the results can responsibly support.

04 / SRAI DECISION STANDARD

A neural network earns trust through its evidence chain.

  • Architecture and tensor shapes are explicit and testable.
  • Validation selects the checkpoint without exposing the test set.
  • Performance is compared with a credible baseline.
  • Threshold consequences and subgroup burdens remain visible.
  • Distribution shift and independent reruns test robustness.
  • Synthetic educational evidence is not treated as deployment authorization.

VIDEO LESSON

Watch the complete Lesson 1 presentation.

Open on YouTube ↗

CONTROLLED RESOURCES

Read, reproduce, practise and review.

View the complete GitHub production unit ↗