class test 2 Flashcards

1
Q

What was Rosenblatt’s main consideration

A

The problem of pattern recognition where a teacher is essential

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

What is a perceptron

A

A neural network that changes with experience using an error correction rule

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

What is stated by the perceptron error correction rule

A

The weight of a neuron changes when it makes an error response to the input presented to the network

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

Describe the structure of perceptron

A

One layer of inputs- real, a0 = 1
One layer of output neurons
Every input layer is connected to every output neuron
Each output neuron works independently

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

What can a perceptron be used for

A

Weights can be adjusted between 2 layers to learn knowledge from a given data set
If the data set is unlabelled, we can train the perceptron network to cluster the inputs to different groups (unsupervised learning)
If the data is labelled, we can train the perceptron network to produce the desired output in response to certain inputs (supervised learning)

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

What is a training set

A

A set of inputs is repeatedly presented to the network during training

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

What is a target output

A

The pre-defined correct output of an input pattern in the training set

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

What is the goal of training

A

To arrive at a single set of weights that allow each input in the training set to be mapped to the correct output by the network

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

What is the perceptron learning rule

A

A weight of connection changes only if the input value and the error of the output are not equal to 0

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

What is C in a perceptron calculation

A

Learning rate
Usually set below 1
Determines the amount of correction made in a single iteration

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

How does overall learning time of a network relate to C

A

Slower for small values
Faster for large values

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

How is perceptron network performance during a training session measured

A

Using a root mean square error value

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

When does training stop

A

When RMS is close to 0

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

What is the learning curve

A

Dependency of the RMS error on the number of iterations

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

Does the learning rule always make a network converge

A

Only for the absolutely linear separable data set

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

Describe a multi-layer perceptron

A

A layered architecture of neurons where:
All the neurons are divided into l subsets, each set is called a layer
There are only connections between 2 adjacent layers, usually the neurons within a layer are not connected with each other

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

Describe the types of layers in a multi-layer perceptron

A

First layer is an input layer
Last layer is an output layer
All other layers are hidden layers and have no connection to/from the outside

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

What is forward propagation

A

Input is processed from one layer to the next, until the final result is computed

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

What is error propagation

A

Error of output neurons is propagated back to derive weight adjustment of a given hidden neuron, based on how much the neuron contributes to the output error.

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

What is the purpose of the gradient descent method

A

addresses the issues of how to update weights

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

What is the purpose of the backpropagation algorithm

A

Makes the weight updating efficient

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

Describe the Darwinian Theory of Evolution

A

Species adapt to the environment via natural selection
The selection favours those species that are best adapted to the environmental condition

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

What is phenotype

A

The manner of response and physical embodiment of an individual

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

When do phenotype mutations prevail through selection

A

If they prove their worth in the current environment, otherwise they perish

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

What is the basic driving force for selection

A

Production of offspring

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

How does population grow in a favourable environment

A

Exponentially

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

What limits population growth

A

Finite resources

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

Describe the Neo-Darwinism Theory of Evolution

A

All living organisms consist of cells
Each cell contains the same set of one or more chromosomes

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

What are chromosomes

A

Strings of DNA that serve as a blueprint for the organism

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

Describe DNA structure

A

2 ribbons of phosphate sugar chains and horizontal rods of the pairs of nitrogenous bases holding the chains together

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

What is a gene

A

A functional block of DNA coding a particular protein.

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

What is the DNA alphabet (nitrogenous bases)

A

A- adenine
G- guanine
T- thymine
C- cytosine

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

What nitrogenous bases pair together

A

Adenine with Thymine (A = T)
Guanine with Cytosine (G = C)

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

What carries the genetic information

A

The precise sequence of bases

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

What is the solution to 20 amino acids being found in proteins but only 4 letters in the DNA alphabet to code

A

Genetic code is based on the triplet codons
The genetic code is universal, as the codons for amino acids are the same in bacteria, plants and animals

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

Define haploid

A

Organisms with unpaired sets of chromosomes

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

Define diploid

A

Organisms whose chromosomes are arranged in pairs

38
Q

When does crossing-over/gene recombination occur

A

During sexual reproduction

39
Q

Describe the process of crossing over/gene recombination

A

In each parent cell, a pair of chromosomes doubles and then the chromosomes exchange genes, and finally produce 4 gametes, ready to couple with the other parent gametes to form a new diploid cell

40
Q

What is a gamete

A

A single chromosome

41
Q

What is mutation

A

A random change of a letter, a single nucleotide in a chromosome

42
Q

How do mutations occur

A

As a result from copying errors in parent chromosomes and then are reproduced in offspring

43
Q

What are alleles

A

Different possible settings for a trait

44
Q

Where is each gene located in the chromosome

A

At a particular locus (position)

45
Q

What is a genome/genotype

A

The complete collection of all genetic material, all chromosomes taken together

46
Q

What is the purpose of genes

A

They are transfer units of heredity

47
Q

What is the purpose of phenotype

A

Expresses complex interaction within the genotype and its interaction with the environment

48
Q

What type of unit is an individual

A

A selection unit, as selection acts on the individual

49
Q

What type of unit is population

A

The evolving unit

50
Q

How is individual fitness measured

A

Indirectly, as the individual growth rate in comparison to others

51
Q

Define natural selection according to individual fitness

A

Not an active driving force
Is differential survival and reproduction within a population

52
Q

Describe parallelism in natural evolution

A

Every individual in the population is tested independently in parallel with the others, and that speeds up evolution of the population
The nature addresses the 2 problems implicitly in parallel and comes up with a better fitted population

53
Q

Describe adaptation to a changing environment in natural evolution

