Lecture 9: Introduction to Neural Networks Flashcards

1
Q

What is Artificial Intelligence and Machine Learning?

A

Artificial intelligence is the demonstration of intelligence by a machine.

Machine learning is a branch of artificial intelligence, concerned with the design and development of algorithms that allow computers to evolve behaviors based on ‘ground truth’ data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is an Artificial Neural Network (ANN)?

A

An artificial neural network (ANN) is a set of linked mathematical functions “connected” together according to a specific architecture.

The objective of an artificial neural network is to learn how to transform inputs into meaningful outputs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a Feedforward (FF) or Fully-Connected Neural Network (FCN)?

A

In a standard neural network, usually, each layer is fully connected to the next layer. This is called a Feedforward (FF) or Fully-Connected neural Network (FCN).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is an activation function?

A

A non-linear function which takes the sum pf the inputs, multiplied by the connection weights to produce a non-linear output.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are some examples of activator functions?

A

The tanh, sigmoid, and rectifier functions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How is a neural network trained?

A

The procedure for training a neural network is called backpropagation.

The backpropagation process involves:

-Starting with complete random connection weights.

-Presenting an input pattern from the training set to the network and comparing the calculated output to the expected output.

-Repeating this for all training examples.

-Backpropagate to adjust weights.

-Repeat until expected output is produced.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

So what does a modern training loop for a neural network look like?

A

1.Random Initialization
2.Feedforward
3.Calculate Loss
4.Calculate derivative of loss
5.Backpropagate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is an Optimizer and what is Gradient Descent?

A

An Optimizer is used in training a neural network to adjust the weights based on the calculated gradients.

Gradient Descent is a method used by optimizers to find the minimum of a function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are Training and Testing Sets?

A

To ensure the network has not over-fitted to the training set, it should be tested on a completely separate Testing set.

This splitting of data is called CROSS-VALIDATION and is important for predicting how well a method will work on entirely new data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Why is ‘deep’ learning important?

A

Gradient descent can only find a local minimum, so each layer cannot learn much before it gets stuck.

When many layers are stacked together, the network becomes very powerful.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are tensors?

A

Tensors are a blanket term used for all multidimensional arrays.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly