Neural Networks: An Intro

I. Ozkan

Spring 2025

https://www.doc.ic.ac.uk/~nuric/posts/teaching/imperial-college-machine-learning-neural-networks/

Readings

Book Chapter

An Introduction to Statistical Learning with Applications in R, Gareth James, Daniela Witten, Trevor Hastie and Robert Tibshirani, Chapter 10

Others

STAT 365/665: Data Mining and Machine Learning COurse at Yale Univ.

Hands-On Machine Learning with R, Bradley Boehmke & Brandon Greenwell, Chapter 13

Imperial College Machine Learning - Neural Networks

Neural Networks and Deep Learning, M. Nielsen

Introduction

Keywords

Artificial Neuron, Perceptron

Example(1)

\(\text{outcome, }y = \begin{cases} 1 & \text{if } w_1 x_1+w_2 x_2+w_3x_3 \geq threshold \\ 0 & \text{if otherwise} \end{cases}\)

Or

\(y = \begin{cases} 1 & \text{if } x \cdot w \geq threshold \\ 0 & \text{if otherwise} \end{cases}\)

- \(y\) is a step function where it takes \(1\) if a linear combination of \(x's\) are greater than a threshold value

*: Image is from https://stats.stackexchange.com/questions/419716/whats-the-difference-between-artificial-neuron-and-perceptron

Inspiration

Multi-Layer Perceptron

Activation Functions

*: Source http://euler.stat.yale.edu/~tba3/stat665/lectures/lec12/lecture12.pdf

Model Learning (Fitting)

Gradient Descent

Universal Function Approximator



Number of Neurons

More Considerations

*Image Source: http://neuralnetworksanddeeplearning.com/chap3.html

*Image Source: https://www.geeksforgeeks.org/machine-learning/backpropagation-in-neural-network/

*Epoch: One complete forward pass and one backward pass of the error for all training instances

Network Types

R Examples





Next Week: R Examples