Deep learning is a machine learning technique that constructs a deep neural network \(\textcolor{blue}{f}: \mathcal{X} \rightarrow \mathcal{Y}\) which loosely mimicks the structure and function of the human brain. At its simplest, a NN consists of multiple layers of simple connected neurons followed by nonlinearities.