Neural Networks Flashcards
(18 cards)
node
receives input signals
processes them (applies weight and sums them)
passes them through an activation function (threshold)
outputs value to other nodes
layer
layer - collection of nodes:
input layer
hidden layer
output layer
weight
numerical value that determines how strongly one neuron can influence the subsequent neuron
activation function
function has input and then based on the activation function, you decide what the output is (whether it is activated or not)
bias
constant, single value applied to the activation function - might or might not change the output
supervised learning
type of machine learning where the model data is trained using labelled data
input output pairs where the correct answer (label) is known
example of supervised learning
email spam folder
trained to recognise emails as either spam or not spam
unsupervised learning
type of machine learning where the model learns patterns or structure from unlabelled data
no predefined outputs or labels
model tries to find hidden structure in the input data
example of unsupervised learning
suggested items on amazon
‘people who bought X also bought Y’
types of machine learning
-supervised learning
-unsupervised learning
-reinforcement learning
testing/ validation
train network with a set of data and test with another set of data to see if the network can predict or behave correctly or not
perceptron
simplest artificial neural network
1 input, 1 hidden layer, 1 output
what affects the bias value
electrical brain stimulation changes the bias value to excite/ inhibit neurons
process of artificial neural networks
-inputs (x1, x2, x3, x4)
-multiply weights by inputs (x1 x w1, x2 x w2, etc)
-sum together
-sum bias together
-function: based on input, which creates the output
what does each axis correspond to on a graph of the activation function
x axis = input
y axis = output
reinforcement learning
type of machine learning where an agent learns to make decisions by interacting with an environment
the agent takes actions, receives rewards or penalties, and uses this feedback to learn a policy that maximises its cumulative reward over time
example of reinforcement learning
skill acquisition, e.g. parked car simulator that has loads of trial and error
process of training a machine for supervised learning
-define input database
-split the database into training and testing
-define the architecture of the network
-train the network
-validate/ test the network