Chapter 18 Flashcards

"Artificial Intelligence"

1
Q

A* Algorithm

A

adds an extra heuristic value on how far we have to go to reach the destination most efficiently/find the best route

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

A* algorithm steps

A
  1. start from source node
  2. calculate values of g (movement cost), heuristic values, and the sum of f (g+h) for each adjacent node
  3. select node with smallest f
  4. from f, calculate all values for adjacent nodes and choose the one with the smallest f
  5. repeat until the end goal is reached

(h values are not considered in further stages, but the movement costs are cumulative)

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

Dijkstra’s algorithm

A

An algorithm for finding the shortest path from one node to all other nodes, aiming to find the best route

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

Dijkstra’s algorithm steps

A

in physical working (this is marked)
* initialisation - setting base to 0
* setting the rest of the towns to infinity
* update the values at nodes when visiting - finding alternate paths
* show visited node(s)

in actual calculation:
* just calculate all possible routes from the node you are starting with to the node you want to go to
* pick the shortest one
* show alternative paths being considered

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

machine learning

A

where a system improves its performance through analysis of previous performance
types: supervised, unsupervised, reinforcement, deep

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

supervised learning

A
  • type of machine learning.
  • known input and associated ouputs are given // given labelled input data.
  • trains the system to predict future outcomes based on past data
  • uses regression analysis and classification of data - draw correlations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

unsupervised learning

A
  • type of machine learning.
  • the system draws its own conclusions by identifying hidden patterns.
  • only requires input data,
  • uses unlabelled input data - (system is trained with no “right” output)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

reinforcement learning

A

type of machine learning.
the system learns on the basis of reward and punishment.
- receives weighted rewards based on how effective the action was in relation to the achievement of the overall goal
- depending on the evaluation/feedback the policy the system uses will be adjusted
- to improve its performance in similar tasks

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

deep learning

A
  • a specialised form of machine learning
  • …that uses artificial neural networks that contain
  • many hidden layers,
  • …and are modelled to function like the human brain.
  • uses many layers to progressively extract higher level features from the input
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

reasons for using deep learning

A
  • makes good use of unstructured data
  • enable machines to process data with a nonlinear approach
  • effective at drawing out complex hidden patterns
  • more accurate outcome with many hidden layers
  • especially effective when the data size is large
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

applications of machine learning

A

Self Driving Cars
Image Classification
Text Classification
Search Engine
Banking, Healthcare Domain
Logic game theory e.g. backgammon

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

labelled data

A

data that has a meaning attached

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

unlabelled data

A

data to which no meaning is attached

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

artificial neural networks in machine learning

A
  • have an input layer, many hidden layers, and an output layer. neurons as nodes represented on a graph.
  • intended to replicate the way human brains work
  • weighted values for each connection between nodes
  • data is input at the input layer and is analysed at each subsequent layer
  • this process is repeated many times - reinforcement learning takes place
  • decisions can be made without being specifically programmed
  • back propagation of errors will be used to correct any errors that have been made
  • results are outputted
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

reasons for having (multiple hidden layers in) an artificial neural network
(Q works both ways)

A
  • enables deep learning
  • problems of high complexity can be solved
  • the neural network can learn and make decisions of its own
  • improve the accuracy of the result
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

back propagation

A

Adjusting the weights in a neural network based on the error rate from the previous trial.
* initial outputs from the system are compared to the expected output
* the system weightings are adjusted to minimise the difference between actual and expected result
* if the errors are still too large, the weightings are altered

It is applied first to the nodes in the output layer and then works backward through the nodes in hidden layers until finally the input nodes are considered.

17
Q

regression analysis

A

predicting certain outcomes based on the relationship between variables.

A mathematic function that provides the best fit to the actual outcomes when outcomes are calculated from previous inputs.

18
Q

how have graphs aided ai?

A
  • graphs provide relationships between nodes and a way to observe/analyse them
  • ANN can be represented using graphs
  • graphs may be analysed by a range of algorithms e.g. A* which is used in machine learning
  • graphs provide methods for AI to learn/analyse e.g. back propagation of errors, regression analysis
  • AI problems can be solved as finding a path in a graph
19
Q

machine learning vs deep learning

A
  • ML enables machines to make decisions on their own based on past data while DL enables machines to make decisions using an artificial neural network
  • ML needs only a small amount of data to carry out the training while DL requires large amounts of data for the training stage
  • for ML, most features in the data need to be identified in advance and then manually coded into the system while DL learns the features of the data from the data itself and doesn’t need to be identified in advance