A

Survival of the fittest due to natural selection
Results in the population as a whole best adapted to the environment

54
Q

Describe optimisation in natural evolution

A

Due to natural selection, only individuals optimal for the current environment survive and reproduce
Selection performs optimisation on an individual level

55
Q

What was introduced by Rechenberg

A

Evolutionary strategies as a method to optimise real-valued parameters for airfoils

56
Q

What was developed by Fogel, Owens and Walsh

A

Evolutionary programming, representing candidate solutions to a problem as finite-state machines evolving by randomly mutating their state-transition diagrams and selecting the fittest

57
Q

What was introduced by Holland

A

A population of binary strings he called chromosomes

Population evolves by natural selection and operators of crossover, mutation and inversion

Bits in a chromosome represent genes, each gene is an allele of 0 or 1
Selection operator chooses chromosomes in population allowed to reproduce, fitter chromosomes reproduce more

58
Q

What is the function of the crossover operator

A

Exchange subparts of 2 operators

59
Q

What is the function of the mutator operator

A

Randomly changes the allele values at some location of the chromosome

60
Q

What is the function of the inversion operator

A

Reverses the order of a continuous section of a chromosome, rearranging the gene’s order

61
Q

Compare genetic algorithms with nature

A

There is no universal code in genetic algorithms
Every coding is problem dependent

62
Q

Why is the art of coding important in genetic algorithms

A

From the very beginning the approach depends on whether the problem can be coded as a string of characters at all

Implies serious restrictions on the class of problems solvable by genetic algorithms

63
Q

What is Holland’s definition of a chromosome

A

A string of characters coding a candidate solution for a particular problem

Often defined as a fixed length binary string

64
Q

According to Holland, what is the relationship between chromosome and genotype

A

Genetic algorithm’s chromosome usually coincides with genotype

Genotype consists of a single chromosome

65
Q

How is phenotype used in genetic algorithm

A

It usually isn’t used

GA’s chromosome = GA’s genotype = GA’s organism

66
Q

What does a character represent in a GA chromosome

67
Q

What is the locus of the gene in the context of GA’s by Holland

A

The position of a gene in the string

68
Q

Describe the process of crossover in GA’s by Holland

A

Recombines parts of 2 parent chromosomes to make 2 children

The crossover cutting point is chosen randomly

One point crossover is considered most often

69
Q

Describe the process of mutation in GA’s by Holland

A

Randomisation of allele of gene at a randomly chosen location

For binary chromosomes, a bit is flipped at a random locus

For chromosomes with a larger alphabet, a character at a random location is replaced with a random new character

70
Q

Describe the process of inversion in GA’s by Holland

A

A mutation where part of a chromosome is cut out, rotated 180 degrees and fitted back in the same position

Usually needs 2 break

71
Q

Describe the process of translocation in GA’s by Holland

A

A mutation where part of the chromosome is cut out and moved to a different location in the chromosome

Usually needs 2 break

72
Q

What is the purpose of a fitness function in GA’s by Holland

A

To evaluate chromosome fitness- how well the candidate solution solves the problem

73
Q

Describe the process of the fitness function

A

Takes a chromosome as input
Produces its quantitative fitness evaluation as an output

74
Q

What are the requirements of the fitness function

A

Correlate to the designer’s goal
Should be computationally efficient

75
Q

What is better:
Precise fitness function but time consuming
or
Approximate fitness function but efficient

A

Approximate fitness function but efficient

76
Q

When is an approximate fitness function used

A

When precise fitness function is time consuming
When precise fitness function is missing or hard to obtain
When precise fitness function model contains uncertainties

77
Q

What is a selection operator in GA’s by Holland

A

A rule for how to choose which chromosome is more likely to produce offspring for the next generation, used to simulate natural evolution of population of chromosomes

78
Q

What is a search space in GA’s by Holland

A

Set of all possible solutions to a problem in consideration

79
Q

What is a fitness landscape in GA’s by Holland

A

A representation of all possible solutions and their fitness

Candidate solutions are represented by points on the co-ordinate plane and fitness is measured along an additional dimension

80
Q

What does evolution cause on a fitness landscape

A

Movement towards peaks

81
Q

Why do GAs work

A

Observation 1: similar looking chromosomes have similar fitness values
-almost optimal chromosome can be obtained by searching for a chromosome that looks similar to the optimal solution

Observation 2: A chromosome can be described by a set of substrings
-similar looking chromosomes have similar substrings

82
Q

What is stated by a similarity template

A

Similarity template = schema = building block

83
Q

What is a schema

A

A similarity template describing a subset of strings with similarities at certain string positions

A building block of a chromosome

84
Q

For a scheme with k placeholder *s how many chromosomes are matched

85
Q

How many building blocks are there in a particular chromosome of a fixed length l

A

Schema must:
-be same length
-have same symbol as chromosome or have a * at any particular locus

There are 2^l

86
Q

What is the order of schema

A

Denotes the number of defining (non * ) symbols it contains

Represented as O( )

87
Q

What is the defining length

A

Denotes the maximum distance between 2 defining symbols

Represented as 𝛿( )

88
Q

What is stated by the schema theorem

A

Highly fit,
Short defining length,
Low order schemas increase exponentially in frequency in successive generations

89
Q

How do you calculate the change in weight (delta w) for perceptron learning

A

Learning rate x error x input
C x e x a

90
Q

How do you update the weights for perceptron learning

A

original weight + change in weight
w + delta w

91
Q

What kind of learning is perceptron learning

A

Supervised
-Error is calculated based on network’s output and the input label
-Weights are updated based on error