Skip to content

From scratch NumPy implementation of a neural network for Titanic survival predictions. Includes tested backpropagation, early stopping, and reproducibility.

License

Notifications You must be signed in to change notification settings

jmarbis1703/from_scratch_neural_network

Repository files navigation

From-Scratch Neural Network

From-scratch NumPy implementation of a feedforward neural network, applied to Titanic survival prediction.
This project demonstrates backpropagation coded by hand (no ML frameworks), mini-batch gradient descent with Adam, early stopping, and reproducibility checks.

Highlights:

  • Emphasizes the math and statistics behind neural nets.
  • From-scratch NN (NumPy) with tested backprop (gradient check).
  • No data leakage: split, fit scaler on train, transform val&test.
  • Mini-batch, shuffling, early stopping, Adam optimizer.
  • Fast demo notebook runs in < 2 minutes on CPU (subset).

Quickstart (fast)

python -m final_project.cli fast-titanic

If Titanic Dataset.csv is not present, the script generates a small synthetic dataset so the pipeline still runs.

About

From scratch NumPy implementation of a neural network for Titanic survival predictions. Includes tested backpropagation, early stopping, and reproducibility.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published