Machine Learning: Neural Networks Slides Mostly Adapted From Tom Mithcell, Han and Kamber
Machine Learning: Neural Networks Slides Mostly Adapted From Tom Mithcell, Han and Kamber
Neural Networks
∑
x1 w1
f
output y
xn wn
or
● Compare output node
against some threshold t
Types of connectivity
output units
● Feedforward networks
● These compute a series of
transformations hidden units
● Typically, the first layer is the input
and the last layer is the output.
input units
● Recurrent networks
● These have directed cycles in their
connection graph. They can have
complicated dynamics.
● More biologically realistic.
Different Network Topologies
● Single layer feed-forward networks
● Input layer projecting into the output layer
Single layer
network
Input Output
layer layer
Different Network Topologies
● Multi-layer feed-forward networks
● One or more hidden layers. Input projects only from
previous layers onto a layer.
2-layer or
1-hidden layer
fully connected
network
Input Hidden Output
layer layer layer
Different Network Topologies
● Multi-layer feed-forward networks
Recurrent
network
Input Output
layer layer
Algorithm for learning ANN
● Initialize the weights (w0, w1, …, wk)
● The set of input and activation values are studied to derive rules
describing the relationship between the input and hidden unit layers
● Sensitivity analysis: assess the impact that a given input variable has on a
network output. The knowledge gained from this analysis can be
represented in rules
Output layer
Hidden layer
wij
Input layer
Input vector: X
November 23, 2021 Data Mining: Concepts and Techniques 40
General Structure of ANN