Deep Learning in Scala 3 from Scratch
summary
Builds a feed‑forward classifier in Scala 3, implementing matrix ops, encoders, and training end to end; claims Scala 3 language features make concise neural code possible and uses Scala 3 optional braces and extension methods to express it. Implements a generic tensor abstraction, naive CPU matrix multiply, label/one‑hot encoders, and a stochastic gradient descent backprop optimizer. Trains on 10k churn rows (8k/2k split), reaches ~82–86% accuracy and a falling loss curve.
AI-written summary · about
chapters (10)
- 0:00Introduction to deep learning
- 1:48Neural network fundamentals
- 7:50Deep feed-forward networks
- 18:05Scala 3 implementation start
- 24:44Dataset and data preprocessing
- 33:14Network architecture design
- 37:23Training algorithm explained
- 43:23Optimizers and backpropagation
- 46:35Results and model evaluation
- 47:39Q&A session
